Differences between revisions 9 and 15 (spanning 6 versions)
Revision 9 as of 2019-09-17 02:05:27
Size: 654
Editor: PieterSmit
Comment: shorter
Revision 15 as of 2024-03-17 08:01:06
Size: 1364
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * 2024 - k8s admin - https://overcast.blog/17-kubernetes-libraries-you-should-be-using-in-2024-1c181f15a0aa
 * K8s networking
   * CNI - Calico + ebpf
   * https://sookocheff.com/post/kubernetes/understanding-kubernetes-networking-model/
   * https://itnext.io/routing-external-traffic-into-my-kubernetes-services-deb3e872f7bd
Line 10: Line 15:
== k8s overview ==
* Things to know about k8s in 2024 - [[https://overcast.blog/13-kubernetes-configurations-you-should-know-in-2024-54eec72f307e]]
Line 15: Line 23:
== Patch a deployment to add cpu reservation ==
 * {{{
kubectl patch deployment metrics-server -p '{"spec":{"template":{"spec":{"containers":[{ "name": "metrics-server","resources":{"requests":{"cpu":"20m"}} }]}} }}'
}}}

Kubernetes / k8s

Child Pages

k8s overview

* Things to know about k8s in 2024 - https://overcast.blog/13-kubernetes-configurations-you-should-know-in-2024-54eec72f307e

Security

---

Patch a deployment to add cpu reservation

  • kubectl patch deployment metrics-server -p '{"spec":{"template":{"spec":{"containers":[{ "name": "metrics-server","resources":{"requests":{"cpu":"20m"}} }]}} }}'

Edit a deployment, e.g. remove a startup container failing

  • Edit deployment

    # kubectl --namespace nsp-tst edit deployments myservice 


CategoryK8sKubernetes

k8s (last edited 2024-05-09 21:29:26 by PieterSmit)