Created
April 4, 2018 07:47
-
-
Save ahelland/1ffce357c97800f9d7d5c078d48da26a to your computer and use it in GitHub Desktop.
Kubernetes YAML definition for api-playground deployment/service referred to in "Building Microservices with AKS and VSTS — Part 2"
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: 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:latest | |
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