0 points

Pod with command running in it


dashboard

Sun Nov 29 2020 21:02:47 GMT+0000 (UTC)

Posted by @ankity09 #aws,ckad

apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: null
  labels:
    run: loop
  name: loop
spec:
  containers:
  - args:
    - /bin/sh
    - -c
    - while true; do date; sleep 10; done
    image: busybox
    name: loop
    resources: {}
  dnsPolicy: ClusterFirst
  restartPolicy: Never
status: {}
content_copy Copy