Created
June 30, 2021 08:47
-
-
Save JaniKibichi/ff3a51e476dce0c0894908b58f5b956d to your computer and use it in GitHub Desktop.
Utility USSD Deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: ussd-deployment | |
labels: | |
app: ussd | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: ussd | |
strategy: | |
type: RollingUpdate | |
rollingUpdate: | |
maxSurge: 1 | |
maxUnavailable: 33% | |
template: | |
metadata: | |
labels: | |
app: ussd | |
spec: | |
containers: | |
- name: ussd-api | |
image: gcr.io/smart-surf-285319/ussdapi | |
ports: | |
- containerPort: 7500 | |
livenessProbe: | |
httpGet: | |
path: /health | |
port: 7500 | |
initialDelaySeconds: 400 | |
periodSeconds: 200 | |
readinessProbe: | |
httpGet: | |
path: /health | |
port: 7500 | |
initialDelaySeconds: 400 | |
periodSeconds: 200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment