github.com/noironetworks/cilium-net@v1.6.12/contrib/k8s/microk8s-prepull.yaml (about)

     1  apiVersion: apps/v1
     2  kind: DaemonSet
     3  metadata:
     4    name: prepull
     5    namespace: kube-system
     6  spec:
     7    selector:
     8      matchLabels:
     9        name: prepull
    10    template:
    11      metadata:
    12        labels:
    13          name: prepull
    14      spec:
    15        initContainers:
    16        - name: prepull
    17          image: localhost:32000/cilium/cilium:local
    18          command: ["echo", "OK"]
    19          imagePullPolicy: Always
    20        containers:
    21        - name: pause
    22          image: gcr.io/google_containers/pause