Skip to content

HeroBcat/autok3s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autok3s

  • Install docker.io k3s nfs-common automatically, and the commands you pass in
  • Import authorized_keys.txt to .ssh/authorized_keys with username and password for ssh login

autok3s --user ubuntu --password password -m master_ip -w worker_ip1 -w worker_ip2 --auth_keys_path /path/authorized_keys.txt \
--master_extra_args "--docker" \
--worker_extra_args "--docker" \
--master_commands "sudo apt-get install nfs-kernel-server" \
--master_commands "sudo mkdir -p /nfs" \
--master_commands "sudo touch /etc/exports" \
--master_commands \""sudo echo '/nfs *(rw,sync,no_subtree_check,no_root_squash)' >> /etc/exports"\" \
--master_commands "sudo exportfs -ar" \
--master_commands "sudo /etc/init.d/nfs-kernel-server restart" \
# --pre_master_commands \
# --pre_master_commands \
# --pre_master_commands \
# --pre_worker_commands \
# --pre_worker_commands \
# --pre_worker_commands \
# --worker_commands \
# --worker_commands \
# --worker_commands \

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages