Created
December 11, 2018 07:55
-
-
Save danmaas/63b80cbf4c1dda07f9ff54f569ef37ce to your computer and use it in GitHub Desktop.
Continuous Deployment to Google Kubernetes Engine with CircleCI (Kubernetes 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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: staging-app | |
labels: | |
app: myapp | |
spec: | |
template: | |
metadata: | |
labels: | |
app: myapp | |
spec: | |
imagePullSecrets: | |
# ... as necessary | |
containers: | |
- name: staging-app | |
image: gcr.io/... # (this will be over-written by the CircleCI deployment script) | |
resources: # ... as necessary | |
env: # ... as necessary | |
ports: # ... as necessary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment