Created
July 3, 2023 15:51
-
-
Save liweinan/867f308b36b0309b8f4c85b4ed449a51 to your computer and use it in GitHub Desktop.
A Pod With Multiple Containers
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
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: mc | |
spec: | |
containers: | |
- name: c0 | |
image: ubuntu | |
command: [ "/bin/bash", "-c", "while true; do echo c0; sleep 5 ; done" ] | |
- name: c1 | |
image: ubuntu | |
command: [ "/bin/bash", "-c", "while true; do echo c1; sleep 5 ; done" ] |
Author
liweinan
commented
Jul 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment