mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-24 18:19:33 +01:00
to merge with previous commit on main
This commit is contained in:
parent
949cc2199b
commit
006f5e722d
@ -74,10 +74,10 @@ variable "worker_node_taints" {
|
||||
}
|
||||
|
||||
variable "worker_bind_devices" {
|
||||
type = list(object({
|
||||
type = map(list(object({
|
||||
source = string
|
||||
target = string
|
||||
}))
|
||||
})))
|
||||
description = <<EOD
|
||||
List of devices to bind on kubelet container for direct storage usage
|
||||
[
|
||||
|
@ -77,7 +77,7 @@ systemd:
|
||||
--register-with-taints=${taint} \
|
||||
%{~ endfor ~}
|
||||
--node-labels=node.kubernetes.io/node
|
||||
%{~ for device in compact(split(",", node_devices)) ~}
|
||||
%{~ for device in node_devices ~}
|
||||
--device=${device.source}:${device.target}
|
||||
%{~ endfor ~}
|
||||
ExecStart=docker logs -f kubelet
|
||||
|
@ -72,6 +72,15 @@ variable "node_taints" {
|
||||
default = []
|
||||
}
|
||||
|
||||
variable "node_devices" {
|
||||
type = list(object({
|
||||
source = string
|
||||
target = string
|
||||
}))
|
||||
description = "List of devices object to bind with --device option"
|
||||
default = []
|
||||
}
|
||||
|
||||
# optional
|
||||
|
||||
variable "download_protocol" {
|
||||
|
Loading…
Reference in New Issue
Block a user