[5.03.20] Changing ports
This commit is contained in:
parent
1c3f43570c
commit
57f86dff1c
@ -6,7 +6,7 @@ metadata:
|
||||
name: RESOURCE_NAME
|
||||
namespace: production
|
||||
spec:
|
||||
replicas: 0
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: RESOURCE_NAME
|
||||
@ -62,7 +62,7 @@ spec:
|
||||
name: endpoints
|
||||
key: dbGateway.url
|
||||
ports:
|
||||
- containerPort: 9090
|
||||
- containerPort: 5000
|
||||
name: RESOURCE_NAME
|
||||
# livenessProbe:
|
||||
# httpGet:
|
||||
@ -72,7 +72,7 @@ spec:
|
||||
# periodSeconds: 30
|
||||
# timeoutSeconds: 1
|
||||
# successThreshold: 1
|
||||
# failureThreshold: 3
|
||||
# failureThreshold: 1
|
||||
# readinessProbe:
|
||||
# httpGet:
|
||||
# port: 5000
|
||||
@ -81,7 +81,7 @@ spec:
|
||||
# periodSeconds: 5
|
||||
# timeoutSeconds: 1
|
||||
# successThreshold: 1
|
||||
# failureThreshold: 10
|
||||
# failureThreshold: 1
|
||||
imagePullPolicy: Always
|
||||
resources:
|
||||
requests:
|
||||
|
||||
@ -9,8 +9,8 @@ spec:
|
||||
selector:
|
||||
app: RESOURCE_NAME
|
||||
ports:
|
||||
- port: 9090
|
||||
- port: 5000
|
||||
protocol: TCP
|
||||
targetPort: 9090
|
||||
targetPort: 5000
|
||||
sessionAffinity: None
|
||||
type: ClusterIP
|
||||
Loading…
x
Reference in New Issue
Block a user