Skip to content

Instantly share code, notes, and snippets.

@tairov
Created October 23, 2025 11:39
Show Gist options
  • Save tairov/d95cf8060d2f2ab2d8d833107f861e19 to your computer and use it in GitHub Desktop.
Save tairov/d95cf8060d2f2ab2d8d833107f861e19 to your computer and use it in GitHub Desktop.
just pod with curl
cat <<EOF | kubectl create -f -
apiVersion: apps/v1
kind: Deployment
metadata:
name: curl
spec:
replicas: 1
selector:
matchLabels:
app: curl
template:
metadata:
labels:
app: curl
spec:
containers:
- name: curl
image: curlimages/curl
command: ["/bin/sleep","3650d"]
imagePullPolicy: IfNotPresent
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment