Skip to content

Instantly share code, notes, and snippets.

@JuryA
Last active March 20, 2020 09:05
Show Gist options
  • Save JuryA/da30bc28644d1569320b9af999da1874 to your computer and use it in GitHub Desktop.
Save JuryA/da30bc28644d1569320b9af999da1874 to your computer and use it in GitHub Desktop.
k3os.cloud-init
ssh_authorized_keys:
- github:jurya
hostname: rproxy
write_files:
- content: |-
/dev/sda1 /persist ext4 auto 0 0
owner: root
path: /etc/fstab
permissions: '0644'
boot_cmd:boot_cmd:
- "mkdir /persist || echo persist dir exists"
k3os:
ntp_servers:
- 0.us.pool.ntp.org
- 1.us.pool.ntp.org
dns_nameservers:
- 8.8.8.8
- 1.1.1.1
password: supersecure
k3s_args:
- server
- "--kubelet-arg volume-plugin-dir=/etc/kubernetes/kubelet-plugins/volume/exec"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment