Skip to content

Instantly share code, notes, and snippets.

@sjwaight
Last active April 27, 2017 11:14
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 sjwaight/9c14ff832e7da172bea815a2d3964f78 to your computer and use it in GitHub Desktop.
Save sjwaight/9c14ff832e7da172bea815a2d3964f78 to your computer and use it in GitHub Desktop.
Kubernetes deployment file for Global Azure Bootcamp 2017 Session.
apiVersion: v1
kind: Service
metadata:
name: gabdemo
spec:
ports:
- port: 80
selector:
app: gabdemo
type: LoadBalancer
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: gabdemo
spec:
replicas: 3
strategy:
type: Recreate
template:
metadata:
labels:
app: gabdemo
spec:
containers:
- image: YOUR_ACR_HERE.azurecr.io/gab2017/siliconvalve.gab2017.demowebcore:1.0
name: siliconvalve-gab2017-demowebcore
ports:
- containerPort: 80
imagePullSecrets:
- name: YOUR_SECRET_HERE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment