Answers for "kubernetes while true sleep"

-1

kubernetes while true sleep

apiVersion: v1
kind: Pod
metadata:
  name: ubuntu
spec:
  containers:
  - name: ubuntu
    image: ubuntu:latest
    # Just spin & wait forever
    command: [ "/bin/bash", "-c", "--" ]
    args: [ "while true; do sleep 30; done;" ]
Posted by: Guest on July-01-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language