Created
September 20, 2021 12:07
-
-
Save dmi3mis/c798350ddc1f34b4d05a9812370a37f7 to your computer and use it in GitHub Desktop.
simple 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: pod | |
labels: | |
app: podapp | |
spec: | |
containers: | |
- resources: | |
image: registry.access.redhat.com/rhscl/httpd-24-rhel7:latest | |
name: pod | |
ports: | |
- containerPort: 8080 | |
name: http | |
env: | |
- name: MY_ENV | |
value: myvalue | |
status: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment