Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: v1
- kind: Pod
- metadata:
- name: nginx
- spec:
- containers:
- - name: nginx
- image: nginx
- ports:
- - containerPort: 80
- up@up01:~$ kubectl get pods --all-namespaces
- NAMESPACE NAME READY STATUS RESTARTS AGE
- default busybox 0/1 ContainerCreating 0 11m
- default nginx 0/1 ContainerCreating 0 22m
- kube-system dummy-2088944543-n1cd5 1/1 Running 0 5d
- kube-system etcd-up01 1/1 Running 0 5d
- kube-system kube-apiserver-up01 1/1 Running 0 5d
- kube-system kube-controller-manager-up01 1/1 Running 0 5d
- kube-system kube-discovery-1769846148-xfpls 1/1 Running 0 5d
- kube-system kube-dns-2924299975-5rzz8 4/4 Running 0 5d
- kube-system kube-proxy-17bpl 1/1 Running 2 3d
- kube-system kube-proxy-3pk63 1/1 Running 0 3d
- kube-system kube-proxy-h3wrj 1/1 Running 0 5d
- kube-system kube-proxy-wzqv4 1/1 Running 0 3d
- kube-system kube-proxy-z3xxx 1/1 Running 0 3d
- kube-system kube-scheduler-up01 1/1 Running 0 5d
- kube-system kubernetes-dashboard-3203831700-3xfbd 1/1 Running 0 5d
- kube-system weave-net-6c0nr 2/2 Running 0 3d
- kube-system weave-net-dchhf 2/2 Running 0 5d
- kube-system weave-net-hshvg 2/2 Running 4 3d
- kube-system weave-net-n684c 2/2 Running 1 3d
- kube-system weave-net-r5319 2/2 Running 0 3d
- kubectl create --namespace kube-system -f nginx.yaml
- kubectl describe pods <pod>
Add Comment
Please, Sign In to add comment