
taskserv = K8sNodejoin {
   cluster = "wuji"
   # Task to get kubernetes config file to set KUBECONFIG or .kunbe/config
   cp_hostname = "wuji-cp-0"
   # Path to copy file 
   target_path = "k8s_nodejoin.sh"
   # source file path 
   source_path = "/tmp/k8s_nodejoin.sh"
   # host to admin service or where ${source_path} can be found
   admin_host = "wuji-cp-0"
   # Cluster services admin hosts port to connect via SSH
   admin_port = 22
   # Cluster services admin user connect via SSH
   source_cmd = "kubeadm token create --print-join-command > ${source_path}"
   target_cmd = "bash ${target_path}"
   admin_user = "devadm"
   ssh_key_path = "~/.ssh/id_cdci.pub"
}
