Add config/deployment.yaml
This commit is contained in:
parent
324ea28d39
commit
37ccf6b593
20
config/deployment.yaml
Normal file
20
config/deployment.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: blog-deployment
|
||||||
|
labels:
|
||||||
|
app: blog
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: blog
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: blog
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: blog
|
||||||
|
image: 10.152.183.128:5000/log101-dot-dev:v3
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
Loading…
Reference in New Issue
Block a user