Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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;" ]
Comment

sleep infinity kubernetes

command: [ "sleep" ]
 args: [ "infinity" ]
Comment

PREVIOUS NEXT
Code Example
Shell :: docker created network and attach a docker container 
Shell :: docker redis 
Shell :: how to undo a local commit 
Shell :: PDF Acrobat ubunut 
Shell :: pyopengl install 
Shell :: git change ssh key 
Shell :: uninstall dependency npm 
Shell :: how to revert to last git commit 
Shell :: Git: push to create project 
Shell :: bash delete file 
Shell :: how to WSL2 
Shell :: how to run bash scripts 
Shell :: download subfolder from github 
Shell :: delete a file from repo history 
Shell :: git check ssh local 
Shell :: como instalar brew en linux 
Shell :: how to enable autostart apache 
Shell :: link local to remote git 
Shell :: git squash 
Shell :: ERR_NO_CERTIFICATES: Encountered adb error: NoCertificates. ionic 
Shell :: tr new line 
Shell :: create user linux 
Shell :: save docker update container state 
Shell :: how to delete command from terminal history 
Shell :: error: src refspec main does not match any error: failed to push some refs to 
Shell :: git log with simple graph 
Shell :: How to start a service with systemctl command 
Shell :: git push asking for username after setting up ssh key 
Shell :: install docker-compose in centos 8 
Shell :: add python to path zsh 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =