Skip to content

Commit

Permalink
Update generated_helm
Browse files Browse the repository at this point in the history
Signed-off-by: mvaal <[email protected]>
  • Loading branch information
mvaalexp committed May 15, 2024
1 parent 16963fd commit 0d6bcbc
Show file tree
Hide file tree
Showing 11 changed files with 185 additions and 27 deletions.
20 changes: 14 additions & 6 deletions charts/flyte-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,21 @@ 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,"nodeSelector":{},"podAnnotations":{},"podEnv":{},"podLabels":{},"resources":{},"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,"nameOverride":null,"nodeSelector":{},"podAnnotations":{},"podEnv":[],"podLabels":{},"resources":{},"serviceAccount":{"annotations":{},"create":true,"imagePullSecrets":[]},"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.nodeSelector | object | `{}` | nodeSelector for ClusterResource deployment |
| cluster_resource_manager.podAnnotations | object | `{}` | Annotations for ClusterResource pods |
| cluster_resource_manager.podEnv | object | `{}` | Additional ClusterResource container environment variables |
| cluster_resource_manager.podEnv | list | `[]` | Additional ClusterResource container environment variables |
| cluster_resource_manager.podLabels | object | `{}` | Labels for ClusterResource pods |
| cluster_resource_manager.resources | object | `{}` | Resources for ClusterResource deployment |
| cluster_resource_manager.serviceAccount | object | `{"annotations":{},"create":true,"imagePullSecrets":[]}` | Configuration for service accounts for ClusterResource, will ignore service_account_name if set |
| cluster_resource_manager.serviceAccount.annotations | object | `{}` | Annotations for ServiceAccount attached to the ClusterResource |
| cluster_resource_manager.serviceAccount.create | bool | `true` | Should a service account be created for the ClusterResource |
| cluster_resource_manager.serviceAccount.imagePullSecrets | list | `[]` | ImagePullSecrets to automatically assign to the service ClusterResource |
| 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 |
Expand Down Expand Up @@ -133,7 +137,7 @@ helm install gateway bitnami/contour -n flyte
| datacatalog.image.tag | string | `"v1.12.0"` | 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.podEnv | list | `[]` | 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 |
Expand Down Expand Up @@ -208,13 +212,17 @@ helm install gateway bitnami/contour -n flyte
| flyteconsole.imagePullSecrets | list | `[]` | ImagePullSecrets to assign to the Flyteconsole deployment |
| flyteconsole.nodeSelector | object | `{}` | nodeSelector for Flyteconsole deployment |
| flyteconsole.podAnnotations | object | `{}` | Annotations for Flyteconsole pods |
| flyteconsole.podEnv | object | `{}` | Additional Flyteconsole container environment variables |
| flyteconsole.podEnv | list | `[]` | 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 |
| flyteconsole.securityContext | object | `{"fsGroupChangePolicy":"OnRootMismatch","runAsNonRoot":true,"runAsUser":1000,"seLinuxOptions":{"type":"spc_t"}}` | Sets securityContext for flyteconsole pod(s). |
| flyteconsole.service | object | `{"annotations":{},"type":"ClusterIP"}` | Service settings for Flyteconsole |
| flyteconsole.serviceAccount | object | `{"annotations":{},"create":true,"imagePullSecrets":[]}` | Configuration for service accounts for FlyteConsole |
| flyteconsole.serviceAccount.annotations | object | `{}` | Annotations for ServiceAccount attached to the console |
| flyteconsole.serviceAccount.create | bool | `true` | Should a service account be created for the console |
| flyteconsole.serviceAccount.imagePullSecrets | list | `[]` | ImagePullSecrets to automatically assign to the service console |
| flyteconsole.tolerations | list | `[]` | tolerations for Flyteconsole deployment |
| flytepropeller.additionalContainers | list | `[]` | Appends additional containers to the deployment spec. May include template values. |
| flytepropeller.additionalVolumeMounts | list | `[]` | Appends additional volume mounts to the main container's spec. May include template values. |
Expand All @@ -232,7 +240,7 @@ 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.podEnv | list | `[]` | 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 |
Expand Down Expand Up @@ -262,7 +270,7 @@ helm install gateway bitnami/contour -n flyte
| flytescheduler.image.tag | string | `"v1.12.0"` | 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.podEnv | list | `[]` | 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 |
Expand Down
2 changes: 1 addition & 1 deletion charts/flyteagent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ A Helm chart for Flyte agent
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | nodeSelector for flyteagent deployment |
| podAnnotations | object | `{}` | Annotations for flyteagent pods |
| podEnv | object | `{}` | Additional flyteagent pod container environment variables |
| podEnv | list | `[]` | Additional flyteagent pod container environment variables |
| podLabels | object | `{}` | Labels for flyteagent pods |
| podSecurityContext | object | `{}` | Security context for pod |
| ports.containerPort | int | `8000` | |
Expand Down
29 changes: 27 additions & 2 deletions deployment/eks/flyte_aws_scheduler_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,30 @@ metadata:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::<ACCOUNT_NUMBER>:role/iam-role-flyte
---
# Source: flyte-core/templates/clusterresourcesync/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: flyteclusterresourcesync
namespace: flyte
labels:
app.kubernetes.io/name: flyteclusterresourcesync
app.kubernetes.io/instance: flyte
helm.sh/chart: flyte-core-v0.1.10
app.kubernetes.io/managed-by: Helm
---
# Source: flyte-core/templates/console/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: flyteconsole
namespace: flyte
labels:
app.kubernetes.io/name: flyteconsole
app.kubernetes.io/instance: flyte
helm.sh/chart: flyte-core-v0.1.10
app.kubernetes.io/managed-by: Helm
---
# Source: flyte-core/templates/datacatalog/rbac.yaml
apiVersion: v1
kind: ServiceAccount
Expand Down Expand Up @@ -1028,7 +1052,7 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
name: syncresources
name: flyteclusterresourcesync
namespace: flyte
labels:
app.kubernetes.io/name: flyteclusterresourcesync
Expand Down Expand Up @@ -1068,7 +1092,7 @@ spec:
name: resource-templates
- mountPath: /etc/flyte/config
name: config-volume
serviceAccountName: flyteadmin
serviceAccountName: flyteclusterresourcesync
volumes:
- name: db-pass
secret:
Expand Down Expand Up @@ -1136,6 +1160,7 @@ spec:
volumeMounts:
- mountPath: /srv/flyte
name: shared-data
serviceAccountName: flyteconsole
volumes:
- emptyDir: {}
name: shared-data
Expand Down
31 changes: 28 additions & 3 deletions deployment/eks/flyte_helm_controlplane_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,30 @@ metadata:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::<ACCOUNT_NUMBER>:role/iam-role-flyte
---
# Source: flyte-core/templates/clusterresourcesync/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: flyteclusterresourcesync
namespace: flyte
labels:
app.kubernetes.io/name: flyteclusterresourcesync
app.kubernetes.io/instance: flyte
helm.sh/chart: flyte-core-v0.1.10
app.kubernetes.io/managed-by: Helm
---
# Source: flyte-core/templates/console/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: flyteconsole
namespace: flyte
labels:
app.kubernetes.io/name: flyteconsole
app.kubernetes.io/instance: flyte
helm.sh/chart: flyte-core-v0.1.10
app.kubernetes.io/managed-by: Helm
---
# Source: flyte-core/templates/datacatalog/rbac.yaml
apiVersion: v1
kind: ServiceAccount
Expand All @@ -27,7 +51,7 @@ metadata:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::<ACCOUNT_NUMBER>:role/iam-role-flyte
---
# Source: flyte-core/templates/flytescheduler/sa.yaml
# Source: flyte-core/templates/flytescheduler/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -733,7 +757,7 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
name: syncresources
name: flyteclusterresourcesync
namespace: flyte
labels:
app.kubernetes.io/name: flyteclusterresourcesync
Expand Down Expand Up @@ -773,7 +797,7 @@ spec:
name: resource-templates
- mountPath: /etc/flyte/config
name: config-volume
serviceAccountName: flyteadmin
serviceAccountName: flyteclusterresourcesync
volumes:
- name: db-pass
secret:
Expand Down Expand Up @@ -841,6 +865,7 @@ spec:
volumeMounts:
- mountPath: /srv/flyte
name: shared-data
serviceAccountName: flyteconsole
volumes:
- emptyDir: {}
name: shared-data
Expand Down
31 changes: 28 additions & 3 deletions deployment/eks/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,30 @@ metadata:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::<ACCOUNT_NUMBER>:role/iam-role-flyte
---
# Source: flyte-core/templates/clusterresourcesync/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: flyteclusterresourcesync
namespace: flyte
labels:
app.kubernetes.io/name: flyteclusterresourcesync
app.kubernetes.io/instance: flyte
helm.sh/chart: flyte-core-v0.1.10
app.kubernetes.io/managed-by: Helm
---
# Source: flyte-core/templates/console/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: flyteconsole
namespace: flyte
labels:
app.kubernetes.io/name: flyteconsole
app.kubernetes.io/instance: flyte
helm.sh/chart: flyte-core-v0.1.10
app.kubernetes.io/managed-by: Helm
---
# Source: flyte-core/templates/datacatalog/rbac.yaml
apiVersion: v1
kind: ServiceAccount
Expand All @@ -27,7 +51,7 @@ metadata:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::<ACCOUNT_NUMBER>:role/iam-role-flyte
---
# Source: flyte-core/templates/flytescheduler/sa.yaml
# Source: flyte-core/templates/flytescheduler/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -1059,7 +1083,7 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
name: syncresources
name: flyteclusterresourcesync
namespace: flyte
labels:
app.kubernetes.io/name: flyteclusterresourcesync
Expand Down Expand Up @@ -1099,7 +1123,7 @@ spec:
name: resource-templates
- mountPath: /etc/flyte/config
name: config-volume
serviceAccountName: flyteadmin
serviceAccountName: flyteclusterresourcesync
volumes:
- name: db-pass
secret:
Expand Down Expand Up @@ -1167,6 +1191,7 @@ spec:
volumeMounts:
- mountPath: /srv/flyte
name: shared-data
serviceAccountName: flyteconsole
volumes:
- emptyDir: {}
name: shared-data
Expand Down
31 changes: 28 additions & 3 deletions deployment/gcp/flyte_helm_controlplane_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,30 @@ metadata:
annotations:
iam.gke.io/gcp-service-account: gsa-flyteadmin@<PROJECT-ID>.iam.gserviceaccount.com
---
# Source: flyte-core/templates/clusterresourcesync/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: flyteclusterresourcesync
namespace: flyte
labels:
app.kubernetes.io/name: flyteclusterresourcesync
app.kubernetes.io/instance: flyte
helm.sh/chart: flyte-core-v0.1.10
app.kubernetes.io/managed-by: Helm
---
# Source: flyte-core/templates/console/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: flyteconsole
namespace: flyte
labels:
app.kubernetes.io/name: flyteconsole
app.kubernetes.io/instance: flyte
helm.sh/chart: flyte-core-v0.1.10
app.kubernetes.io/managed-by: Helm
---
# Source: flyte-core/templates/datacatalog/rbac.yaml
apiVersion: v1
kind: ServiceAccount
Expand All @@ -27,7 +51,7 @@ metadata:
annotations:
iam.gke.io/gcp-service-account: gsa-datacatalog@<PROJECT-ID>.iam.gserviceaccount.com
---
# Source: flyte-core/templates/flytescheduler/sa.yaml
# Source: flyte-core/templates/flytescheduler/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -748,7 +772,7 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
name: syncresources
name: flyteclusterresourcesync
namespace: flyte
labels:
app.kubernetes.io/name: flyteclusterresourcesync
Expand Down Expand Up @@ -788,7 +812,7 @@ spec:
name: resource-templates
- mountPath: /etc/flyte/config
name: config-volume
serviceAccountName: flyteadmin
serviceAccountName: flyteclusterresourcesync
volumes:
- name: db-pass
secret:
Expand Down Expand Up @@ -856,6 +880,7 @@ spec:
volumeMounts:
- mountPath: /srv/flyte
name: shared-data
serviceAccountName: flyteconsole
volumes:
- emptyDir: {}
name: shared-data
Expand Down
Loading

0 comments on commit 0d6bcbc

Please sign in to comment.