Skip to content
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 resource requests/limits #272

Open
guillaumerose opened this issue Nov 19, 2020 · 1 comment
Open

Update resource requests/limits #272

guillaumerose opened this issue Nov 19, 2020 · 1 comment

Comments

@guillaumerose
Copy link
Member

@guillaumerose guillaumerose commented Nov 19, 2020

Change

For Kube control plane components launched as static pods
For pods across all the openshift namespaces

How

(a) Enabling pre-compiled admission controller ‘MutatingAdmissionWebhook’ to inject required resource requests/limits values for pods across all the openshift namespaces (admission-webhook.yaml)
(b) Resources requests/limits are updated in the manifest files of Kube control plane components (launched as static pods by Kubelet) (update-kube-controlplane.sh)

Implemented in #246

Expected and mesured improvements

Pros

Cons

@guillaumerose
Copy link
Member Author

@guillaumerose guillaumerose commented Dec 15, 2020

Minikube has following requests:

  Namespace                  Name                                CPU Requests  CPU Limits  Memory Requests  Memory Limits  AGE
  ---------                  ----                                ------------  ----------  ---------------  -------------  ---
  kube-system                coredns-f9fd979d6-jpgtd             100m (5%)     0 (0%)      70Mi (1%)        170Mi (2%)     16m
  kube-system                etcd-minikube                       0 (0%)        0 (0%)      0 (0%)           0 (0%)         16m
  kube-system                kube-apiserver-minikube             250m (12%)    0 (0%)      0 (0%)           0 (0%)         16m
  kube-system                kube-controller-manager-minikube    200m (10%)    0 (0%)      0 (0%)           0 (0%)         16m
  kube-system                kube-proxy-8dcpm                    0 (0%)        0 (0%)      0 (0%)           0 (0%)         16m
  kube-system                kube-scheduler-minikube             100m (5%)     0 (0%)      0 (0%)           0 (0%)         16m
  kube-system                storage-provisioner                 0 (0%)        0 (0%)      0 (0%)           0 (0%)         16m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.