20 lines
395 B
YAML
20 lines
395 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: ssh-client
|
|
namespace: default
|
|
spec:
|
|
nodeSelector:
|
|
nodegroup: svc
|
|
containers:
|
|
- name: ssh-client
|
|
image: alpine:3.20
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- |
|
|
apk add --no-cache openssh-client bash
|
|
echo "Pod ready. Use 'kubectl exec -it ssh-client -- bash' to enter."
|
|
sleep infinity
|
|
restartPolicy: Never
|