Skip to content

Commit

Permalink
Enable echo plugin by default
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Aug 20, 2024
1 parent 6292dec commit 4f5692d
Show file tree
Hide file tree
Showing 24 changed files with 52 additions and 32 deletions.
6 changes: 3 additions & 3 deletions charts/flyte-binary/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Chart for basic single Flyte executable deployment
| deployment.waitForDB.image.pullPolicy | string | `"IfNotPresent"` | |
| deployment.waitForDB.image.repository | string | `"postgres"` | |
| deployment.waitForDB.image.tag | string | `"15-alpine"` | |
| enabled_plugins.tasks | object | `{"task-plugins":{"default-for-task-types":{"container":"container","container_array":"k8s-array","sidecar":"sidecar"},"enabled-plugins":["container","sidecar","k8s-array","agent-service"]}}` | Tasks specific configuration [structure](https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/nodes/task/config#GetConfig) |
| enabled_plugins.tasks.task-plugins | object | `{"default-for-task-types":{"container":"container","container_array":"k8s-array","sidecar":"sidecar"},"enabled-plugins":["container","sidecar","k8s-array","agent-service"]}` | Plugins configuration, [structure](https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/nodes/task/config#TaskPluginConfig) |
| enabled_plugins.tasks.task-plugins.enabled-plugins | list | `["container","sidecar","k8s-array","agent-service"]` | [Enabled Plugins](https://pkg.go.dev/github.com/lyft/flyteplugins/go/tasks/config#Config). Enable sagemaker*, athena if you install the backend plugins |
| enabled_plugins.tasks | object | `{"task-plugins":{"default-for-task-types":{"container":"container","container_array":"k8s-array","sidecar":"sidecar"},"enabled-plugins":["container","sidecar","k8s-array","agent-service","echo"]}}` | Tasks specific configuration [structure](https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/nodes/task/config#GetConfig) |
| enabled_plugins.tasks.task-plugins | object | `{"default-for-task-types":{"container":"container","container_array":"k8s-array","sidecar":"sidecar"},"enabled-plugins":["container","sidecar","k8s-array","agent-service","echo"]}` | Plugins configuration, [structure](https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/nodes/task/config#TaskPluginConfig) |
| enabled_plugins.tasks.task-plugins.enabled-plugins | list | `["container","sidecar","k8s-array","agent-service","echo"]` | [Enabled Plugins](https://pkg.go.dev/github.com/lyft/flyteplugins/go/tasks/config#Config). Enable sagemaker*, athena if you install the backend plugins |
| flyte-core-components.admin.disableClusterResourceManager | bool | `false` | |
| flyte-core-components.admin.disableScheduler | bool | `false` | |
| flyte-core-components.admin.disabled | bool | `false` | |
Expand Down
1 change: 1 addition & 0 deletions charts/flyte-binary/eks-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ configuration:
- sidecar
- K8S-ARRAY #used for MapTasks
- agent-service
- echo
default-for-task-types:
- container: container
- container_array: K8S-ARRAY
Expand Down
1 change: 1 addition & 0 deletions charts/flyte-binary/eks-starter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ configuration:
- sidecar
- K8S-ARRAY #used for MapTasks
- agent-service
- echo
default-for-task-types:
- container: container
- container_array: K8S-ARRAY
Expand Down
1 change: 1 addition & 0 deletions charts/flyte-binary/gke-starter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ configuration:
- container
- sidecar
- K8S-ARRAY #used for MapTasks
- echo
default-for-task-types:
- container: container
- container_array: K8S-ARRAY
Expand Down
1 change: 1 addition & 0 deletions charts/flyte-binary/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ enabled_plugins:
- sidecar
- k8s-array
- agent-service
- echo
default-for-task-types:
container: container
sidecar: sidecar
Expand Down
6 changes: 3 additions & 3 deletions charts/flyte-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ helm install gateway bitnami/contour -n flyte
| configmap.core.propeller | object | `{"downstream-eval-duration":"30s","enable-admin-launcher":true,"leader-election":{"enabled":true,"lease-duration":"15s","lock-config-map":{"name":"propeller-leader","namespace":"flyte"},"renew-deadline":"10s","retry-period":"2s"},"limit-namespace":"all","max-workflow-retries":30,"metadata-prefix":"metadata/propeller","metrics-prefix":"flyte","prof-port":10254,"queue":{"batch-size":-1,"batching-interval":"2s","queue":{"base-delay":"5s","capacity":1000,"max-delay":"120s","rate":100,"type":"maxof"},"sub-queue":{"capacity":100,"rate":10,"type":"bucket"},"type":"batch"},"rawoutput-prefix":"s3://my-s3-bucket/","workers":4,"workflow-reeval-duration":"30s"}` | follows the structure specified [here](https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/config). |
| configmap.datacatalogServer | object | `{"application":{"grpcPort":8089,"grpcServerReflection":true,"httpPort":8080},"datacatalog":{"heartbeat-grace-period-multiplier":3,"max-reservation-heartbeat":"30s","metrics-scope":"datacatalog","profiler-port":10254,"storage-prefix":"metadata/datacatalog"}}` | Datacatalog server config |
| configmap.domain | object | `{"domains":[{"id":"development","name":"development"},{"id":"staging","name":"staging"},{"id":"production","name":"production"}]}` | Domains configuration for Flyte projects. This enables the specified number of domains across all projects in 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","agent-service"]}}` | 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","agent-service"]}` | 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","agent-service"]` | [Enabled Plugins](https://pkg.go.dev/github.com/lyft/flyteplugins/go/tasks/config#Config). Enable sagemaker*, athena if you install the backend plugins |
| 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","agent-service","echo"]}}` | 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","agent-service","echo"]}` | 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","agent-service","echo"]` | [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":{"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"` | |
Expand Down
1 change: 1 addition & 0 deletions charts/flyte-core/values-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ configmap:
- sidecar
- k8s-array
- agent-service
- echo
# - sagemaker_hyperparameter_tuning
# - sagemaker_custom_training
# - sagemaker_training
Expand Down
1 change: 1 addition & 0 deletions charts/flyte-core/values-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ configmap:
- sidecar
- k8s-array
- agent-service
- echo
default-for-task-types:
container: container
sidecar: sidecar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ configmap:
- sidecar
- k8s-array
- agent-service
- echo
default-for-task-types:
container: container
sidecar: sidecar
Expand Down
1 change: 1 addition & 0 deletions charts/flyte-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,7 @@ configmap:
- sidecar
- k8s-array
- agent-service
- echo
default-for-task-types:
container: container
sidecar: sidecar
Expand Down
10 changes: 5 additions & 5 deletions charts/flyte/README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions charts/flyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ flyte:
- sidecar
- k8s-array
- agent-service
- echo
default-for-task-types:
container: container
sidecar: sidecar
Expand Down
5 changes: 3 additions & 2 deletions deployment/eks/flyte_aws_scheduler_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ data:
- sidecar
- k8s-array
- agent-service
- echo
k8s.yaml: |
plugins:
k8s:
Expand Down Expand Up @@ -1277,7 +1278,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "38c8d0c5ce2cb50f839d3ecda13d881b6bf5a503ac264f0a9a821a9b5a70ca6"
configChecksum: "ee14c75d560241789cd29abfd0e93d20e874eef022a7a8313337875023bfd90"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
labels:
Expand Down Expand Up @@ -1361,7 +1362,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.13.0
annotations:
configChecksum: "38c8d0c5ce2cb50f839d3ecda13d881b6bf5a503ac264f0a9a821a9b5a70ca6"
configChecksum: "ee14c75d560241789cd29abfd0e93d20e874eef022a7a8313337875023bfd90"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
spec:
Expand Down
5 changes: 3 additions & 2 deletions deployment/eks/flyte_helm_dataplane_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ data:
- sidecar
- k8s-array
- agent-service
- echo
k8s.yaml: |
plugins:
k8s:
Expand Down Expand Up @@ -428,7 +429,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "38c8d0c5ce2cb50f839d3ecda13d881b6bf5a503ac264f0a9a821a9b5a70ca6"
configChecksum: "ee14c75d560241789cd29abfd0e93d20e874eef022a7a8313337875023bfd90"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
labels:
Expand Down Expand Up @@ -512,7 +513,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.13.0
annotations:
configChecksum: "38c8d0c5ce2cb50f839d3ecda13d881b6bf5a503ac264f0a9a821a9b5a70ca6"
configChecksum: "ee14c75d560241789cd29abfd0e93d20e874eef022a7a8313337875023bfd90"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
spec:
Expand Down
5 changes: 3 additions & 2 deletions deployment/eks/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ data:
- sidecar
- k8s-array
- agent-service
- echo
k8s.yaml: |
plugins:
k8s:
Expand Down Expand Up @@ -1407,7 +1408,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "38c8d0c5ce2cb50f839d3ecda13d881b6bf5a503ac264f0a9a821a9b5a70ca6"
configChecksum: "ee14c75d560241789cd29abfd0e93d20e874eef022a7a8313337875023bfd90"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
labels:
Expand Down Expand Up @@ -1491,7 +1492,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.13.0
annotations:
configChecksum: "38c8d0c5ce2cb50f839d3ecda13d881b6bf5a503ac264f0a9a821a9b5a70ca6"
configChecksum: "ee14c75d560241789cd29abfd0e93d20e874eef022a7a8313337875023bfd90"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
spec:
Expand Down
5 changes: 3 additions & 2 deletions deployment/gcp/flyte_helm_dataplane_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ data:
- sidecar
- k8s-array
- agent-service
- echo
k8s.yaml: |
plugins:
k8s:
Expand Down Expand Up @@ -436,7 +437,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "e63d877e1ff27d18ac7c4af4c6e4ca6106fc337a13ce00d9beb8efed8548493"
configChecksum: "8f5d0ba6cd94b3a453728de1acdb18bb18df7d96720d573d7532527ecd6e7ab"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
labels:
Expand Down Expand Up @@ -519,7 +520,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.13.0
annotations:
configChecksum: "e63d877e1ff27d18ac7c4af4c6e4ca6106fc337a13ce00d9beb8efed8548493"
configChecksum: "8f5d0ba6cd94b3a453728de1acdb18bb18df7d96720d573d7532527ecd6e7ab"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
spec:
Expand Down
5 changes: 3 additions & 2 deletions deployment/gcp/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ data:
- sidecar
- k8s-array
- agent-service
- echo
k8s.yaml: |
plugins:
k8s:
Expand Down Expand Up @@ -1430,7 +1431,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "e63d877e1ff27d18ac7c4af4c6e4ca6106fc337a13ce00d9beb8efed8548493"
configChecksum: "8f5d0ba6cd94b3a453728de1acdb18bb18df7d96720d573d7532527ecd6e7ab"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
labels:
Expand Down Expand Up @@ -1513,7 +1514,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.13.0
annotations:
configChecksum: "e63d877e1ff27d18ac7c4af4c6e4ca6106fc337a13ce00d9beb8efed8548493"
configChecksum: "8f5d0ba6cd94b3a453728de1acdb18bb18df7d96720d573d7532527ecd6e7ab"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ data:
- sidecar
- k8s-array
- agent-service
- echo
plugins:
logs:
kubernetes-enabled: false
Expand Down Expand Up @@ -359,7 +360,7 @@ spec:
app.kubernetes.io/instance: flyte
app.kubernetes.io/component: flyte-binary
annotations:
checksum/configuration: cc9ac3ae89908d4036cebe1d3b50ce9bf564167ca808afdec67c90260665a58e
checksum/configuration: 807720e9e2010abdad27679b5c87780ed30b8d4668d3773542a31795cf727708
checksum/configuration-secret: d5d93f4e67780b21593dc3799f0f6682aab0765e708e4020939975d14d44f929
checksum/cluster-resource-templates: 7dfa59f3d447e9c099b8f8ffad3af466fecbc9cf9f8c97295d9634254a55d4ae
spec:
Expand Down
5 changes: 3 additions & 2 deletions deployment/sandbox/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ data:
- sidecar
- k8s-array
- agent-service
- echo
k8s.yaml: |
plugins:
k8s:
Expand Down Expand Up @@ -7181,7 +7182,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "7ee7db423358a7296a24baf63ddb60c73b3c38c663d92731caae21e75d89fbc"
configChecksum: "542fb4159675ae7873726de895b615f3fd14843660317dc5c297ada726edc62"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
labels:
Expand Down Expand Up @@ -7257,7 +7258,7 @@ spec:
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.13.0
annotations:
configChecksum: "7ee7db423358a7296a24baf63ddb60c73b3c38c663d92731caae21e75d89fbc"
configChecksum: "542fb4159675ae7873726de895b615f3fd14843660317dc5c297ada726edc62"
prometheus.io/path: "/metrics"
prometheus.io/port: "10254"
spec:
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 @@ -461,6 +461,7 @@ data:
- sidecar
- k8s-array
- agent-service
- echo
plugins:
logs:
kubernetes-enabled: true
Expand Down Expand Up @@ -817,7 +818,7 @@ type: Opaque
---
apiVersion: v1
data:
haSharedSecret: RVJtRHVFeUtzZHdDMjRTQQ==
haSharedSecret: WkowdUhSc2k4cnF0MlFMWQ==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -1248,7 +1249,7 @@ spec:
metadata:
annotations:
checksum/cluster-resource-templates: 6fd9b172465e3089fcc59f738b92b8dc4d8939360c19de8ee65f68b0e7422035
checksum/configuration: 35a84a5044b9c9ffb7963f8ea11733277e84450e2124593216c6721ef7a4d539
checksum/configuration: c8f121d577223e93cfbe80842c2ea5ebde1895c01c8027bd199c4680f07e12b0
checksum/configuration-secret: 09216ffaa3d29e14f88b1f30af580d02a2a5e014de4d750b7f275cc07ed4e914
labels:
app.kubernetes.io/component: flyte-binary
Expand Down Expand Up @@ -1414,7 +1415,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: b56109123fc8874c06e091766f6e86bd5ffdc4cdc86ea7861092332870babf0e
checksum/secret: bea58998e6559ec56e1020edf924a36d3cca2291833230535e393e55c33e122f
labels:
app: docker-registry
release: flyte-sandbox
Expand Down
7 changes: 4 additions & 3 deletions docker/sandbox-bundled/manifests/complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ data:
- sidecar
- k8s-array
- agent-service
- echo
plugins:
logs:
kubernetes-enabled: true
Expand Down Expand Up @@ -797,7 +798,7 @@ type: Opaque
---
apiVersion: v1
data:
haSharedSecret: dGZGeUR3THl1ODFKV2ROdA==
haSharedSecret: WGE5dm1yamxVSXRVM0Q1VA==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -1195,7 +1196,7 @@ spec:
metadata:
annotations:
checksum/cluster-resource-templates: 6fd9b172465e3089fcc59f738b92b8dc4d8939360c19de8ee65f68b0e7422035
checksum/configuration: 401b476b6dd95fe6fcfb0d91b6cb42550e272bc66f07de218d192ad374c1baf0
checksum/configuration: 5896c6f8be6d6cacf1e3bc8431cdd7aa2615bf7c8fffdcf1729c85f2d634cc21
checksum/configuration-secret: 09216ffaa3d29e14f88b1f30af580d02a2a5e014de4d750b7f275cc07ed4e914
labels:
app.kubernetes.io/component: flyte-binary
Expand Down Expand Up @@ -1361,7 +1362,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: 953e371a21c81445990201881e1603b35558441bea4c3702cc1f3dbdbc66c6b7
checksum/secret: cc13a932ead641d0eead40e6c81b6705ec94eba96e9edab2302ae1717d7ce514
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: clA0NmJsaW9TUHNJYjRYTA==
haSharedSecret: WURWR3JmdFpkTE11VjhhRA==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -934,7 +934,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: 51051b8a95112e2aa1aed0e472540340697cf3481a144444d65dfaa220ae471d
checksum/secret: f44be02760d74fe28491dab5dc264d45ab1af8636e1cb670fadf65cb6611f4de
labels:
app: docker-registry
release: flyte-sandbox
Expand Down
1 change: 1 addition & 0 deletions flyte-single-binary-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ tasks:
- container
- sidecar
- K8S-ARRAY
- echo
default-for-task-types:
- container: container
- container_array: K8S-ARRAY
Expand Down
1 change: 1 addition & 0 deletions flytepropeller/propeller-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ tasks:
- container
- sidecar
- K8S-ARRAY
- echo
# Uncomment to enable sagemaker plugin
# - sagemaker_training
# - sagemaker_hyperparameter_tuning
Expand Down

0 comments on commit 4f5692d

Please sign in to comment.