☸️Pod
Describe about What is Pod ?
# Pod Template
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
# For command it is entryPoint in docker if you add this property,it will override
# entrypoint within image
command: ["sleep"]
# For args it is CMD in docker if you add this property,it will override
# CMD within image
args: ["10"]
ports:
- containerPort: 80
Last updated