diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index 80d3757..5feed85 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -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: diff --git a/configuration/kubernetes/service.yaml b/configuration/kubernetes/service.yaml index 5ff73c5..bcb0e4d 100644 --- a/configuration/kubernetes/service.yaml +++ b/configuration/kubernetes/service.yaml @@ -9,8 +9,8 @@ spec: selector: app: RESOURCE_NAME ports: - - port: 9090 + - port: 5000 protocol: TCP - targetPort: 9090 + targetPort: 5000 sessionAffinity: None type: ClusterIP \ No newline at end of file