forked from scmlearningcentre/fispune
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpod2.yml
More file actions
14 lines (12 loc) · 674 Bytes
/
pod2.yml
File metadata and controls
14 lines (12 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
kind: Pod # Object Type
apiVersion: v1 # API version
metadata: # Set of data which describes the Object
name: testpod # Name of the Object
labels:
class: docker
env: dev
spec: # Data which describes the state of the Object
containers: # Data which describes the Container details
- name: c00 # Name of the Container
image: ubuntu # Base Image which is used to create Container
command: ["/bin/bash", "-c", "while true; do echo Hello-Adam; sleep 5 ; done"]