Skip to content

Instantly share code, notes, and snippets.

@orsenthil
Created January 27, 2025 01:50
Show Gist options
  • Save orsenthil/beba39d42402422c28aad65617dfea93 to your computer and use it in GitHub Desktop.
Save orsenthil/beba39d42402422c28aad65617dfea93 to your computer and use it in GitHub Desktop.
Pod against node.
apiVersion: v1
kind: Pod
metadata:
name: curl-pod
spec:
containers:
- name: curl-container
image: curlimages/curl
command: ['sh', '-c', 'while true; do sleep 30; done;']
nodeSelector:
kubernetes.io/hostname: ip-192-168-25-233.us-west-2.compute.internal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment