mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[smarter-device-manager] use a termination message path outside of /dev to allow a read-only /dev mount (#1092), use the container log for termination message (#1129)
Signed-off-by: Andrew Zammit <zammit.andrew@gmail.com>
This commit is contained in:
parent
480a882ffc
commit
faae366302
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 1.20.7
|
appVersion: 1.20.7
|
||||||
description: Manage hardware resource allocation without a need for privileged containers
|
description: Manage hardware resource allocation without a need for privileged containers
|
||||||
name: smarter-device-manager
|
name: smarter-device-manager
|
||||||
version: 6.0.0
|
version: 6.1.0
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- kubernetes
|
- kubernetes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# smarter-device-manager
|
# smarter-device-manager
|
||||||
|
|
||||||
![Version: 6.0.0](https://img.shields.io/badge/Version-6.0.0-informational?style=flat-square) ![AppVersion: 1.20.7](https://img.shields.io/badge/AppVersion-1.20.7-informational?style=flat-square)
|
![Version: 6.1.0](https://img.shields.io/badge/Version-6.1.0-informational?style=flat-square) ![AppVersion: 1.20.7](https://img.shields.io/badge/AppVersion-1.20.7-informational?style=flat-square)
|
||||||
|
|
||||||
Manage hardware resource allocation without a need for privileged containers
|
Manage hardware resource allocation without a need for privileged containers
|
||||||
|
|
||||||
@ -124,6 +124,8 @@ In this case host device `/dev/ttyUSB-Conbee-2` will be given at the same path,
|
|||||||
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
||||||
| priorityClassName | string | `"system-node-critical"` | Custom priority class for different treatment by the scheduler Setting this is not necessary, but it is recommended. [[ref]](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/) |
|
| priorityClassName | string | `"system-node-critical"` | Custom priority class for different treatment by the scheduler Setting this is not necessary, but it is recommended. [[ref]](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/) |
|
||||||
| securityContext | object | See values.yaml | Configure the securityContext for this pod [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
|
| securityContext | object | See values.yaml | Configure the securityContext for this pod [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
|
||||||
|
| termination.messagePath | string | `"/var/log/termination-log"` | Configure the path at which the file to which the main container's termination message will be written. Overrides the default of `/dev/termination-log` to allow read-only `persistence.devfs` at `/dev`. [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] |
|
||||||
|
| termination.messagePolicy | string | `"FallbackToLogsOnError"` | Indicate how the main container's termination message should be populated. Valid options are `File` and `FallbackToLogsOnError`. smarter-device-manager does not support a termination-log, so use the container's log. [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] |
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
@ -131,6 +133,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).
|
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).
|
||||||
|
|
||||||
|
### [6.1.0]
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
|
||||||
|
- Override the default container `terminationMessagePath` to allow mounting `/dev` as read-only. The path is now `/var/log/termination-log`. Fixes #1092.
|
||||||
|
- Use the container's error log to populate the container termination message, since smarter-device-manager does not support a k8s `termination-log`.
|
||||||
|
|
||||||
### [6.0.0]
|
### [6.0.0]
|
||||||
|
|
||||||
#### Changed
|
#### Changed
|
||||||
@ -164,6 +173,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
|
|
||||||
- Initial version
|
- Initial version
|
||||||
|
|
||||||
|
[6.1.0]: #610
|
||||||
[6.0.0]: #600
|
[6.0.0]: #600
|
||||||
[5.0.0]: #500
|
[5.0.0]: #500
|
||||||
[4.0.0]: #400
|
[4.0.0]: #400
|
||||||
|
@ -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).
|
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).
|
||||||
|
|
||||||
|
### [6.1.0]
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
|
||||||
|
- Override the default container `terminationMessagePath` to allow mounting `/dev` as read-only. The path is now `/var/log/termination-log`. Fixes #1092.
|
||||||
|
- Use the container's error log to populate the container termination message, since smarter-device-manager does not support a k8s `termination-log`.
|
||||||
|
|
||||||
### [6.0.0]
|
### [6.0.0]
|
||||||
|
|
||||||
#### Changed
|
#### Changed
|
||||||
@ -42,6 +49,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
|
|
||||||
- Initial version
|
- Initial version
|
||||||
|
|
||||||
|
[6.1.0]: #610
|
||||||
[6.0.0]: #600
|
[6.0.0]: #600
|
||||||
[5.0.0]: #500
|
[5.0.0]: #500
|
||||||
[4.0.0]: #400
|
[4.0.0]: #400
|
||||||
|
@ -25,6 +25,18 @@ hostNetwork: true
|
|||||||
# -- Defaults to "ClusterFirst" if hostNetwork is false and "ClusterFirstWithHostNet" if hostNetwork is true.
|
# -- Defaults to "ClusterFirst" if hostNetwork is false and "ClusterFirstWithHostNet" if hostNetwork is true.
|
||||||
dnsPolicy: # ClusterFirstWithHostNet
|
dnsPolicy: # ClusterFirstWithHostNet
|
||||||
|
|
||||||
|
termination:
|
||||||
|
# -- Configure the path at which the file to which the main container's termination message will be written.
|
||||||
|
# Overrides the default of `/dev/termination-log` to allow read-only `persistence.devfs` at `/dev`.
|
||||||
|
# [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)]
|
||||||
|
messagePath: /var/log/termination-log
|
||||||
|
|
||||||
|
# -- Indicate how the main container's termination message should be populated.
|
||||||
|
# Valid options are `File` and `FallbackToLogsOnError`.
|
||||||
|
# smarter-device-manager does not support a termination-log, so use the container's log.
|
||||||
|
# [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)]
|
||||||
|
messagePolicy: FallbackToLogsOnError
|
||||||
|
|
||||||
# -- Configure persistence settings for the chart under this key.
|
# -- Configure persistence settings for the chart under this key.
|
||||||
# @default -- See values.yaml
|
# @default -- See values.yaml
|
||||||
persistence:
|
persistence:
|
||||||
|
Loading…
Reference in New Issue
Block a user