Created
February 7, 2019 14:58
-
-
Save gotraveltoworld/ee1dc6a2de99790d09d303d79fffe6dc to your computer and use it in GitHub Desktop.
To build my first pod.yaml.
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
# first_pod.yaml | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: k8s-pod-nodejs | |
labels: | |
app: webserver | |
spec: | |
containers: | |
- name: k8s-pod-nodejs | |
image: futuretraveler/nodejs-example | |
ports: | |
- containerPort: 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment