-
Notifications
You must be signed in to change notification settings - Fork 279
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
Update K8s example #3493
Update K8s example #3493
Conversation
7116e8a
to
bd13669
Compare
…re the ingress resource
Otherwise a Helm chart for ES 8 will be used, which by default installs ES 8 and has some breaking changes with regards to the structure of values.
bd13669
to
57da03c
Compare
This adjusts the example so that it can be easily run on a single-node K8s cluster provided by Docker Compose. I have also tweaked the default values to reduce the resources to a minimum and tried to make the example as easy to install as possible.
57da03c
to
ee064a6
Compare
dependencies: | ||
- name: aleph | ||
repository: file://../../charts/aleph | ||
version: 3.15.4 |
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'm not sure if I did something wrong, but I get aleph 3.15.1
:/
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.
Hm, that’s weird… I just reset my cluster, removed local images, and set up everything again from scratch. But looking at the about page and at the version specified inside of the container I see 3.15.4
. We could look into it together tomorrow if you’d like :)
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.
Only other reason for this I could imagine is that this branch used to be based off of 3.15.1, and I later rebased it and force pushed to be up to date with develop. But that was a few days before you looked at it, I think…
f5972ec
to
76a4111
Compare
* Update example values to work with current Postgres chart version * Add ingress class annotation to ensure the Nginx ingress doesn’t ignore the ingress resource * Use ES Helm chart for ES 7 Otherwise a Helm chart for ES 8 will be used, which by default installs ES 8 and has some breaking changes with regards to the structure of values. * Mark secret key ref for `SENTRY_DSN` as optional * Update K8s example This adjusts the example so that it can be easily run on a single-node K8s cluster provided by Docker Compose. I have also tweaked the default values to reduce the resources to a minimum and tried to make the example as easy to install as possible. * Emphasize that selecting the correct kubectl context may be necessary * Update default ingest-file version in Helm chart * Add note on Docker Desktop memory resource limits * Add note about `kubernetes.docker.internal` host * Add upgrade instructions * Simplify secrets setup * Document how to create a user, known issues * Fix typo * Replace deprecated `kubernetes.io/ingress.class` annotation As suggested by @stchris * Fix default ingest-file version in Helm chart (again…)
The previous example for running Aleph in a local Kubernetes cluster was based on kind. This simplifies the example and default configuration, making it easier to run a minimal Aleph instance in a local Kubernetes cluster provided by Docker Desktop.
Additionally, this PR includes two changes to the Aleph Helm chart:
Sets the default
ingest-file
version to3.19.3
, the latest release (the default version in the chart was out of sync with the latest release).Marks the
SENTRY_DSN
key ref as optional. This way, starting containers will succeed, even if theSENTRY_DSN
key does not exist in thealeph-secrets
secret. Previously, starting containers that reference theSENTRY_DSN
key would fail (requiring users to manually create an emptySENTRY_DSN
key in thealeph-secrets
secret).