-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helm chart with dependencies #784
Conversation
Is this ready for review? |
Not yet. There are still some issues with the spark operator I need to investigate. I'm starting to look into this again now. |
ac6db54
to
5071f7e
Compare
8047bb0
to
69e32fe
Compare
|
||
## Values | ||
|
||
| Key | Type | Default | Description | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohh man this is crazy, maintaining this will be a nightmare right? We need to auto-generate this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Completely agree. Looking at 6517fbb it seems it's already autogenerated
@rstanevich did you use https://github.com/norwoodj/helm-docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sbrunk
Yes, this README is autogenerated using the helm plugin https://github.com/norwoodj/helm-docs and template file https://github.com/flyteorg/flyte/blob/125710b4c2b23a0a39e794a0761c4337872467ce/helm/README.md.gotmpl
@sbrunk I had a question, so in Helm, is it possible to create 3 different configuration options - Flyte Low, Medium, High (performance) and we create precanned configuration. this would make configuring Flyte even easier.
I am also working on a sharded/distributed FlytePropeller mode, the problem is config. This can help simplify |
@@ -0,0 +1,50 @@ | |||
{{- if .Values.minio.enabled }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we just use the minio helm chart as a dependency?
https://github.com/minio/charts (probably this is the old one)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that should work. I think I actually looked it up and didn't add it because the repo was archived. But minio is only for sandbox anyway right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup it's only sandbox- I am ok keeping it too
@@ -0,0 +1,45 @@ | |||
{{- if .Values.postgres.enabled }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same for postgres? https://bitnami.com/stack/postgresql/helm
I guess this is an overkill?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah if deploying a postgres is only for sandbox it might be overkill.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Signed-off-by: Sören Brunk <[email protected]>
Signed-off-by: Sören Brunk <[email protected]>
Signed-off-by: Sören Brunk <[email protected]>
Signed-off-by: Sören Brunk <[email protected]>
Signed-off-by: Sören Brunk <[email protected]>
Bump versions Signed-off-by: Sören Brunk <[email protected]>
Based on the following kustomize changes: - cd4a3d5 Trim sandbox (flyteorg#727) - 9b59ac6 Update propeller version and config (flyteorg#580) Signed-off-by: Sören Brunk <[email protected]>
Based on the following kustomize change: - 0e2dd72 Updating Spark config to force default credentials chain for AWS (flyteorg#674) Signed-off-by: Sören Brunk <[email protected]>
Based on the following kustomize change: - 46864a5 Access GRPC services using projectcontour (flyteorg#686) Signed-off-by: Sören Brunk <[email protected]>
Based on the following kustomize change: - 658aecd Enabling Event version 1 by default (flyteorg#689) Signed-off-by: Sören Brunk <[email protected]>
Based on the following kustomize change: - fbe7e68 Improve getting started experience (flyteorg#694) Signed-off-by: Sören Brunk <[email protected]>
Based on the following kustomize change: - 0844a44 Exponential error back-off in case of system errors (flyteorg#693) Signed-off-by: Sören Brunk <[email protected]>
Based on the following kustomize change: - cd4a3d5 Trim sandbox (flyteorg#727) Signed-off-by: Sören Brunk <[email protected]>
Based on the following kustomize change: - 72c5705 Update default RAM Request for tasks in sandbox (flyteorg#750) Signed-off-by: Sören Brunk <[email protected]>
Based on the following kustomize change: - b13de21 Update Admin task resources (flyteorg#753) Signed-off-by: Sören Brunk <[email protected]>
Based on the following kustomize changes: - a14fd47 Update deployments with latest k8s library deps (flyteorg#826) - f149af8 Add kubernetes dashboard to sandbox overlay (flyteorg#789) Signed-off-by: Sören Brunk <[email protected]>
Use default Docker images in EKS Helm values. Based on the following kustomize changes: - 4e0eed6 Update EKS Ingress and Instructions (flyteorg#825) Signed-off-by: Sören Brunk <[email protected]>
Signed-off-by: Sören Brunk <[email protected]>
Signed-off-by: Sören Brunk <[email protected]>
Signed-off-by: Sören Brunk <[email protected]>
host: postgres | ||
dbname: flyte_development | ||
|
||
storage: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to change this
Have a parameter like
storage-kind: s3 | gcs | minio | custom
If custom then you provide the entire configuration, else the config is automatic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is now done in 151446d (in the new internal branch).
namespace: {{ namespace }} | ||
data: | ||
config.yaml: | | ||
storage: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
samething, is it possible to derive this from the other config, even though this is actually a string?
kubernetes-enabled: true | ||
kubernetes-template-uri: "http://localhost:30082/#/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace }}" | ||
|
||
logger: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about having a simple mode called debug?
Signed-off-by: Sören Brunk <[email protected]>
125710b
to
ff67bdb
Compare
Superseded by #916 |
This is based on the work of @rstanevich in #550 with the following changes:
Draft PR so people can try it and as a basis for discussion about the chart.