mirror of https://github.com/k3s-io/k3s
26 lines
673 B
YAML
26 lines
673 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: flex-ds
|
|
spec:
|
|
template:
|
|
metadata:
|
|
name: flex-deploy
|
|
labels:
|
|
app: flex-deploy
|
|
spec:
|
|
containers:
|
|
# TODO Change to your container registry.
|
|
- image: "<image_url>"
|
|
name: flex-deploy
|
|
securityContext:
|
|
privileged: true
|
|
volumeMounts:
|
|
- mountPath: /flexmnt
|
|
name: flexvolume-mount
|
|
volumes:
|
|
- name: flexvolume-mount
|
|
hostPath:
|
|
# TODO Change to the Flexvolume plugin directory of your cluster.
|
|
path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/
|