-
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
Ability to define the coredns and metrics-server pod resources #11342
Comments
The values you are looking for are defined in https://github.com/k3s-io/k3s/blob/master/manifests/coredns.yaml#L125-L130. They are controlled via the manifests for the pods. You will need to override those values with your own using. https://docs.k3s.io/helm#customizing-packaged-components-with-helmchartconfig. |
Thank you for the useful information @dereknola. Just some clarification, your Helm example talks about Since containers are a list, setting a specific value will delete the other list elements:
What would be the correct template format? |
Environmental Info:
K3s Version:
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
3 servers + 5 agents, HA enabled
Describe the bug:
I looked at the server configuration documentation and I could find any relevant setting allowing me to define the
coredns
andmetrics-server
resources. I also did a search through closed issues, without finding any relevant information. I see for example themetrics-server
pod resources set to:Where are these values configured? Ideally, I would like to also set the number of pods to 2 (instead of 1), not sure if this is recommended.
Current server configuration on
apollo
server:The text was updated successfully, but these errors were encountered: