Commit 75406134 authored by daidekun's avatar daidekun

adjustment

parent 393fc340
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: redpacket-server-deployment
spec:
replicas: 1 # tells deployment to run 2 pods matching the template
template: # create pods using pod definition in this template
metadata:
labels:
app: redpacket
spec:
containers:
- name: redpacket
image: 192.168.4.36:5000/redpacket/redpacket
ports:
- containerPort: 8080
\ No newline at end of file
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: redpacket-server
labels:
name: redpacket-server
spec:
replicas: 2
template:
metadata:
name: redpacket-server
labels:
name: redpacket
spec:
containers:
- name: "redpacket-server"
image: "192.168.4.36:5000/redpacket/redpacket"
ports:
- containerPort: 8080
- containerPort: 7031
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment