Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

scaffold

Setup scripts for infrastructure components.

HAProxy

Easily set up HAProxy.

Run this command on your server.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/chrissns/scaffold/master/haproxy/oneline-install.sh)"

Inspired by the setup script from Marc Rufeis.

Kubernetes

Easily set up a Kubernetes cluster with kubeadm (containerd runtime, Flannel CNI).

Master node

Run this command on the machine that should become the control-plane node. It initializes the cluster and prints a kubeadm join command for the workers.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/chrissns/scaffold/master/kubernetes/oneline-install-master.sh)"

Worker node

Run this command on each machine that should join the cluster. Paste the kubeadm join command from the master's output when prompted.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/chrissns/scaffold/master/kubernetes/oneline-install-worker.sh)"

Both scripts share kubernetes/common-prerequisites.sh, which disables swap, configures the required kernel modules and sysctl settings, installs containerd and installs kubeadm, kubelet and kubectl. Set K8S_VERSION (e.g. v1.31) before running to pin a specific Kubernetes minor version.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages