23 lines
359 B
YAML
23 lines
359 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
|
||
|
|