Comments (5)
Sorry that this is a duplicate of Deployment. I will replace it with a pod template before making a pull request.
Default is
server.kind=Deployment
. Unless you explicitly setserver.kind=DaemonSet
, it will behave as before.
Yeah I wasn't really worried about that.
When using Deployment, there is no guarantee that replicas will always be placed on different nodes. I do not want multiple replicas placed on the same node for stable operation.
On the contrary, you can specify affinity and anti-affinity rules so that pods will not end up on the same node: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity. In our helm chart, you can set global.affinity.podAntiAffinity
(or override with custom rules in server.affinity
and worker.affinity
) to soft
(the default) so that pods will not end up on the same node or hard
so that they don't end up in the same zone: https://github.com/goauthentik/helm/blob/main/charts/authentik/templates/_helpers.tpl#L66.
from helm.
I'm not keen to add another template that's basically a duplicate of what is defined in the deployment one. What's the use case for this?
from helm.
Hi @rissson,
Sorry that this is a duplicate of Deployment. I will replace it with a pod template before making a pull request.
Default is server.kind=Deployment
. Unless you explicitly set server.kind=DaemonSet
, it will behave as before.
When using Deployment, there is no guarantee that replicas will always be placed on different nodes.
I do not want multiple replicas placed on the same node for stable operation.
from helm.
Thank you for your advice! :)
I'll try using global.affinity.podAntiAffinity
from helm.
Related Issues (20)
- GitOps (Flux) Authentik "secret_key" encryption at rest. HOT 1
- HTTPS with LoadBalancer? HOT 1
- The Redis HPA is no longer supported in the latest version of K8S HOT 2
- Feature Request: Add support to import blueprints from Secrets HOT 3
- Redis: Cannot define StorageClass HOT 3
- Feature Request: Add bootstrap variables HOT 1
- Running authentik with pgpool HOT 1
- support referencing kubernetes secrets for postgres & redis configuration HOT 2
- PDB does not use right set of labels as selector HOT 1
- <.Chart.IsRoot>: can't evaluate field IsRoot in type interface {}
- Bug: Error in 2024.2.0 helm chart ingress HOT 1
- additionalObjects "cannot retrieve Template.Basepath from values inside tpl function" HOT 1
- Error when enabling geoip in chart HOT 1
- bug: invalid YAML templates/server/deployment.yaml HOT 1
- nodeSelectorTerms is set to an empty object when configuring server or worker affinity HOT 1
- Authentik shows internal pod IPv6 for Users instead of public IP HOT 1
- Secret blueprints treated as ConfigMap volumes HOT 1
- [Question] Environment variables failing to be detected HOT 1
- 2024.4.0 Update - Worker Pod Startup Probe Fails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm.