Created
June 17, 2020 06:57
-
-
Save velotiotech/2c9a88dd480981787c5cce4ad3032a82 to your computer and use it in GitHub Desktop.
This file contains 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/v1beta1 | |
kind: Deployment | |
metadata: | |
name: helloapp | |
spec: | |
replicas: 1 | |
strategy: | |
type: RollingUpdate | |
rollingUpdate: | |
maxSurge: 1 | |
maxUnavailable: 1 | |
template: | |
metadata: | |
labels: | |
app: helloapp | |
env: {{ .Values.labels.env }} | |
cluster: {{ .Values.labels.cluster }} | |
spec: | |
containers: | |
- name: helloapp | |
image: {{ .Values.image.repository }}:{{ .Values.image.tag }} | |
imagePullPolicy: {{ .Values.image.imagePullPolicy }} | |
readinessProbe: | |
httpGet: | |
path: /hello | |
port: 8080 | |
initialDelaySeconds: 5 | |
periodSeconds: 5 | |
successThreshold: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment