Skip to content

ffddorf/sites-metal-kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published