nginx
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: my-nginx
namespace: default
spec:
replicas: 1
template:
metadata:
labels:
run: my-nginx
spec:
containers:
- name: my-nginx
image: nginx
ports:
- containerPort: 80
busybox
apiVersion: v1
kind: Pod
metadata:
name: busybox
namespace: kxyyq4
spec:
containers:
- image: busybox
command:
- sleep
- "3600"
imagePullPolicy: IfNotPresent
name: busybox
restartPolicy: Always