blog/blog-deploy.yaml

25 lines
417 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
2023-01-23 14:39:26 -05:00
imagePullSecrets:
- name: registry-credential
2023-01-21 16:43:27 -05:00