Skip to content

Latest commit

 

History

History
69 lines (53 loc) · 1.9 KB

README.md

File metadata and controls

69 lines (53 loc) · 1.9 KB

other Stuff

short RBAC example

  • Kubernetes clusters have to types of users service accounts and normal users , but normal users are assumed to be managed by an outside service.
  • rbac-clusterrole
  • kubectl auth can-i COMMAND OBJECTCLASS
    • kubectl auth can-i create deployments --as bob --namespace developer

Erstellen von CronJobs and Jobs

Helm

https://docs.helm.sh/using_helm/

Debugging of Kubernetes components

PodSecurityPolicy

psp.yaml capabilities

Horizontal Pod Autoscaler (HPA)

  • first: we need a metric server.
    • minikube: minikube addons enable metrics-server
  • deployment-example
  • deploy hpa
    • kubectl -n demo autoscale deployment php --cpu-percent=50 --min=1 --max=10
    • hpa.yaml
  • generate load
    • while true; do wget -q -O- http://$(minikube ip):31080 ; done

To Create Informations

  • HA Master

  • Volumes, PersistentVolumes, StorageClasses

  • Users, Groups, Login, RBAC advanced

  • Autoscaling

  • Network Policies

  • CustomResources

  • Podtemplate - DNS Policy

  • Podtemplate - Affinity

  • Podtemplate - TerminationMessage

  • Taints and Tolerations

  • PodDisruptionBudget

  • PriorityClasses

  • ...