kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch16/sleep.yaml

18 lines
279 B
YAML
Raw Permalink Normal View History

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