Skip to content

Commit

Permalink
Update pyflyte serve into pyflyte serve agent (#4526)
Browse files Browse the repository at this point in the history
* update pyflyte serve to pyflyte serve agent

Signed-off-by: Chao-Heng Lee <[email protected]>

* merge and update agent image version

Signed-off-by: Future-Outlier <[email protected]>

---------

Signed-off-by: Chao-Heng Lee <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Co-authored-by: Future-Outlier <[email protected]>
  • Loading branch information
chaohengstudent and Future-Outlier authored Jan 31, 2024
1 parent bce5d8c commit c379b71
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/flyteagent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
1 change: 1 addition & 0 deletions charts/flyteagent/templates/agent/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
- command:
- pyflyte
- serve
- agent
{{- if .Values.podEnv }}
env:
{{- with .Values.podEnv }}
Expand Down
2 changes: 1 addition & 1 deletion charts/flyteagent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion deployment/agent/flyte_agent_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 4 additions & 3 deletions docker/sandbox-bundled/manifests/complete-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ type: Opaque
---
apiVersion: v1
data:
haSharedSecret: R3dGeldWcjRZb1d5dlVMbA==
haSharedSecret: dng4YnEzSHROOFhRaE1VZQ==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -1412,7 +1412,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: 11c2215901062e6c31e3f73ad634f47f23e3ce1c1b5b774e500e6592969a907c
checksum/secret: c4a7dad2d7c6ca293d589c7d9ace15b1b60e69b7110190644e7a8a1e959959e2
labels:
app: docker-registry
release: flyte-sandbox
Expand Down Expand Up @@ -1747,14 +1747,15 @@ spec:
- command:
- pyflyte
- serve
- agent
env:
- name: FLYTE_AWS_ENDPOINT
value: http://flyte-sandbox-minio.flyte:9000
- name: FLYTE_AWS_ACCESS_KEY_ID
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:
Expand Down
4 changes: 2 additions & 2 deletions docker/sandbox-bundled/manifests/complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ type: Opaque
---
apiVersion: v1
data:
haSharedSecret: dWZVZnFyN055a2NqT1lTTw==
haSharedSecret: c0pvT1NlMzViQkVLVWRBNQ==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -1360,7 +1360,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: c07763867933245f95f13aa477630c8c337c62efee4cba504729dc8a4f9e5ce2
checksum/secret: 9512852ca2ca190980daf7ae998d1bc4e63e47e118ca1f4d5380547eb2fde321
labels:
app: docker-registry
release: flyte-sandbox
Expand Down
4 changes: 2 additions & 2 deletions docker/sandbox-bundled/manifests/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ metadata:
---
apiVersion: v1
data:
haSharedSecret: cDQ2bUZZQkg4bjg2Y2hGRQ==
haSharedSecret: Uml0TnZ2ektnOW5xNkJIYw==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -934,7 +934,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: e65c1b8ed75e538fd09b9d94538d1a99a986534b18625406a2bc9cce8aeffe1a
checksum/secret: ec4150cc8f428f2475c6db0d4be7fbd7192ab67cfa19a04961611e8581d855ae
labels:
app: docker-registry
release: flyte-sandbox
Expand Down

0 comments on commit c379b71

Please sign in to comment.