kubernetes-training
kubernetes-training copied to clipboard
Skoleni Kubernetes
- http://127.0.0.1:8001/api/v1/namespaces/default/services/hello-world-clusterip:http/proxy/ - http://127.0.0.1:8001/api/v1/namespaces/default/services/hello-world-clusterip:metrics/proxy/metrics
``` apiVersion: v1 kind: Pod metadata: name: lifecycle-demo spec: containers: - name: lifecycle-demo-container image: nginx lifecycle: postStart: exec: command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] preStop:...
https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/