Files
mariadb-dev-example-orders/api/nodejs/deployment.yml
2021-01-21 14:53:34 -06:00

16 lines
429 B
YAML

apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: orders-api-deployment
spec:
replicas: 1
template:
metadata:
labels: # labels to select/identify the deployment
app: orders-api
spec: # pod spec
containers:
- name: orders-api
image: gcr.io/mariadb-technical-marketing/orders-api-image:v1 # image we pushed
ports:
- containerPort: 80