kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch07/numbers/api.yaml

19 lines
306 B
YAML

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