Pod Connectivity
How to deploy pods?
kubectl run myapp --image nginxkubectl get podskubectl describe pod myappkubectl delete pod myappkubectl run myapp-pod --image=nginx --dry-run=client -o yaml > myapp-pod.yamlkubectl create -f myapp-pod.yamlapiVersion: v1
kind: Pod
metadata:
labels:
run: myapp
name: myapp-pod
spec:
containers:
- image: nginx
name: myapp-container
restartPolicy: AlwaysLast updated