blog/blog-deploy.yaml

25 lines
417 B
YAML

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
imagePullSecrets:
- name: registry-credential