kubernetes tutorial, kubernetes architecture, kubernetes networking, kubernetes vs docker, kubernetes install on windows, kubernetes course, kubernetes advanced tutorial, kubernetes beginner, kubernetes commands, kubernetes docker
apiVersion: apps/v1
kind: Deployment
metadata:
name: busybox-deployment
labels:
app: busybox
spec:
replicas: 5
strategy:
type: RollingUpdate
selector:
matchLabels:
app: busybox
template:
metadata:
labels:
app: busybox
spec:
containers:
name: busybox
image: busybox
command: ['sh', '-c', 'echo Hello world ; sleep 3600']
save the file as deployment.yaml config file