- Updated on May 29 to accommodate etcd container not having
/bin/shavailable anymore.
curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
| --- RKE2 SERVER NODES (CONTROL PLANE) --- | |
| ### Apply System Settings | |
| cat << EOF >> /etc/sysctl.conf | |
| ### Modified System Settings | |
| vm.swappiness=0 | |
| vm.panic_on_oom=0 | |
| vm.overcommit_memory=1 | |
| kernel.panic=10 | |
| kernel.panic_on_oops=1 | |
| vm.max_map_count = 262144 |
This gist contains example of how you can configure nginx reverse-proxy with autmatic container discovery, SSL certificates generation (using Let's Encrypt) and auto updates.
Features:
| // Ansi colors in Groovy | |
| // Author: Ted Vinke | |
| import static Ansi.* | |
| println color("BOLD", Ansi.BOLD) | |
| println color("ITALIC", Ansi.ITALIC) | |
| println color("UNDERLINE", Ansi.UNDERLINE) | |
| println color("BLINK", Ansi.BLINK) | |
| println color("RAPID_BLINK", Ansi.RAPID_BLINK) | |
| println color("REVERSE_VIDEO", Ansi.REVERSE_VIDEO) |