From c379b7108a5ca90d2e32bdcc0358aedd63c553c6 Mon Sep 17 00:00:00 2001 From: Chao-Heng Lee Date: Wed, 31 Jan 2024 13:40:36 +0800 Subject: [PATCH] Update pyflyte serve into pyflyte serve agent (#4526) * update pyflyte serve to pyflyte serve agent Signed-off-by: Chao-Heng Lee * merge and update agent image version Signed-off-by: Future-Outlier --------- Signed-off-by: Chao-Heng Lee Signed-off-by: Future-Outlier Co-authored-by: Future-Outlier --- charts/flyteagent/README.md | 2 +- charts/flyteagent/templates/agent/deployment.yaml | 1 + charts/flyteagent/values.yaml | 2 +- deployment/agent/flyte_agent_helm_generated.yaml | 3 ++- docker/sandbox-bundled/manifests/complete-agent.yaml | 7 ++++--- docker/sandbox-bundled/manifests/complete.yaml | 4 ++-- docker/sandbox-bundled/manifests/dev.yaml | 4 ++-- 7 files changed, 13 insertions(+), 10 deletions(-) diff --git a/charts/flyteagent/README.md b/charts/flyteagent/README.md index 9db05060d0..6ca4e88927 100644 --- a/charts/flyteagent/README.md +++ b/charts/flyteagent/README.md @@ -20,7 +20,7 @@ A Helm chart for Flyte agent | fullnameOverride | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy | | image.repository | string | `"ghcr.io/flyteorg/flyteagent"` | Docker image for flyteagent deployment | -| image.tag | string | `"1.10.2"` | Docker image tag | +| image.tag | string | `"1.10.3"` | Docker image tag | | nameOverride | string | `""` | | | nodeSelector | object | `{}` | nodeSelector for flyteagent deployment | | podAnnotations | object | `{}` | Annotations for flyteagent pods | diff --git a/charts/flyteagent/templates/agent/deployment.yaml b/charts/flyteagent/templates/agent/deployment.yaml index 82359cec64..5dd293bc14 100644 --- a/charts/flyteagent/templates/agent/deployment.yaml +++ b/charts/flyteagent/templates/agent/deployment.yaml @@ -23,6 +23,7 @@ spec: - command: - pyflyte - serve + - agent {{- if .Values.podEnv }} env: {{- with .Values.podEnv }} diff --git a/charts/flyteagent/values.yaml b/charts/flyteagent/values.yaml index b682600d46..2cf8d5d64c 100755 --- a/charts/flyteagent/values.yaml +++ b/charts/flyteagent/values.yaml @@ -23,7 +23,7 @@ image: # -- Docker image for flyteagent deployment repository: ghcr.io/flyteorg/flyteagent # -- Docker image tag - tag: 1.10.2 # FLYTEAGENT_TAG + tag: 1.10.3 # FLYTEAGENT_TAG # -- Docker image pull policy pullPolicy: IfNotPresent ports: diff --git a/deployment/agent/flyte_agent_helm_generated.yaml b/deployment/agent/flyte_agent_helm_generated.yaml index a74aad0d9c..cb698bec2a 100644 --- a/deployment/agent/flyte_agent_helm_generated.yaml +++ b/deployment/agent/flyte_agent_helm_generated.yaml @@ -75,7 +75,8 @@ spec: - command: - pyflyte - serve - image: "ghcr.io/flyteorg/flyteagent:1.10.2" + - agent + image: "ghcr.io/flyteorg/flyteagent:1.10.3" imagePullPolicy: "IfNotPresent" name: flyteagent volumeMounts: diff --git a/docker/sandbox-bundled/manifests/complete-agent.yaml b/docker/sandbox-bundled/manifests/complete-agent.yaml index 3797d02859..7c4df1e1d0 100644 --- a/docker/sandbox-bundled/manifests/complete-agent.yaml +++ b/docker/sandbox-bundled/manifests/complete-agent.yaml @@ -816,7 +816,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: R3dGeldWcjRZb1d5dlVMbA== + haSharedSecret: dng4YnEzSHROOFhRaE1VZQ== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1412,7 +1412,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 11c2215901062e6c31e3f73ad634f47f23e3ce1c1b5b774e500e6592969a907c + checksum/secret: c4a7dad2d7c6ca293d589c7d9ace15b1b60e69b7110190644e7a8a1e959959e2 labels: app: docker-registry release: flyte-sandbox @@ -1747,6 +1747,7 @@ spec: - command: - pyflyte - serve + - agent env: - name: FLYTE_AWS_ENDPOINT value: http://flyte-sandbox-minio.flyte:9000 @@ -1754,7 +1755,7 @@ spec: value: minio - name: FLYTE_AWS_SECRET_ACCESS_KEY value: miniostorage - image: ghcr.io/flyteorg/flyteagent:1.10.2 + image: ghcr.io/flyteorg/flyteagent:1.10.3 imagePullPolicy: IfNotPresent name: flyteagent ports: diff --git a/docker/sandbox-bundled/manifests/complete.yaml b/docker/sandbox-bundled/manifests/complete.yaml index 4abe5dad66..9521ff41b1 100644 --- a/docker/sandbox-bundled/manifests/complete.yaml +++ b/docker/sandbox-bundled/manifests/complete.yaml @@ -796,7 +796,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: dWZVZnFyN055a2NqT1lTTw== + haSharedSecret: c0pvT1NlMzViQkVLVWRBNQ== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1360,7 +1360,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: c07763867933245f95f13aa477630c8c337c62efee4cba504729dc8a4f9e5ce2 + checksum/secret: 9512852ca2ca190980daf7ae998d1bc4e63e47e118ca1f4d5380547eb2fde321 labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/dev.yaml b/docker/sandbox-bundled/manifests/dev.yaml index a8b9244f22..3d05837065 100644 --- a/docker/sandbox-bundled/manifests/dev.yaml +++ b/docker/sandbox-bundled/manifests/dev.yaml @@ -499,7 +499,7 @@ metadata: --- apiVersion: v1 data: - haSharedSecret: cDQ2bUZZQkg4bjg2Y2hGRQ== + haSharedSecret: Uml0TnZ2ektnOW5xNkJIYw== proxyPassword: "" proxyUsername: "" kind: Secret @@ -934,7 +934,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: e65c1b8ed75e538fd09b9d94538d1a99a986534b18625406a2bc9cce8aeffe1a + checksum/secret: ec4150cc8f428f2475c6db0d4be7fbd7192ab67cfa19a04961611e8581d855ae labels: app: docker-registry release: flyte-sandbox