Created
July 26, 2019 20:00
-
-
Save j-griffith/9a182140073be6179e641c64607ed827 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: kubevirt-hpp | |
labels: | |
k8s-app: kubevirt-hpp | |
namespace: kube-system | |
spec: | |
selector: | |
matchLabels: | |
k8s-app: kubevirt-hpp | |
template: | |
metadata: | |
labels: | |
k8s-app: kubevirt-hpp | |
spec: | |
serviceAccount: hostpath-sa | |
serviceAccountName: hostpath-sa | |
containers: | |
- name: kubevirt-hpp-provisioner | |
image: jgriffith/hpp:spec | |
imagePullPolicy: Always | |
env: | |
- name: NODE_NAME | |
valueFrom: | |
fieldRef: | |
fieldPath: spec.nodeName | |
- name: PV_DIR | |
value: /var/hpvolumes | |
volumeMounts: | |
- name: pv-volume # root dir where your bind mounts will be on the node | |
mountPath: /var/hpvolumes | |
volumes: | |
- name: pv-volume | |
hostPath: | |
path: /hpvolumes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment