Created
November 8, 2019 07:02
-
-
Save SarasaGunawardhana/6108f522f102d5cf53192fe2d4640e0f to your computer and use it in GitHub Desktop.
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/v1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: null | |
labels: | |
run: my-service-1 | |
name: my-service-1 | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
run: my-service-1 | |
strategy: {} | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
run: my-service-1 | |
spec: | |
containers: | |
- image: <URL for your docker image in docker registry> | |
name: my-service-1 | |
env: | |
- name: PORT | |
value: "4002" | |
- name: NODE_ENV | |
value: "development" | |
- name: VERSION | |
value: "v0.0.0.1" | |
imagePullPolicy: Always | |
ports: | |
- containerPort: 4002 | |
status: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment