33 lines
948 B
Text
33 lines
948 B
Text
|
|
let _concerns_lib = import "schemas/lib/concerns.ncl" in
|
||
|
|
|
||
|
|
{
|
||
|
|
K8sNodejoin = {
|
||
|
|
name | String,
|
||
|
|
cp_hostname
|
||
|
|
| String
|
||
|
|
| doc "Hostname of the control-plane node that generates the join token",
|
||
|
|
cluster | String,
|
||
|
|
target_path
|
||
|
|
| String
|
||
|
|
| doc "Path on the worker where the join script is written before execution",
|
||
|
|
source_path
|
||
|
|
| String
|
||
|
|
| doc "Path on the control-plane where kubeadm writes the join command",
|
||
|
|
admin_host | String | optional,
|
||
|
|
admin_port | Number | optional,
|
||
|
|
admin_user | String | optional,
|
||
|
|
ssh_key_path | String | optional,
|
||
|
|
source_cmd
|
||
|
|
| String
|
||
|
|
| doc "Command run on CP to generate /tmp/k8s_join.sh",
|
||
|
|
target_cmd
|
||
|
|
| String
|
||
|
|
| doc "Command run on worker to execute the join script",
|
||
|
|
|
||
|
|
# ServiceConcerns umbrella (ADR-008). One-shot join operation — stateless preset.
|
||
|
|
concerns | _concerns_lib.ServiceConcerns | optional,
|
||
|
|
|
||
|
|
..
|
||
|
|
},
|
||
|
|
}
|