Skip to content

Commit

Permalink
Move definition of agents stanza to comment
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed Aug 11, 2023
1 parent f71d2aa commit 0952315
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 20 deletions.
2 changes: 1 addition & 1 deletion charts/flyte-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ helm install gateway bitnami/contour -n flyte
| configmap.enabled_plugins.tasks | object | `{"task-plugins":{"default-for-task-types":{"container":"container","container_array":"k8s-array","sidecar":"sidecar"},"enabled-plugins":["container","sidecar","k8s-array"]}}` | Tasks specific configuration [structure](https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/nodes/task/config#GetConfig) |
| configmap.enabled_plugins.tasks.task-plugins | object | `{"default-for-task-types":{"container":"container","container_array":"k8s-array","sidecar":"sidecar"},"enabled-plugins":["container","sidecar","k8s-array"]}` | Plugins configuration, [structure](https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/nodes/task/config#TaskPluginConfig) |
| configmap.enabled_plugins.tasks.task-plugins.enabled-plugins | list | `["container","sidecar","k8s-array"]` | [Enabled Plugins](https://pkg.go.dev/github.com/lyft/flyteplugins/go/tasks/config#Config). Enable sagemaker*, athena if you install the backend plugins |
| configmap.k8s | object | `{"plugins":{"agent-service":{},"k8s":{"default-cpus":"100m","default-env-vars":[],"default-memory":"100Mi"}}}` | Kubernetes specific Flyte configuration |
| configmap.k8s | object | `{"plugins":{"k8s":{"default-cpus":"100m","default-env-vars":[],"default-memory":"100Mi"}}}` | Kubernetes specific Flyte configuration |
| configmap.k8s.plugins.k8s | object | `{"default-cpus":"100m","default-env-vars":[],"default-memory":"100Mi"}` | Configuration section for all K8s specific plugins [Configuration structure](https://pkg.go.dev/github.com/lyft/flyteplugins/go/tasks/pluginmachinery/flytek8s/config) |
| configmap.remoteData.remoteData.region | string | `"us-east-1"` | |
| configmap.remoteData.remoteData.scheme | string | `"local"` | |
Expand Down
8 changes: 4 additions & 4 deletions charts/flyte-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -736,11 +736,11 @@ configmap:
# DEFAULT_ENV_VAR: VALUE
default-cpus: 100m
default-memory: 100Mi
agent-service: {}
# Uncomment and modify to include configuration for Flyte Agent
# defaultGrpcEndpoint: flyteagent.flyte.svc.cluster.local:8000
# supportedTaskTypes:
# - bigquery_query_job_task
# agent-service:
# defaultGrpcEndpoint: flyteagent.flyte.svc.cluster.local:8000
# supportedTaskTypes:
# - bigquery_query_job_task
remoteData:
remoteData:
region: "us-east-1"
Expand Down
5 changes: 2 additions & 3 deletions deployment/eks/flyte_aws_scheduler_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,6 @@ data:
- k8s-array
k8s.yaml: |
plugins:
agent-service: {}
k8s:
default-cpus: 100m
default-env-vars: []
Expand Down Expand Up @@ -1230,7 +1229,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "1bbdc9b2504a6b85907de21a271d104c15214d6f985e5273c963e5df3dca814"
configChecksum: "4ba4974b5cb243e068ebba9501891f71b52aada9c279a0ba7b6e2943abcc7f6"
labels:
app.kubernetes.io/name: flytepropeller
app.kubernetes.io/instance: flyte
Expand Down Expand Up @@ -1312,7 +1311,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.1.106
annotations:
configChecksum: "1bbdc9b2504a6b85907de21a271d104c15214d6f985e5273c963e5df3dca814"
configChecksum: "4ba4974b5cb243e068ebba9501891f71b52aada9c279a0ba7b6e2943abcc7f6"
spec:
securityContext:
fsGroup: 65534
Expand Down
5 changes: 2 additions & 3 deletions deployment/eks/flyte_helm_dataplane_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ data:
- k8s-array
k8s.yaml: |
plugins:
agent-service: {}
k8s:
default-cpus: 100m
default-env-vars: []
Expand Down Expand Up @@ -427,7 +426,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "1bbdc9b2504a6b85907de21a271d104c15214d6f985e5273c963e5df3dca814"
configChecksum: "4ba4974b5cb243e068ebba9501891f71b52aada9c279a0ba7b6e2943abcc7f6"
labels:
app.kubernetes.io/name: flytepropeller
app.kubernetes.io/instance: flyte
Expand Down Expand Up @@ -509,7 +508,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.1.106
annotations:
configChecksum: "1bbdc9b2504a6b85907de21a271d104c15214d6f985e5273c963e5df3dca814"
configChecksum: "4ba4974b5cb243e068ebba9501891f71b52aada9c279a0ba7b6e2943abcc7f6"
spec:
securityContext:
fsGroup: 65534
Expand Down
5 changes: 2 additions & 3 deletions deployment/eks/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ data:
- k8s-array
k8s.yaml: |
plugins:
agent-service: {}
k8s:
default-cpus: 100m
default-env-vars: []
Expand Down Expand Up @@ -1349,7 +1348,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "1bbdc9b2504a6b85907de21a271d104c15214d6f985e5273c963e5df3dca814"
configChecksum: "4ba4974b5cb243e068ebba9501891f71b52aada9c279a0ba7b6e2943abcc7f6"
labels:
app.kubernetes.io/name: flytepropeller
app.kubernetes.io/instance: flyte
Expand Down Expand Up @@ -1431,7 +1430,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.1.106
annotations:
configChecksum: "1bbdc9b2504a6b85907de21a271d104c15214d6f985e5273c963e5df3dca814"
configChecksum: "4ba4974b5cb243e068ebba9501891f71b52aada9c279a0ba7b6e2943abcc7f6"
spec:
securityContext:
fsGroup: 65534
Expand Down
5 changes: 2 additions & 3 deletions deployment/gcp/flyte_helm_dataplane_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ data:
- k8s-array
k8s.yaml: |
plugins:
agent-service: {}
k8s:
default-cpus: 100m
default-env-vars: []
Expand Down Expand Up @@ -435,7 +434,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "81e2a40c17349901c91fe9801fc7f4c27c4f22f1587852ee359c71c6fe4fb16"
configChecksum: "d79d5b7a6b0475a27cdd4b85f848f0be4bfed0430ec68184d4c165acf0e8329"
labels:
app.kubernetes.io/name: flytepropeller
app.kubernetes.io/instance: flyte
Expand Down Expand Up @@ -516,7 +515,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.1.106
annotations:
configChecksum: "81e2a40c17349901c91fe9801fc7f4c27c4f22f1587852ee359c71c6fe4fb16"
configChecksum: "d79d5b7a6b0475a27cdd4b85f848f0be4bfed0430ec68184d4c165acf0e8329"
spec:
securityContext:
fsGroup: 65534
Expand Down
5 changes: 2 additions & 3 deletions deployment/gcp/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,6 @@ data:
- k8s-array
k8s.yaml: |
plugins:
agent-service: {}
k8s:
default-cpus: 100m
default-env-vars: []
Expand Down Expand Up @@ -1372,7 +1371,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "81e2a40c17349901c91fe9801fc7f4c27c4f22f1587852ee359c71c6fe4fb16"
configChecksum: "d79d5b7a6b0475a27cdd4b85f848f0be4bfed0430ec68184d4c165acf0e8329"
labels:
app.kubernetes.io/name: flytepropeller
app.kubernetes.io/instance: flyte
Expand Down Expand Up @@ -1453,7 +1452,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.1.106
annotations:
configChecksum: "81e2a40c17349901c91fe9801fc7f4c27c4f22f1587852ee359c71c6fe4fb16"
configChecksum: "d79d5b7a6b0475a27cdd4b85f848f0be4bfed0430ec68184d4c165acf0e8329"
spec:
securityContext:
fsGroup: 65534
Expand Down

0 comments on commit 0952315

Please sign in to comment.