Created
February 21, 2024 12:23
-
-
Save arsalanses/2fa9f53de5b706e011270ef5a6d28604 to your computer and use it in GitHub Desktop.
nettools kube manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: busyboy | |
| namespace: arsalan-dev | |
| spec: | |
| restartPolicy: Never | |
| nodeSelector: | |
| kubernetes.io/hostname: 123.123.123.123 | |
| containers: | |
| - image: jrecord/nettools:latest | |
| name: nettools | |
| command: ["/bin/bash", "-c", "--"] | |
| args: | |
| - while true; do echo 'still dre'; sleep 10; done; | |
| imagePullPolicy: Never | |
| resources: | |
| limits: | |
| memory: "128Mi" | |
| cpu: "500m" | |
| # kubectl apply -f manifest.yml | |
| # kubectl exec -it --namespace arsalan-dev pods/busyboy -- bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment