Created
October 23, 2025 11:39
-
-
Save tairov/d95cf8060d2f2ab2d8d833107f861e19 to your computer and use it in GitHub Desktop.
just pod with curl
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
| 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