blog/blog-deploy.yaml

23 lines
359 B
YAML
Raw Normal View History

2023-01-21 16:43:27 -05:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: blog-dep
labels:
app: blog-dep
spec:
replicas: 2
selector:
matchLabels:
app: blog-dep
template:
metadata:
labels:
app: blog-dep
spec:
containers:
- name: mdblog
image: docker.scalz.cloud/blog
ports:
- containerPort: 3000