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

22 lines
359 B
YAML

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