kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch03/sleep/sleep1.yaml

17 lines
263 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: sleep-1
spec:
selector:
matchLabels:
app: sleep-1
template:
metadata:
labels:
app: sleep-1
spec:
containers:
- name: sleep
image: kiamol/ch03-sleep