-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
DeploymentConfig manifest settings are ignored #11348
Comments
What is this even? This is not a resource type supported by K3s, I wouldn't expect it to even deploy correctly let alone be used. The coredns deployment that comes with K3s is not deployed via Helm. It is just a flat manifest: If you want to customize the coredns config beyond what is possible via coredns corefile drop-ins, you should start k3s with |
You're right @brandond, I forgot the to update the
|
Kubernetes manifests aren't merged like that; your deployment will REPLACE the existing one. If you try to manage the same resource from multiple manifests bad things will happen. You should stop k3s, copy coredns.yaml to coredns-custom.yaml, make your changes, then start k3s again with |
Thank you @brandond. Since my goal is to standardize the resources to following best-practice format example for
I was wondering if if a good idea to create a PR for Looking at
Should become:
I'm curious why there is no memory limit set, this is quite problematic, if a memory leak occurs. The above listed new values are good IMO, I was looking at the metrics. |
I have honestly never seen this as necessary, and shipping with default requests and limits would be a premature optimization that would not fit everyone's use cases. These are low-overhead, mature projects that do not leak memory. They work fine as-is and have for years. |
Environmental Info:
K3s Version:
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
3 servers + 5 agents, HA enabled
Describe the bug:
My goal is to set specific
cordons
resources. For some reason, theDeploymentConfig
configuration is ignored, while starting the K3s server.Steps To Reproduce:
During K3s installation, I create the following file on each server and start the service:
The above deployment settings are ignored:
Not sure if is related, the
coredns.yaml
file is not properly formatted, note thecontainers
list indentations:The text was updated successfully, but these errors were encountered: