Skip to content

Instantly share code, notes, and snippets.

@teopost
teopost / ubuntu-sleep.yaml
Last active October 31, 2023 09:55 — forked from tcdowney/ubuntu-sleep.yaml
Ubuntu Sleep Pod
# kubectl apply -f https://gist.githubusercontent.com/teopost/0ae4af9d5b6f2fa79283dca29fd77f1c/raw/eaae035f5adca37ca00d4a49f1c1958fe3db89e3/ubuntu-sleep.yaml
# kubectl exec -it ubuntu -- /bin/bash
# apt update && apt-get install -y telnet curl net-tools ssh nmap iputils-ping bind9-utils
# oppure:
# kubectl run -i --tty busybox --image=busybox --restart=Never -- sh
apiVersion: v1
kind: Pod
metadata:
name: ubuntu
labels:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.plain-text</string>