kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch02/deployment.yaml

17 lines
289 B
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-kiamol-4
spec:
selector:
matchLabels:
app: hello-kiamol-4
template:
metadata:
labels:
app: hello-kiamol-4
spec:
containers:
- name: web
image: kiamol/ch02-hello-kiamol