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

17 lines
279 B
YAML
Raw Normal View History

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