SHARE
TWEET

Untitled

a guest Sep 21st, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4.   name: dind-k8s
  5. spec:
  6.   containers:
  7.     - name: dind
  8.       image: <image>
  9.       securityContext:
  10.         privileged: true
  11.       volumeMounts:
  12.         - mountPath: /lib/modules
  13.           name: modules
  14.           readOnly: true
  15.         - mountPath: /sys/fs/cgroup
  16.           name: cgroup
  17.         - name: dind-storage
  18.           mountPath: /var/lib/docker
  19.   volumes:
  20.   - name: modules
  21.     hostPath:
  22.       path: /lib/modules
  23.       type: Directory
  24.   - name: cgroup
  25.     hostPath:
  26.       path: /sys/fs/cgroup
  27.       type: Directory
  28.   - name: dind-storage
  29.     emptyDir: {}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top