[intel-gpu-plugin] Migrate to common v3 (#966)

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-06-10 14:15:25 +02:00 committed by GitHub
parent 1e74de9af1
commit b0067a5394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 60 additions and 52 deletions

View File

@ -1,6 +1,6 @@
apiVersion: v2
name: intel-gpu-plugin
version: 2.0.0
version: 3.0.0
appVersion: 0.20.0
description: The Intel GPU plugin facilitates offloading the processing of computation intensive workloads to GPU hardware
keywords:
@ -15,7 +15,9 @@ sources:
maintainers:
- name: billimek
email: jeff@billimek.com
- name: bjw-s
email: me@bjw-s.dev
dependencies:
- name: common
version: 2.5.0
version: 3.0.2
repository: https://library-charts.k8s-at-home.com

View File

@ -1,6 +1,6 @@
# intel-gpu-plugin
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: 0.20.0](https://img.shields.io/badge/AppVersion-0.20.0-informational?style=flat-square)
![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: 0.20.0](https://img.shields.io/badge/AppVersion-0.20.0-informational?style=flat-square)
The Intel GPU plugin facilitates offloading the processing of computation intensive workloads to GPU hardware
@ -16,7 +16,7 @@ The Intel GPU plugin facilitates offloading the processing of computation intens
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.2 |
## TL;DR
@ -87,37 +87,17 @@ affinity:
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| args[0] | string | `"-shared-dev-num"` | |
| args[1] | string | `"1"` | |
| controllerType | string | `"daemonset"` | |
| envValueFrom.NODE_NAME.fieldRef.fieldPath | string | `"spec.nodeName"` | |
| hostPathMounts[0].emptyDir | bool | `false` | |
| hostPathMounts[0].enabled | bool | `true` | |
| hostPathMounts[0].hostPath | string | `"/dev/dri"` | |
| hostPathMounts[0].mountPath | string | `"/dev/dri"` | |
| hostPathMounts[0].name | string | `"devfs"` | |
| hostPathMounts[0].readOnly | bool | `true` | |
| hostPathMounts[1].emptyDir | bool | `false` | |
| hostPathMounts[1].enabled | bool | `true` | |
| hostPathMounts[1].hostPath | string | `"/sys/class/drm"` | |
| hostPathMounts[1].mountPath | string | `"/sys/class/drm"` | |
| hostPathMounts[1].name | string | `"sysfs"` | |
| hostPathMounts[1].readOnly | bool | `true` | |
| hostPathMounts[2].emptyDir | bool | `false` | |
| hostPathMounts[2].enabled | bool | `true` | |
| hostPathMounts[2].hostPath | string | `"/var/lib/kubelet/device-plugins"` | |
| hostPathMounts[2].mountPath | string | `"/var/lib/kubelet/device-plugins"` | |
| hostPathMounts[2].name | string | `"kubeletsockets"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"intel/intel-gpu-plugin"` | |
| image.tag | string | `"0.20.0"` | |
| ingress.enabled | bool | `false` | |
| probes.liveness.enabled | bool | `false` | |
| probes.readiness.enabled | bool | `false` | |
| probes.startup.enabled | bool | `false` | |
| service.enabled | bool | `false` | |
| serviceAccount.create | bool | `true` | |
| strategy.type | string | `"Recreate"` | |
| args | list | `["-shared-dev-num","1"]` | Override the args for the default container Refer to the [plugin documentation](https://github.com/intel/intel-device-plugins-for-kubernetes/blob/main/cmd/gpu_plugin/README.md) for more information. |
| controller.type | string | `"daemonset"` | Run this chart as a daemonset. Do not modify unless you know what you are doing. |
| envValueFrom.NODE_NAME | object | `spec.nodeName` | Sets the NODE_NAME env var to the name of the node where the pod is running. Do not modify unless you know what you are doing. |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"intel/intel-gpu-plugin"` | image repository |
| image.tag | string | `"0.20.0"` | image tag |
| ingress.main.enabled | bool | `false` | Ingress is disabled for this chart. Do not modify unless you know what you are doing. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| probes | object | See values.yaml | Disable probes for this chart since there is no service. Do not modify unless you know what you are doing. |
| service.main.enabled | bool | `false` | Main service is disabled for this chart. Do not modify unless you know what you are doing. |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
## Changelog
@ -125,6 +105,13 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [3.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.2. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.2/charts/stable/common/) for the up-to-date values.
### [2.0.0]
#### Added

View File

@ -9,6 +9,13 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [3.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.2. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.2/charts/stable/common/) for the up-to-date values.
### [2.0.0]
#### Added

View File

@ -6,52 +6,64 @@
#
image:
# -- image repository
repository: intel/intel-gpu-plugin
pullPolicy: IfNotPresent
# -- image tag
tag: 0.20.0
# -- image pull policy
pullPolicy: IfNotPresent
controllerType: daemonset
strategy:
type: Recreate
controller:
# -- Run this chart as a daemonset. Do not modify unless you know what you are doing.
type: daemonset
serviceAccount:
# -- Specifies whether a service account should be created
create: true
# -- Override the args for the default container
# Refer to the [plugin documentation](https://github.com/intel/intel-device-plugins-for-kubernetes/blob/main/cmd/gpu_plugin/README.md) for more information.
args:
- -shared-dev-num
- "1"
envValueFrom:
# -- Sets the NODE_NAME env var to the name of the node where the pod is running. Do not modify unless you know what you are doing.
# @default -- `spec.nodeName`
NODE_NAME:
fieldRef:
fieldPath: spec.nodeName
hostPathMounts:
- name: "devfs"
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
devfs:
enabled: true
emptyDir: false
mountPath: "/dev/dri"
type: hostPath
hostPath: "/dev/dri"
readOnly: true
- name: "sysfs"
sysfs:
enabled: true
emptyDir: false
mountPath: "/sys/class/drm"
type: hostPath
hostPath: "/sys/class/drm"
readOnly: true
- name: "kubeletsockets"
kubeletsockets:
enabled: true
emptyDir: false
mountPath: "/var/lib/kubelet/device-plugins"
type: hostPath
hostPath: "/var/lib/kubelet/device-plugins"
ingress:
enabled: false
main:
# -- Ingress is disabled for this chart. Do not modify unless you know what you are doing.
enabled: false
service:
enabled: false
main:
# -- Main service is disabled for this chart. Do not modify unless you know what you are doing.
enabled: false
# -- Disable probes for this chart since there is no service. Do not modify unless you know what you are doing.
# @default -- See values.yaml
probes:
liveness:
enabled: false