Skip to content

Instantly share code, notes, and snippets.

@arsalanses
Created February 21, 2024 12:23
Show Gist options
  • Select an option

  • Save arsalanses/2fa9f53de5b706e011270ef5a6d28604 to your computer and use it in GitHub Desktop.

Select an option

Save arsalanses/2fa9f53de5b706e011270ef5a6d28604 to your computer and use it in GitHub Desktop.
nettools kube manifest
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