Created
April 18, 2018 08:04
-
-
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"
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:#{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