Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2019-04-01 08:15:23
Size: 111
Editor: PieterSmit
Comment:
Revision 10 as of 2019-10-07 22:08:11
Size: 879
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Kubernetes = ## page was renamed from Kubernetes
= Kubernetes / k8s =
Line 4: Line 5:
 * https://www.replex.io/blog/everything-you-need-to-know-about-kubernetes-quality-of-service-qos-classes

== Child Pages ==
<<ChildPages>>

== Security ==
 * NCC - https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2019/august/tools-and-methods-for-auditing-kubernetes-rbac-policies/


---
== 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

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)