-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix webhook typo, add podLabels, add podEnv to flyte-core Helm chart (#…
…4756) * Fix webhook typo Signed-off-by: ddl-ebrown <[email protected]> * Add flyte-core Helm support for podLabels - podLabels is a standard pod value often needed to introduce user-customizable labels to pods Signed-off-by: ddl-ebrown <[email protected]> * Add flyte-core Helm support for podEnv - podEnv is a standard Helm addition used to add additional environment variables to pods - NOTE: flyteadmin already defined a `env: []`, so no podEnv was added there was it would be a breaking change Signed-off-by: ddl-ebrown <[email protected]> --------- Signed-off-by: ddl-ebrown <[email protected]>
- Loading branch information
1 parent
abef3f5
commit fb9ffd5
Showing
19 changed files
with
162 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,13 +60,15 @@ helm install gateway bitnami/contour -n flyte | |
| cloud_events.eventsPublisher.eventTypes[0] | string | `"all"` | | | ||
| cloud_events.eventsPublisher.topicName | string | `"arn:aws:sns:us-east-2:123456:123-my-topic"` | | | ||
| cloud_events.type | string | `"aws"` | | | ||
| cluster_resource_manager | object | `{"config":{"cluster_resources":{"customData":[{"production":[{"projectQuotaCpu":{"value":"5"}},{"projectQuotaMemory":{"value":"4000Mi"}}]},{"staging":[{"projectQuotaCpu":{"value":"2"}},{"projectQuotaMemory":{"value":"3000Mi"}}]},{"development":[{"projectQuotaCpu":{"value":"4"}},{"projectQuotaMemory":{"value":"3000Mi"}}]}],"refreshInterval":"5m","standaloneDeployment":false,"templatePath":"/etc/flyte/clusterresource/templates"}},"enabled":true,"podAnnotations":{},"service_account_name":"flyteadmin","standaloneDeployment":false,"templates":[{"key":"aa_namespace","value":"apiVersion: v1\nkind: Namespace\nmetadata:\n name: {{ namespace }}\nspec:\n finalizers:\n - kubernetes\n"},{"key":"ab_project_resource_quota","value":"apiVersion: v1\nkind: ResourceQuota\nmetadata:\n name: project-quota\n namespace: {{ namespace }}\nspec:\n hard:\n limits.cpu: {{ projectQuotaCpu }}\n limits.memory: {{ projectQuotaMemory }}\n"}]}` | Configuration for the Cluster resource manager component. This is an optional component, that enables automatic cluster configuration. This is useful to set default quotas, manage namespaces etc that map to a project/domain | | ||
| cluster_resource_manager | object | `{"config":{"cluster_resources":{"customData":[{"production":[{"projectQuotaCpu":{"value":"5"}},{"projectQuotaMemory":{"value":"4000Mi"}}]},{"staging":[{"projectQuotaCpu":{"value":"2"}},{"projectQuotaMemory":{"value":"3000Mi"}}]},{"development":[{"projectQuotaCpu":{"value":"4"}},{"projectQuotaMemory":{"value":"3000Mi"}}]}],"refreshInterval":"5m","standaloneDeployment":false,"templatePath":"/etc/flyte/clusterresource/templates"}},"enabled":true,"podAnnotations":{},"podEnv":{},"podLabels":{},"service_account_name":"flyteadmin","standaloneDeployment":false,"templates":[{"key":"aa_namespace","value":"apiVersion: v1\nkind: Namespace\nmetadata:\n name: {{ namespace }}\nspec:\n finalizers:\n - kubernetes\n"},{"key":"ab_project_resource_quota","value":"apiVersion: v1\nkind: ResourceQuota\nmetadata:\n name: project-quota\n namespace: {{ namespace }}\nspec:\n hard:\n limits.cpu: {{ projectQuotaCpu }}\n limits.memory: {{ projectQuotaMemory }}\n"}]}` | Configuration for the Cluster resource manager component. This is an optional component, that enables automatic cluster configuration. This is useful to set default quotas, manage namespaces etc that map to a project/domain | | ||
| cluster_resource_manager.config | object | `{"cluster_resources":{"customData":[{"production":[{"projectQuotaCpu":{"value":"5"}},{"projectQuotaMemory":{"value":"4000Mi"}}]},{"staging":[{"projectQuotaCpu":{"value":"2"}},{"projectQuotaMemory":{"value":"3000Mi"}}]},{"development":[{"projectQuotaCpu":{"value":"4"}},{"projectQuotaMemory":{"value":"3000Mi"}}]}],"refreshInterval":"5m","standaloneDeployment":false,"templatePath":"/etc/flyte/clusterresource/templates"}}` | Configmap for ClusterResource parameters | | ||
| cluster_resource_manager.config.cluster_resources | object | `{"customData":[{"production":[{"projectQuotaCpu":{"value":"5"}},{"projectQuotaMemory":{"value":"4000Mi"}}]},{"staging":[{"projectQuotaCpu":{"value":"2"}},{"projectQuotaMemory":{"value":"3000Mi"}}]},{"development":[{"projectQuotaCpu":{"value":"4"}},{"projectQuotaMemory":{"value":"3000Mi"}}]}],"refreshInterval":"5m","standaloneDeployment":false,"templatePath":"/etc/flyte/clusterresource/templates"}` | ClusterResource parameters Refer to the [structure](https://pkg.go.dev/github.com/lyft/[email protected]/pkg/runtime/interfaces#ClusterResourceConfig) to customize. | | ||
| cluster_resource_manager.config.cluster_resources.refreshInterval | string | `"5m"` | How frequently to run the sync process | | ||
| cluster_resource_manager.config.cluster_resources.standaloneDeployment | bool | `false` | Starts the cluster resource manager in standalone mode with requisite auth credentials to call flyteadmin service endpoints | | ||
| cluster_resource_manager.enabled | bool | `true` | Enables the Cluster resource manager component | | ||
| cluster_resource_manager.podAnnotations | object | `{}` | Annotations for ClusterResource pods | | ||
| cluster_resource_manager.podEnv | object | `{}` | Additional ClusterResource container environment variables | | ||
| cluster_resource_manager.podLabels | object | `{}` | Labels for ClusterResource pods | | ||
| cluster_resource_manager.service_account_name | string | `"flyteadmin"` | Service account name to run with | | ||
| cluster_resource_manager.templates | list | `[{"key":"aa_namespace","value":"apiVersion: v1\nkind: Namespace\nmetadata:\n name: {{ namespace }}\nspec:\n finalizers:\n - kubernetes\n"},{"key":"ab_project_resource_quota","value":"apiVersion: v1\nkind: ResourceQuota\nmetadata:\n name: project-quota\n namespace: {{ namespace }}\nspec:\n hard:\n limits.cpu: {{ projectQuotaCpu }}\n limits.memory: {{ projectQuotaMemory }}\n"}]` | Resource templates that should be applied | | ||
| cluster_resource_manager.templates[0] | object | `{"key":"aa_namespace","value":"apiVersion: v1\nkind: Namespace\nmetadata:\n name: {{ namespace }}\nspec:\n finalizers:\n - kubernetes\n"}` | Template for namespaces resources | | ||
|
@@ -128,6 +130,8 @@ helm install gateway bitnami/contour -n flyte | |
| datacatalog.image.tag | string | `"v1.10.7-b2"` | Docker image tag | | ||
| datacatalog.nodeSelector | object | `{}` | nodeSelector for Datacatalog deployment | | ||
| datacatalog.podAnnotations | object | `{}` | Annotations for Datacatalog pods | | ||
| datacatalog.podEnv | object | `{}` | Additional Datacatalog container environment variables | | ||
| datacatalog.podLabels | object | `{}` | Labels for Datacatalog pods | | ||
| datacatalog.priorityClassName | string | `""` | Sets priorityClassName for datacatalog pod(s). | | ||
| datacatalog.replicaCount | int | `1` | Replicas count for Datacatalog deployment | | ||
| datacatalog.resources | object | `{"limits":{"cpu":"500m","ephemeral-storage":"100Mi","memory":"500Mi"},"requests":{"cpu":"10m","ephemeral-storage":"50Mi","memory":"50Mi"}}` | Default resources requests and limits for Datacatalog deployment | | ||
|
@@ -161,6 +165,7 @@ helm install gateway bitnami/contour -n flyte | |
| flyteadmin.initialProjects | list | `["flytesnacks","flytetester","flyteexamples"]` | Initial projects to create | | ||
| flyteadmin.nodeSelector | object | `{}` | nodeSelector for Flyteadmin deployment | | ||
| flyteadmin.podAnnotations | object | `{}` | Annotations for Flyteadmin pods | | ||
| flyteadmin.podLabels | object | `{}` | Labels for Flyteadmin pods | | ||
| flyteadmin.priorityClassName | string | `""` | Sets priorityClassName for flyteadmin pod(s). | | ||
| flyteadmin.replicaCount | int | `1` | Replicas count for Flyteadmin deployment | | ||
| 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 | | ||
|
@@ -192,6 +197,8 @@ helm install gateway bitnami/contour -n flyte | |
| flyteconsole.image.tag | string | `"v1.10.2"` | | | ||
| flyteconsole.nodeSelector | object | `{}` | nodeSelector for Flyteconsole deployment | | ||
| flyteconsole.podAnnotations | object | `{}` | Annotations for Flyteconsole pods | | ||
| flyteconsole.podEnv | object | `{}` | Additional Flyteconsole container environment variables | | ||
| flyteconsole.podLabels | object | `{}` | Labels for Flyteconsole pods | | ||
| flyteconsole.priorityClassName | string | `""` | Sets priorityClassName for flyte console pod(s). | | ||
| flyteconsole.replicaCount | int | `1` | Replicas count for Flyteconsole deployment | | ||
| flyteconsole.resources | object | `{"limits":{"cpu":"500m","memory":"250Mi"},"requests":{"cpu":"10m","memory":"50Mi"}}` | Default resources requests and limits for Flyteconsole deployment | | ||
|
@@ -213,6 +220,8 @@ helm install gateway bitnami/contour -n flyte | |
| flytepropeller.manager | bool | `false` | | | ||
| flytepropeller.nodeSelector | object | `{}` | nodeSelector for Flytepropeller deployment | | ||
| flytepropeller.podAnnotations | object | `{}` | Annotations for Flytepropeller pods | | ||
| flytepropeller.podEnv | object | `{}` | Additional Flytepropeller container environment variables | | ||
| flytepropeller.podLabels | object | `{}` | Labels for Flytepropeller pods | | ||
| flytepropeller.priorityClassName | string | `""` | Sets priorityClassName for propeller pod(s). | | ||
| flytepropeller.replicaCount | int | `1` | Replicas count for Flytepropeller deployment | | ||
| flytepropeller.resources | object | `{"limits":{"cpu":"200m","ephemeral-storage":"100Mi","memory":"200Mi"},"requests":{"cpu":"10m","ephemeral-storage":"50Mi","memory":"100Mi"}}` | Default resources requests and limits for Flytepropeller deployment | | ||
|
@@ -239,6 +248,8 @@ helm install gateway bitnami/contour -n flyte | |
| flytescheduler.image.tag | string | `"v1.10.7-b2"` | Docker image tag | | ||
| flytescheduler.nodeSelector | object | `{}` | nodeSelector for Flytescheduler deployment | | ||
| flytescheduler.podAnnotations | object | `{}` | Annotations for Flytescheduler pods | | ||
| flytescheduler.podEnv | object | `{}` | Additional Flytescheduler container environment variables | | ||
| flytescheduler.podLabels | object | `{}` | Labels for Flytescheduler pods | | ||
| flytescheduler.priorityClassName | string | `""` | Sets priorityClassName for flyte scheduler pod(s). | | ||
| flytescheduler.resources | object | `{"limits":{"cpu":"250m","ephemeral-storage":"100Mi","memory":"500Mi"},"requests":{"cpu":"10m","ephemeral-storage":"50Mi","memory":"50Mi"}}` | Default resources requests and limits for Flytescheduler deployment | | ||
| flytescheduler.runPrecheck | bool | `true` | Whether to inject an init container which waits on flyteadmin | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.