Last active
October 26, 2019 07:19
-
-
Save vamsijakkula/2b710cc44e91e12b2b83780f018630ad to your computer and use it in GitHub Desktop.
hello-blue-whale-deployment.yml
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-blue-whale | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: hello-blue-whale-app | |
template: | |
metadata: | |
name: hello-blue-whale-pod | |
labels: | |
app: hello-blue-whale-app | |
spec: | |
containers: | |
- name: hello-blue-whale-container | |
image: vamsijakkula/hello-blue-whale:v1 | |
imagePullPolicy: Always | |
ports: | |
- containerPort: 80 | |
imagePullSecrets: | |
- name: regcred |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment