From 276679c64baba9a597ba90da0a32fdff318e538d Mon Sep 17 00:00:00 2001 From: Julian Einhaus Date: Mon, 8 Apr 2024 08:34:06 +0200 Subject: [PATCH] Update documentation with new flyte-core chart default values Signed-off-by: Julian Einhaus --- charts/flyte-core/README.md | 2 +- .../flyte_aws_scheduler_helm_generated.yaml | 80 +++++++++++------- .../flyte_helm_controlplane_generated.yaml | 80 +++++++++++------- .../eks/flyte_helm_dataplane_generated.yaml | 41 +++++---- deployment/eks/flyte_helm_generated.yaml | 80 +++++++++++------- .../flyte_helm_controlplane_generated.yaml | 83 ++++++++++++------- .../gcp/flyte_helm_dataplane_generated.yaml | 41 +++++---- deployment/gcp/flyte_helm_generated.yaml | 83 ++++++++++++------- deployment/sandbox/flyte_helm_generated.yaml | 37 +++++---- 9 files changed, 309 insertions(+), 218 deletions(-) diff --git a/charts/flyte-core/README.md b/charts/flyte-core/README.md index 00fd69f368..0cd174950a 100644 --- a/charts/flyte-core/README.md +++ b/charts/flyte-core/README.md @@ -175,7 +175,7 @@ helm install gateway bitnami/contour -n flyte | flyteadmin.resources | object | `{"limits":{"cpu":"250m","ephemeral-storage":"100Mi","memory":"500Mi"},"requests":{"cpu":"10m","ephemeral-storage":"50Mi","memory":"50Mi"}}` | Default resources requests and limits for Flyteadmin deployment | | flyteadmin.secrets | object | `{}` | | | flyteadmin.securityContext | object | `{"fsGroup":65534,"fsGroupChangePolicy":"Always","runAsNonRoot":true,"runAsUser":1001,"seLinuxOptions":{"type":"spc_t"}}` | Sets securityContext for flyteadmin pod(s). | -| flyteadmin.service | object | `{"annotations":{"projectcontour.io/upstream-protocol.h2c":"grpc"},"loadBalancerSourceRanges":[],"type":"ClusterIP"}` | Service settings for Flyteadmin | +| flyteadmin.service | object | `{"annotations":{},"grpcAnnotations":{},"httpAnnotations":{},"loadBalancerSourceRanges":[],"type":"ClusterIP"}` | Service settings for Flyteadmin | | flyteadmin.serviceAccount | object | `{"alwaysCreate":false,"annotations":{},"clusterRole":{"apiGroups":["","flyte.lyft.com","rbac.authorization.k8s.io"],"resources":["configmaps","flyteworkflows","namespaces","pods","resourcequotas","roles","rolebindings","secrets","services","serviceaccounts","spark-role","limitranges"],"verbs":["*"]},"create":true,"createClusterRole":true,"imagePullSecrets":[]}` | Configuration for service accounts for FlyteAdmin | | flyteadmin.serviceAccount.alwaysCreate | bool | `false` | Should a service account always be created for flyteadmin even without an actual flyteadmin deployment running (e.g. for multi-cluster setups) | | flyteadmin.serviceAccount.annotations | object | `{}` | Annotations for ServiceAccount attached to Flyteadmin pods | diff --git a/deployment/eks/flyte_aws_scheduler_helm_generated.yaml b/deployment/eks/flyte_aws_scheduler_helm_generated.yaml index 1de7db3436..d70fafcf5d 100644 --- a/deployment/eks/flyte_aws_scheduler_helm_generated.yaml +++ b/deployment/eks/flyte_aws_scheduler_helm_generated.yaml @@ -726,6 +726,28 @@ subjects: name: flyte-pod-webhook namespace: flyte --- +# Source: flyte-core/templates/admin/service-grpc.yaml +apiVersion: v1 +kind: Service +metadata: + name: flyteadmin-grpc + namespace: flyte + labels: + app.kubernetes.io/name: flyteadmin + app.kubernetes.io/instance: flyte + helm.sh/chart: flyte-core-v0.1.10 + app.kubernetes.io/managed-by: Helm +spec: + type: ClusterIP + ports: + - name: grpc + port: 81 + protocol: TCP + targetPort: grpc + selector: + app.kubernetes.io/name: flyteadmin + app.kubernetes.io/instance: flyte +--- # Source: flyte-core/templates/admin/service.yaml apiVersion: v1 kind: Service @@ -737,19 +759,13 @@ metadata: app.kubernetes.io/instance: flyte helm.sh/chart: flyte-core-v0.1.10 app.kubernetes.io/managed-by: Helm - annotations: - projectcontour.io/upstream-protocol.h2c: grpc spec: type: ClusterIP ports: - name: http port: 80 protocol: TCP - targetPort: 8088 - - name: grpc - port: 81 - protocol: TCP - targetPort: 8089 + targetPort: http - name: redoc protocol: TCP port: 87 @@ -957,9 +973,12 @@ spec: imagePullPolicy: "IfNotPresent" name: flyteadmin ports: - - containerPort: 8088 - - containerPort: 8089 - - containerPort: 10254 + - name: http + containerPort: 8088 + - name: grpc + containerPort: 8089 + - name: profiler + containerPort: 10254 readinessProbe: exec: command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] @@ -1633,89 +1652,88 @@ spec: # path: /* # pathType: ImplementationSpecific # - # NOTE: Port 81 in flyteadmin is the GRPC server port for FlyteAdmin. - - path: /flyteidl.service.SignalService + - path: /flyteidl.service.AdminService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.SignalService/* + - path: /flyteidl.service.AdminService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService + - path: /flyteidl.service.AuthMetadataService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService/* + - path: /flyteidl.service.AuthMetadataService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService + - path: /flyteidl.service.IdentityService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService/* + - path: /flyteidl.service.IdentityService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService + - path: /flyteidl.service.SignalService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService/* + - path: /flyteidl.service.SignalService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 diff --git a/deployment/eks/flyte_helm_controlplane_generated.yaml b/deployment/eks/flyte_helm_controlplane_generated.yaml index 45689f769c..de53fccfc7 100644 --- a/deployment/eks/flyte_helm_controlplane_generated.yaml +++ b/deployment/eks/flyte_helm_controlplane_generated.yaml @@ -449,6 +449,28 @@ subjects: name: flyteadmin namespace: flyte --- +# Source: flyte-core/templates/admin/service-grpc.yaml +apiVersion: v1 +kind: Service +metadata: + name: flyteadmin-grpc + namespace: flyte + labels: + app.kubernetes.io/name: flyteadmin + app.kubernetes.io/instance: flyte + helm.sh/chart: flyte-core-v0.1.10 + app.kubernetes.io/managed-by: Helm +spec: + type: ClusterIP + ports: + - name: grpc + port: 81 + protocol: TCP + targetPort: grpc + selector: + app.kubernetes.io/name: flyteadmin + app.kubernetes.io/instance: flyte +--- # Source: flyte-core/templates/admin/service.yaml apiVersion: v1 kind: Service @@ -460,19 +482,13 @@ metadata: app.kubernetes.io/instance: flyte helm.sh/chart: flyte-core-v0.1.10 app.kubernetes.io/managed-by: Helm - annotations: - projectcontour.io/upstream-protocol.h2c: grpc spec: type: ClusterIP ports: - name: http port: 80 protocol: TCP - targetPort: 8088 - - name: grpc - port: 81 - protocol: TCP - targetPort: 8089 + targetPort: http - name: redoc protocol: TCP port: 87 @@ -662,9 +678,12 @@ spec: imagePullPolicy: "IfNotPresent" name: flyteadmin ports: - - containerPort: 8088 - - containerPort: 8089 - - containerPort: 10254 + - name: http + containerPort: 8088 + - name: grpc + containerPort: 8089 + - name: profiler + containerPort: 10254 readinessProbe: exec: command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] @@ -1253,89 +1272,88 @@ spec: # path: /* # pathType: ImplementationSpecific # - # NOTE: Port 81 in flyteadmin is the GRPC server port for FlyteAdmin. - - path: /flyteidl.service.SignalService + - path: /flyteidl.service.AdminService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.SignalService/* + - path: /flyteidl.service.AdminService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService + - path: /flyteidl.service.AuthMetadataService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService/* + - path: /flyteidl.service.AuthMetadataService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService + - path: /flyteidl.service.IdentityService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService/* + - path: /flyteidl.service.IdentityService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService + - path: /flyteidl.service.SignalService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService/* + - path: /flyteidl.service.SignalService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 diff --git a/deployment/eks/flyte_helm_dataplane_generated.yaml b/deployment/eks/flyte_helm_dataplane_generated.yaml index 41c7a5aef7..c484add53c 100644 --- a/deployment/eks/flyte_helm_dataplane_generated.yaml +++ b/deployment/eks/flyte_helm_dataplane_generated.yaml @@ -792,89 +792,88 @@ spec: # path: /* # pathType: ImplementationSpecific # - # NOTE: Port 81 in flyteadmin is the GRPC server port for FlyteAdmin. - - path: /flyteidl.service.SignalService + - path: /flyteidl.service.AdminService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.SignalService/* + - path: /flyteidl.service.AdminService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService + - path: /flyteidl.service.AuthMetadataService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService/* + - path: /flyteidl.service.AuthMetadataService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService + - path: /flyteidl.service.IdentityService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService/* + - path: /flyteidl.service.IdentityService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService + - path: /flyteidl.service.SignalService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService/* + - path: /flyteidl.service.SignalService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 diff --git a/deployment/eks/flyte_helm_generated.yaml b/deployment/eks/flyte_helm_generated.yaml index 85011afcda..f1f9e5e972 100644 --- a/deployment/eks/flyte_helm_generated.yaml +++ b/deployment/eks/flyte_helm_generated.yaml @@ -757,6 +757,28 @@ subjects: name: flyte-pod-webhook namespace: flyte --- +# Source: flyte-core/templates/admin/service-grpc.yaml +apiVersion: v1 +kind: Service +metadata: + name: flyteadmin-grpc + namespace: flyte + labels: + app.kubernetes.io/name: flyteadmin + app.kubernetes.io/instance: flyte + helm.sh/chart: flyte-core-v0.1.10 + app.kubernetes.io/managed-by: Helm +spec: + type: ClusterIP + ports: + - name: grpc + port: 81 + protocol: TCP + targetPort: grpc + selector: + app.kubernetes.io/name: flyteadmin + app.kubernetes.io/instance: flyte +--- # Source: flyte-core/templates/admin/service.yaml apiVersion: v1 kind: Service @@ -768,19 +790,13 @@ metadata: app.kubernetes.io/instance: flyte helm.sh/chart: flyte-core-v0.1.10 app.kubernetes.io/managed-by: Helm - annotations: - projectcontour.io/upstream-protocol.h2c: grpc spec: type: ClusterIP ports: - name: http port: 80 protocol: TCP - targetPort: 8088 - - name: grpc - port: 81 - protocol: TCP - targetPort: 8089 + targetPort: http - name: redoc protocol: TCP port: 87 @@ -988,9 +1004,12 @@ spec: imagePullPolicy: "IfNotPresent" name: flyteadmin ports: - - containerPort: 8088 - - containerPort: 8089 - - containerPort: 10254 + - name: http + containerPort: 8088 + - name: grpc + containerPort: 8089 + - name: profiler + containerPort: 10254 readinessProbe: exec: command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] @@ -1763,89 +1782,88 @@ spec: # path: /* # pathType: ImplementationSpecific # - # NOTE: Port 81 in flyteadmin is the GRPC server port for FlyteAdmin. - - path: /flyteidl.service.SignalService + - path: /flyteidl.service.AdminService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.SignalService/* + - path: /flyteidl.service.AdminService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService + - path: /flyteidl.service.AuthMetadataService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService/* + - path: /flyteidl.service.AuthMetadataService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService + - path: /flyteidl.service.IdentityService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService/* + - path: /flyteidl.service.IdentityService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService + - path: /flyteidl.service.SignalService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService/* + - path: /flyteidl.service.SignalService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 diff --git a/deployment/gcp/flyte_helm_controlplane_generated.yaml b/deployment/gcp/flyte_helm_controlplane_generated.yaml index 56ed910d63..85b5d9a5d3 100644 --- a/deployment/gcp/flyte_helm_controlplane_generated.yaml +++ b/deployment/gcp/flyte_helm_controlplane_generated.yaml @@ -462,6 +462,30 @@ subjects: name: flyteadmin namespace: flyte --- +# Source: flyte-core/templates/admin/service-grpc.yaml +apiVersion: v1 +kind: Service +metadata: + name: flyteadmin-grpc + namespace: flyte + labels: + app.kubernetes.io/name: flyteadmin + app.kubernetes.io/instance: flyte + helm.sh/chart: flyte-core-v0.1.10 + app.kubernetes.io/managed-by: Helm + annotations: + cloud.google.com/app-protocols: '{"grpc":"HTTP2"}' +spec: + type: ClusterIP + ports: + - name: grpc + port: 81 + protocol: TCP + targetPort: grpc + selector: + app.kubernetes.io/name: flyteadmin + app.kubernetes.io/instance: flyte +--- # Source: flyte-core/templates/admin/service.yaml apiVersion: v1 kind: Service @@ -473,20 +497,13 @@ metadata: app.kubernetes.io/instance: flyte helm.sh/chart: flyte-core-v0.1.10 app.kubernetes.io/managed-by: Helm - annotations: - cloud.google.com/app-protocols: '{"grpc":"HTTP2"}' - projectcontour.io/upstream-protocol.h2c: grpc spec: type: ClusterIP ports: - name: http port: 80 protocol: TCP - targetPort: 8088 - - name: grpc - port: 81 - protocol: TCP - targetPort: 8089 + targetPort: http - name: redoc protocol: TCP port: 87 @@ -677,9 +694,12 @@ spec: imagePullPolicy: "IfNotPresent" name: flyteadmin ports: - - containerPort: 8088 - - containerPort: 8089 - - containerPort: 10254 + - name: http + containerPort: 8088 + - name: grpc + containerPort: 8089 + - name: profiler + containerPort: 10254 readinessProbe: exec: command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] @@ -1247,90 +1267,89 @@ spec: http: paths: # - # NOTE: Port 81 in flyteadmin is the GRPC server port for FlyteAdmin. - - path: /flyteidl.service.SignalService + - path: /flyteidl.service.AdminService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.SignalService/* + - path: /flyteidl.service.AdminService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService + - path: /flyteidl.service.AuthMetadataService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService/* + - path: /flyteidl.service.AuthMetadataService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService + - path: /flyteidl.service.IdentityService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService/* + - path: /flyteidl.service.IdentityService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService + - path: /flyteidl.service.SignalService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService/* + - path: /flyteidl.service.SignalService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 tls: diff --git a/deployment/gcp/flyte_helm_dataplane_generated.yaml b/deployment/gcp/flyte_helm_dataplane_generated.yaml index ab1be7e891..ad5c3a8325 100644 --- a/deployment/gcp/flyte_helm_dataplane_generated.yaml +++ b/deployment/gcp/flyte_helm_dataplane_generated.yaml @@ -778,90 +778,89 @@ spec: http: paths: # - # NOTE: Port 81 in flyteadmin is the GRPC server port for FlyteAdmin. - - path: /flyteidl.service.SignalService + - path: /flyteidl.service.AdminService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.SignalService/* + - path: /flyteidl.service.AdminService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService + - path: /flyteidl.service.AuthMetadataService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService/* + - path: /flyteidl.service.AuthMetadataService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService + - path: /flyteidl.service.IdentityService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService/* + - path: /flyteidl.service.IdentityService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService + - path: /flyteidl.service.SignalService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService/* + - path: /flyteidl.service.SignalService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 tls: diff --git a/deployment/gcp/flyte_helm_generated.yaml b/deployment/gcp/flyte_helm_generated.yaml index ff869a8322..0a99555c83 100644 --- a/deployment/gcp/flyte_helm_generated.yaml +++ b/deployment/gcp/flyte_helm_generated.yaml @@ -778,6 +778,30 @@ subjects: name: flyte-pod-webhook namespace: flyte --- +# Source: flyte-core/templates/admin/service-grpc.yaml +apiVersion: v1 +kind: Service +metadata: + name: flyteadmin-grpc + namespace: flyte + labels: + app.kubernetes.io/name: flyteadmin + app.kubernetes.io/instance: flyte + helm.sh/chart: flyte-core-v0.1.10 + app.kubernetes.io/managed-by: Helm + annotations: + cloud.google.com/app-protocols: '{"grpc":"HTTP2"}' +spec: + type: ClusterIP + ports: + - name: grpc + port: 81 + protocol: TCP + targetPort: grpc + selector: + app.kubernetes.io/name: flyteadmin + app.kubernetes.io/instance: flyte +--- # Source: flyte-core/templates/admin/service.yaml apiVersion: v1 kind: Service @@ -789,20 +813,13 @@ metadata: app.kubernetes.io/instance: flyte helm.sh/chart: flyte-core-v0.1.10 app.kubernetes.io/managed-by: Helm - annotations: - cloud.google.com/app-protocols: '{"grpc":"HTTP2"}' - projectcontour.io/upstream-protocol.h2c: grpc spec: type: ClusterIP ports: - name: http port: 80 protocol: TCP - targetPort: 8088 - - name: grpc - port: 81 - protocol: TCP - targetPort: 8089 + targetPort: http - name: redoc protocol: TCP port: 87 @@ -1011,9 +1028,12 @@ spec: imagePullPolicy: "IfNotPresent" name: flyteadmin ports: - - containerPort: 8088 - - containerPort: 8089 - - containerPort: 10254 + - name: http + containerPort: 8088 + - name: grpc + containerPort: 8089 + - name: profiler + containerPort: 10254 readinessProbe: exec: command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] @@ -1764,90 +1784,89 @@ spec: http: paths: # - # NOTE: Port 81 in flyteadmin is the GRPC server port for FlyteAdmin. - - path: /flyteidl.service.SignalService + - path: /flyteidl.service.AdminService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.SignalService/* + - path: /flyteidl.service.AdminService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService + - path: /flyteidl.service.AuthMetadataService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AdminService/* + - path: /flyteidl.service.AuthMetadataService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /flyteidl.service.DataProxyService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService + - path: /flyteidl.service.IdentityService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.AuthMetadataService/* + - path: /flyteidl.service.IdentityService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService + - path: /flyteidl.service.SignalService pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - - path: /flyteidl.service.IdentityService/* + - path: /flyteidl.service.SignalService/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 - path: /grpc.health.v1.Health/* pathType: ImplementationSpecific backend: service: - name: flyteadmin + name: flyteadmin-grpc port: number: 81 tls: diff --git a/deployment/sandbox/flyte_helm_generated.yaml b/deployment/sandbox/flyte_helm_generated.yaml index e37cea4f37..9f1d4d54f2 100644 --- a/deployment/sandbox/flyte_helm_generated.yaml +++ b/deployment/sandbox/flyte_helm_generated.yaml @@ -6131,7 +6131,7 @@ metadata: app.kubernetes.io/instance: flyte helm.sh/chart: flyte-v0.1.10 app.kubernetes.io/managed-by: Helm - annotations: + annotations: projectcontour.io/upstream-protocol.h2c: grpc spec: type: ClusterIP @@ -6139,11 +6139,7 @@ spec: - name: http port: 80 protocol: TCP - targetPort: 8088 - - name: grpc - port: 81 - protocol: TCP - targetPort: 8089 + targetPort: http - name: redoc protocol: TCP port: 87 @@ -6151,6 +6147,9 @@ spec: - name: http-metrics protocol: TCP port: 10254 + - name: grpc + port: 81 + targetPort: grpc selector: app.kubernetes.io/name: flyteadmin app.kubernetes.io/instance: flyte @@ -6792,9 +6791,12 @@ spec: imagePullPolicy: "IfNotPresent" name: flyteadmin ports: - - containerPort: 8088 - - containerPort: 8089 - - containerPort: 10254 + - name: http + containerPort: 8088 + - name: grpc + containerPort: 8089 + - name: profiler + containerPort: 10254 readinessProbe: exec: command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] @@ -7769,30 +7771,29 @@ spec: name: flyteadmin port: number: 80 - # NOTE: Port 81 in flyteadmin is the GRPC server port for FlyteAdmin. - - path: /flyteidl.service.SignalService + - path: /flyteidl.service.AdminService pathType: ImplementationSpecific backend: service: name: flyteadmin port: number: 81 - - path: /flyteidl.service.SignalService/* + - path: /flyteidl.service.AdminService/* pathType: ImplementationSpecific backend: service: name: flyteadmin port: number: 81 - - path: /flyteidl.service.AdminService + - path: /flyteidl.service.AuthMetadataService pathType: ImplementationSpecific backend: service: name: flyteadmin port: number: 81 - - path: /flyteidl.service.AdminService/* + - path: /flyteidl.service.AuthMetadataService/* pathType: ImplementationSpecific backend: service: @@ -7813,28 +7814,28 @@ spec: name: flyteadmin port: number: 81 - - path: /flyteidl.service.AuthMetadataService + - path: /flyteidl.service.IdentityService pathType: ImplementationSpecific backend: service: name: flyteadmin port: number: 81 - - path: /flyteidl.service.AuthMetadataService/* + - path: /flyteidl.service.IdentityService/* pathType: ImplementationSpecific backend: service: name: flyteadmin port: number: 81 - - path: /flyteidl.service.IdentityService + - path: /flyteidl.service.SignalService pathType: ImplementationSpecific backend: service: name: flyteadmin port: number: 81 - - path: /flyteidl.service.IdentityService/* + - path: /flyteidl.service.SignalService/* pathType: ImplementationSpecific backend: service: