Skip to content

Instantly share code, notes, and snippets.

@ahelland
Created April 18, 2018 08:04
Show Gist options
  • Save ahelland/2fe040b7e76dacf01da1022a751b30e8 to your computer and use it in GitHub Desktop.
Save ahelland/2fe040b7e76dacf01da1022a751b30e8 to your computer and use it in GitHub Desktop.
Kubernetes YAML definition for api-playground referred to in "Building Microservices with AKS and VSTS — Part 4"
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: api-playground
spec:
template:
metadata:
labels:
app: api-playground
spec:
containers:
- name: api-playground
image: myFiddleregistry.azurecr.io/apiplayground:#{Version}#
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: api-playground
spec:
ports:
- port: 80
selector:
app: api-playground
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment