Загрузка...

Kubernetes Pods: How to Set Requests & Limits Correctly

#kubernetes #namespace #kubernetesdeployment #kubernetesservices #container #cloudcomputing #containerorchestration #sre

Course content can be find here:
https://github.com/path4cloud2024/CKA.git

To set a Kubernetes Metrics Server:
1) kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
2) check the pods is running in kube-system namespaces
3) if not, then you can edit and set the below two parameters:
# kubectl -n kube-system edit deployment metrics-server
########under container args section ############
- --kubelet-insecure-tls

- --kubelet-preferred-address-types=InternalIP

save and exit. Pods will get redeploy automatically and now you can run
# kubelet top pod ( to check the current consuption)

Видео Kubernetes Pods: How to Set Requests & Limits Correctly канала Path4Cloud
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять