elections: default http port change to 8000
This commit is contained in:
parent
89f28097ce
commit
a2af2c47f5
3 changed files with 7 additions and 7 deletions
|
@ -108,7 +108,7 @@
|
||||||
app: elections
|
app: elections
|
||||||
routename: elections
|
routename: elections
|
||||||
host: "elections{{ env_suffix }}.fedoraproject.org"
|
host: "elections{{ env_suffix }}.fedoraproject.org"
|
||||||
serviceport: 8080-tcp
|
serviceport: 8000-tcp
|
||||||
servicename: elections
|
servicename: elections
|
||||||
|
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
|
|
|
@ -39,7 +39,7 @@ spec:
|
||||||
- name: elections
|
- name: elections
|
||||||
image: elections:latest
|
image: elections:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8000
|
||||||
resources: {}
|
resources: {}
|
||||||
env:
|
env:
|
||||||
- name: KRB5_CONFIG
|
- name: KRB5_CONFIG
|
||||||
|
@ -71,13 +71,13 @@ spec:
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 8000
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 8000
|
||||||
volumes:
|
volumes:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
configMap:
|
||||||
|
|
|
@ -6,10 +6,10 @@ metadata:
|
||||||
name: elections
|
name: elections
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: 8080-tcp
|
- name: 8000-tcp
|
||||||
port: 8080
|
port: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 8080
|
targetPort: 8000
|
||||||
selector:
|
selector:
|
||||||
app: elections
|
app: elections
|
||||||
deploymentconfig: elections
|
deploymentconfig: elections
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue