Kubernetes Pod Operations

From NovaOrdis Knowledge Base
Revision as of 22:37, 23 August 2019 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

kubectl get pods|po
kubectl describe pod <pod-name>
kubectl log <pod-name>

Create a Pod

From a Manifest

apiVersion: v1
kind: Pod
metadata:
  name: loop-pod
spec:
  containers:
  - name: loop-container
    image: loop:1