Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 1.24 KB

README.md

File metadata and controls

70 lines (52 loc) · 1.24 KB

Metal Kubernetes Cluster Setup

k3s

Initial Cluster Node:

curl -sfL https://get.k3s.io | sh -s - \
  --flannel-backend=none \
  --disable-network-policy \
  --disable-kube-proxy \
  --egress-selector-mode=disabled \
  --cluster-cidr=10.42.0.0/16,2001:678:b7c:600::/56 \
  --service-cidr=10.43.0.0/16,2001:678:b7c:43::/108 \
  --disable=traefik \
  --disable=servicelb \
  --tls-san "mk1.ffddorf.net" \
  --cluster-init

Add node to cluster:

read -s K3S_TOKEN
export K3S_TOKEN
export K3S_URL="https://[fd00:7::2e76:8aff:fe5d:18b0]:6443"
curl -sfL https://get.k3s.io | sh -s -

Cilium

helm repo add cilium https://helm.cilium.io/
helm upgrade --install cilium cilium/cilium --namespace cilium --create-namespace --values cilium-values.yaml

Rook

helm repo add rook-release https://charts.rook.io/release

Operator:

uses default values

helm upgrade --install \
  --create-namespace --namespace rook-ceph \
  rook-ceph \
  rook-release/rook-ceph

Cluster:

helm upgrade --install \
  --create-namespace --namespace rook-ceph \
  --values rook-cluster-values.yaml \
  rook-ceph-cluster \
  rook-release/rook-ceph-cluster

MetalLB

Nginx Ingress

Cert Manager

Prometheus Stack & Loki