Low Orbit Flux Logo 2 F

Rancher server - manages and provisions kubernetes clusters RKE (Rancher Kubernetes Engine) - fully compliant distribution K3s (Lightweight Kubernetes) - fully compliant distribution, newer, easier, more lightweight RKE2 - has security and compliance for government use

RKE needs docker
k3s does NOT need docker
RKE2 does NOT need docker

Helm - Kubernetes package manager

DaemonSet -

=================================================

Rancher Server

Run rancher server in docker:

sudo docker run –privileged -d –restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher

dvm8gjkvdtbbg5hbtnl89gvx66fdlcs6649pgk6rdnl9cdqrx5dfzg https://192.168.3.231 N5TfemDT5wzbFEt0

Create a cluster in a hosted Kubernetes provider

Provision new nodes and create a cluster using RKE/RKE2/K3s

Use existing nodes and create a cluster using RKE/RKE2/K3s

=================================================

RKE Install

Install docker with rancher script:

curl https://releases.rancher.com/install-docker/.sh | sh

sysctl setting:

net.bridge.bridge-nf-call-iptables=1

https://github.com/rancher/rke/#latest-release $ chmod +x rke $ rke –version

Generate config, prompt:

rke config –name cluster.yml

Generate

rke config –empty –name cluster.yml

Bring it up:

rke up

Save these in a secure location:

cluster.yml kube_config_cluster.yml cluster.rkestate

=================================================

Kubernetes from Scratch

https://www.tutorialspoint.com/kubernetes/kubernetes_setup.htm