-
Notifications
You must be signed in to change notification settings - Fork 805
[V2] Rename flyte-sandbox to flyte-demo and simplify pod names #7170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
faa4641
26cb8a1
64872ef
7c5776b
58c27b7
55ef0dc
74d9c61
93ea8a5
54fd268
6e1ce6b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
pingsutw marked this conversation as resolved.
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,16 @@ | ||
| {{- if or ( index .Values "flyte-binary" "enabled" ) .Values.sandbox.dev }} | ||
| {{- $backendService := "" }} | ||
| {{- if index .Values "flyte-binary" "enabled" }} | ||
| {{- $backendService = include "flyte-binary.service.http.name" . }} | ||
| {{- $backendService = printf "%s-http" ( index .Values "flyte-binary" "fullnameOverride" | default "flyte-binary" ) }} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why can't we use
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because i use fullNameOverride here. (To override the minio and console pod name. flyte-sandbox-minio-* -> minio)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we can still use it as we only rename the parent chart (
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let me test it
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no, it doesn't work because I override the pods name to flyte-binary, so the service name is flyte-binary-http as well, not flyte-demo-http |
||
| {{- else }} | ||
| {{- $backendService = include "flyte-sandbox.localHeadlessService" . }} | ||
| {{- $backendService = include "flyte-demo.localHeadlessService" . }} | ||
| {{- end }} | ||
| apiVersion: networking.k8s.io/v1 | ||
| kind: Ingress | ||
| metadata: | ||
| name: {{ include "flyte-sandbox.fullname" . }}-api | ||
| name: {{ include "flyte-demo.fullname" . }}-api | ||
| namespace: {{ .Release.Namespace | quote }} | ||
| labels: {{- include "flyte-sandbox.labels" . | nindent 4 }} | ||
| labels: {{- include "flyte-demo.labels" . | nindent 4 }} | ||
| spec: | ||
| rules: | ||
| - http: | ||
|
|
@@ -37,9 +37,9 @@ spec: | |
| apiVersion: networking.k8s.io/v1 | ||
| kind: Ingress | ||
| metadata: | ||
| name: {{ include "flyte-sandbox.fullname" . }}-console | ||
| name: flyte-console | ||
| namespace: {{ .Release.Namespace | quote }} | ||
| labels: {{- include "flyte-sandbox.labels" . | nindent 4 }} | ||
| labels: {{- include "flyte-demo.labels" . | nindent 4 }} | ||
| spec: | ||
| rules: | ||
| - http: | ||
|
|
@@ -48,7 +48,7 @@ spec: | |
| pathType: Prefix | ||
| backend: | ||
| service: | ||
| name: {{ include "flyte-sandbox.fullname" . }}-console | ||
| name: flyte-console | ||
| port: | ||
| number: 80 | ||
| {{- end }} | ||
|
|
@@ -57,9 +57,9 @@ spec: | |
| apiVersion: networking.k8s.io/v1 | ||
| kind: Ingress | ||
| metadata: | ||
| name: {{ include "flyte-sandbox.fullname" . }}-minio | ||
| name: {{ include "flyte-demo.fullname" . }}-minio | ||
| namespace: {{ .Release.Namespace | quote }} | ||
| labels: {{- include "flyte-sandbox.labels" . | nindent 4 }} | ||
| labels: {{- include "flyte-demo.labels" . | nindent 4 }} | ||
| annotations: | ||
| traefik.ingress.kubernetes.io/router.middlewares: {{ .Release.Namespace }}-strip-minio@kubernetescrd | ||
| spec: | ||
|
|
@@ -70,7 +70,7 @@ spec: | |
| pathType: Prefix | ||
| backend: | ||
| service: | ||
| name: {{ .Release.Name }}-minio | ||
| name: minio | ||
| port: | ||
| number: 9001 | ||
| --- | ||
|
|
@@ -79,7 +79,7 @@ kind: Middleware | |
| metadata: | ||
| name: strip-minio | ||
| namespace: {{ .Release.Namespace | quote }} | ||
| labels: {{- include "flyte-sandbox.labels" . | nindent 4 }} | ||
| labels: {{- include "flyte-demo.labels" . | nindent 4 }} | ||
| spec: | ||
| stripPrefix: | ||
| prefixes: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,15 @@ | ||
| apiVersion: v1 | ||
| kind: PersistentVolumeClaim | ||
| metadata: | ||
| name: {{ include "flyte-sandbox.persistence.minioVolumeName" . }} | ||
| name: {{ include "flyte-demo.persistence.minioVolumeName" . }} | ||
| namespace: {{ .Release.Namespace | quote }} | ||
| labels: | ||
| {{- include "flyte-sandbox.labels" . | nindent 4 }} | ||
| {{- include "flyte-demo.labels" . | nindent 4 }} | ||
| spec: | ||
| storageClassName: manual | ||
| accessModes: | ||
| - ReadWriteOnce | ||
| resources: | ||
| requests: | ||
| storage: 1Gi | ||
| volumeName: {{ include "flyte-sandbox.persistence.minioVolumeName" . }} | ||
| volumeName: {{ include "flyte-demo.persistence.minioVolumeName" . }} |
Uh oh!
There was an error while loading. Please reload this page.