apiVersion: v1 kind: Pod metadata: name: ubuntu namespace: app02 labels: app: ubuntu spec: containers: - name: test002 image: ubuntu command: - "/bin/bash" args: ["-c", "while true; do echo hello; sleep 10;done"] # apt install iproute2 net-tools # args: # - "while true; do echo hello world; sleep 1;done"