diff --git a/README.md b/README.md index 840190cf4f861ab2eb139ff3795b88c58893766f..c1e2d6b8042daecc24e76de8ec413539506261fe 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,22 @@ make all ``` This will build the ix-device-plugin binary and ix-device-plugin image, see logging for more details. +## Deploying the IX device plugin + +### Deploying the IX device plugin via Yaml + +```shell +kubectl apply -f ix-device-plugin.yaml +``` + +### Deploying the IX device plugin via Helm + +```shell +cd deployment +helm package ix-device-plugin --version 4.3.0 +helm install ix-device-plugin ix-device-plugin-4.3.0.tgz +``` + ## Configuring the IX device plugin The IX device plugin has a number of options that can be configured for it. @@ -132,9 +148,6 @@ spec: - hostPath: path: /sys name: sys - - hostPath: - path: /etc/udev/ - name: udev-etc - hostPath: path: /dev name: dev diff --git a/deployment/ix-device-plugin/Chart.yaml b/deployment/ix-device-plugin/Chart.yaml index 2357e915d8eb0778a81b5a4da9b36b7879813abe..a802bde6b287d7894517af5af5a949ffe2d652f3 100644 --- a/deployment/ix-device-plugin/Chart.yaml +++ b/deployment/ix-device-plugin/Chart.yaml @@ -1,24 +1,6 @@ apiVersion: v2 -name: iluvatar-device-plugin +appVersion: 1.16.0 description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. +name: ix-device-plugin type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" +version: 4.3.0 diff --git a/deployment/ix-device-plugin/values.yaml b/deployment/ix-device-plugin/values.yaml index 409515bf5844be5ec3ffb0e5a307a5e8966f8c57..14cdf387d07a999d48f20f23077c84cb45c4c6f5 100644 --- a/deployment/ix-device-plugin/values.yaml +++ b/deployment/ix-device-plugin/values.yaml @@ -3,7 +3,7 @@ # Declare variables to be passed into your templates. image: - repository: ix-device-plugin + repository: registry.iluvatar.com.cn:10443/k8s/ix-device-plugin pullPolicy: IfNotPresent tag: "4.3.0" @@ -54,9 +54,6 @@ volumes: - name: sys hostPath: path: /sys - - name: udev-etc - hostPath: - path: /etc/udev/ - name: dev hostPath: path: /dev diff --git a/ix-device-plugin.yaml b/ix-device-plugin.yaml index 8a6a68957787c198312412f6b3b2ed2ea5ea7e84..04d6a05fd4b8b2522ec186aa9340bf3cc791cbd6 100644 --- a/ix-device-plugin.yaml +++ b/ix-device-plugin.yaml @@ -95,9 +95,6 @@ spec: - hostPath: path: /sys name: sys - - hostPath: - path: /etc/udev/ - name: udev-etc - hostPath: path: /dev name: dev