Last active
October 17, 2018 20:44
-
-
Save benjackwhite/6b3fe27d788b46c342b5796aa4f00ee3 to your computer and use it in GitHub Desktop.
Minimal viable app
This file contains 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: ben-test-((TAG)) | |
namespace: abakus | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: ben-test-((TAG)) | |
spec: | |
containers: | |
- name: ben-test-((TAG)) | |
image: netlight/docker-workshop:((TAG)) | |
imagePullPolicy: Always | |
ports: | |
- containerPort: 8080 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: ben-test-((TAG)) | |
namespace: abakus | |
spec: | |
ports: | |
- port: 80 | |
targetPort: 8080 | |
selector: | |
app: ben-test-((TAG)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment