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