Skip to content

Instantly share code, notes, and snippets.

@llucasshenrique
Last active August 18, 2021 07:52
Show Gist options
  • Save llucasshenrique/c615fc25eafec87399865ea6fcff6d9b to your computer and use it in GitHub Desktop.
Save llucasshenrique/c615fc25eafec87399865ea6fcff6d9b to your computer and use it in GitHub Desktop.
ssh_authorized_keys:
- github:llucasshenrique
k3os:
labels:
region: pb-joaopessoa-1
token: K10846451a06be35a4456fa02d80050e824259303388493810209fa3113d2e9b20a::server:ab6f064b504ef407835a8acb495d4058
server_url: http://152.67.35.124:6443
k3s_args:
- agent
- --disable
- servicelb
- --disable
- traefik
ssh_authorized_keys:
- github:llucasshenrique
k3os:
labels:
region: sa-saopaulo-1
token: K10846451a06be35a4456fa02d80050e824259303388493810209fa3113d2e9b20a::server:ab6f064b504ef407835a8acb495d4058
server_url: http://152.67.35.124:6443
k3s_args:
- agent
- --disable
- traefik
- --cluster-domain
- omnilab
ssh_authorized_keys:
- github:llucasshenrique
k3os:
labels:
region: sa-saopaulo-1
token: K10846451a06be35a4456fa02d80050e824259303388493810209fa3113d2e9b20a::server:ab6f064b504ef407835a8acb495d4058
k3s_args:
- server
- --cluster-init
- --disable-agent
- --tls-san
- "152.67.35.124"
- --cluster-domain
- omnilab
ssh_authorized_keys:
- github:llucasshenrique
k3os:
labels:
region: sa-saopaulo-1
token: K10846451a06be35a4456fa02d80050e824259303388493810209fa3113d2e9b20a::server:ab6f064b504ef407835a8acb495d4058
server_url: http://152.67.35.124:6443
k3s_args:
- --disable
- traefik
- --tls-san
- "152.67.35.124"
- --cluster-domain
- omnilab

Para instalar o k3os usando o takeover baixe o utilitario no repositorio do k3os

x64

wget https://raw.githubusercontent.com/rancher/k3os/master/install.sh && \
chmod +x ./install.sh && \
sudo ./install.sh --takeover --debug --tty ttyS0 \
  --config https://gist.githubusercontent.com/llucasshenrique/c615fc25eafec87399865ea6fcff6d9b/raw/d6ec3dffce14738e119e59543b7409922fcfb6f0/omni-orc-control-init.yaml \
  --no-format /dev/sda1 \
  https://github.com/rancher/k3os/releases/download/v0.20.7-k3s1r0/k3os-amd64.iso

arm64

wget https://raw.githubusercontent.com/rancher/k3os/master/install.sh && \
chmod +x ./install.sh && \
sudo ./install.sh --takeover --debug --tty ttyS0 \
  --config https://gist.githubusercontent.com/llucasshenrique/c615fc25eafec87399865ea6fcff6d9b/raw/d6ec3dffce14738e119e59543b7409922fcfb6f0/omni-orc-agent.yaml \
  --no-format /dev/sda1 \
  https://github.com/rancher/k3os/releases/download/v0.20.7-k3s1r0/k3os-arm64.iso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment