-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up chart and introduce KubeVirt device plugin
- Loading branch information
1 parent
c2c1794
commit 4caa605
Showing
12 changed files
with
146 additions
and
278 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
labels: | ||
{{- include "labels" $ | nindent 4 }} | ||
name: {{ $.Chart.Name }} | ||
namespace: {{ $.Release.Namespace }} | ||
spec: | ||
selector: | ||
matchLabels: | ||
kind: DaemonSet | ||
{{- include "selectorLabels" $ | nindent 6 }} | ||
template: | ||
metadata: | ||
annotations: | ||
kubectl.kubernetes.io/default-container: device-selector | ||
labels: | ||
kind: DaemonSet | ||
{{- include "labels" $ | nindent 8 }} | ||
spec: | ||
containers: | ||
- args: | ||
- --debug={{ $.Values.deviceSelector.debug }} | ||
env: | ||
- name: KUBE_VIRT_NAME | ||
value: kubevirt | ||
- name: KUBE_VIRT_NAMESPACE | ||
value: harvester-system | ||
image: {{ $.Values.deviceSelector.image }}:{{ $.Values.deviceSelector.tag }} | ||
{{- if $.Values.deviceSelector.pullPolicy }} | ||
imagePullPolicy: {{ $.Values.deviceSelector.pullPolicy }} | ||
{{- end }} | ||
name: device-selector | ||
{{- if $.Values.deviceSelector.resources }} | ||
resources: | ||
{{- $.Values.deviceSelector.resources | toYaml | nindent 10 }} | ||
{{- end }} | ||
securityContext: | ||
privileged: true | ||
volumeMounts: | ||
- mountPath: /lib/modules | ||
name: modules | ||
- mountPath: /sys | ||
name: sys | ||
- mountPath: /var/lib/kubelet/plugins_registry | ||
name: kubelet | ||
subPath: plugins_registry | ||
hostAliases: | ||
- hostnames: | ||
- device-selector | ||
ip: 127.0.0.1 | ||
priorityClassName: system-node-critical | ||
serviceAccountName: {{ $.Chart.Name }} | ||
volumes: | ||
- hostPath: | ||
path: {{ $.Values.kubelet }} | ||
name: kubelet | ||
- hostPath: | ||
path: /lib/modules | ||
name: modules | ||
- hostPath: | ||
path: /sys | ||
name: sys |
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
charts/fpga-cloud/templates/network-attachment-definition.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
charts/fpga-cloud/templates/virtual-machine-template-version.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.