Skip to content

Instantly share code, notes, and snippets.

@danmaas
Created December 11, 2018 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danmaas/63b80cbf4c1dda07f9ff54f569ef37ce to your computer and use it in GitHub Desktop.
Save danmaas/63b80cbf4c1dda07f9ff54f569ef37ce to your computer and use it in GitHub Desktop.
Continuous Deployment to Google Kubernetes Engine with CircleCI (Kubernetes Deployment)
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