Differences between revisions 7 and 11 (spanning 4 versions)
Revision 7 as of 2019-08-28 21:30:57
Size: 456
Editor: PieterSmit
Comment:
Revision 11 as of 2019-10-10 09:56:23
Size: 980
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Kubernetes
Line 2: Line 3:
 * K8s networking https://sookocheff.com/post/kubernetes/understanding-kubernetes-networking-model/
Line 9: Line 11:
== Security ==
 * NCC - https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2019/august/tools-and-methods-for-auditing-kubernetes-rbac-policies/
Line 11: Line 16:
== 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

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)