k8s/SshLoginLinode

apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: debug
  namespace: vigor
spec:
  selector:
    matchLabels:
     app: debug
  template:
    metadata:
      labels:
        app: debug
    spec:
      containers:
        - name: debug
          image: docker.io/diepes/debug:latest
          securityContext:
            privileged: true
          command:
            - "/bin/sh"
            - "-c"
            - |
              sleep 1200
          volumeMounts:
            - name: root
              mountPath: /mnt/root
            - name: ssh-keys
              mountPath: /mnt/keys
      volumes:
        - name: root
          hostPath:
            path: /root
        - name: ssh-keys
          configMap:
            name: root-ssh-pubkeys
            optional: true

k8s/SshLoginLinode (last edited 2022-12-05 07:17:39 by PieterSmit)