Created
May 9, 2020 14:27
-
-
Save vamsijakkula/d07543cb97da155d1abe9f0b42b4f96b to your computer and use it in GitHub Desktop.
Hello Whale Green
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
#Hellowhale-Deployment.yml | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: hello-whale | |
spec: | |
replicas: 5 | |
strategy: | |
type: RollingUpdate | |
rollingUpdate: | |
maxSurge: 3 | |
maxUnavailable: 0 | |
selector: | |
matchLabels: | |
app: hello-whale-app | |
template: | |
metadata: | |
name: hello-green-whale-pod | |
labels: | |
app: hello-whale-app | |
spec: | |
containers: | |
- name: hello-whale-container | |
image: vamsijakkula/hello-green-whale:v1 | |
imagePullPolicy: Always | |
ports: | |
- containerPort: 80 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment