134
edits
Mich181189 (talk | contribs) (Notes on the kube cluster) |
Mich181189 (talk | contribs) (→kube-master/kube-node/kube-node2: notes on Kube config) |
||
Line 192: | Line 192: | ||
MetalLB is configured to allocate IP addresses in the ranges 10.0.21.128/25 and 2a00:1d40:1843:182:f000::/68 - it uses layer 2 ARP to advertise these on the LAN. | MetalLB is configured to allocate IP addresses in the ranges 10.0.21.128/25 and 2a00:1d40:1843:182:f000::/68 - it uses layer 2 ARP to advertise these on the LAN. | ||
Gaining access to the cluster currently requires a certificate, which is a huge pain in the rear end so I'm working on LDAP auth. When it does work though, the basic setup will be something like: | |||
kubectl config set-cluster lhs --server=https://kube-master.lan.london.hackspace.org.uk:6443 --certificate-authority=ca.crt --embed-certs=true | |||
kubectl config set-credentials username --username=user --password=some-password | |||
kubectl config set-context user-lhs --cluster=lhs --namespace=default --user=user | |||
kubectl config use-context user-lhs | |||
=== gluster === | === gluster === |