feat: rename talos folder
This commit is contained in:
parent
ccac941e0a
commit
d33bc4b36b
3 changed files with 0 additions and 0 deletions
|
|
@ -1,50 +0,0 @@
|
|||
# Loadbalancer
|
||||
|
||||
Lets install a loadbalancer (MetalLB) on a Talos Linux cluster.
|
||||
|
||||
## MetalLB
|
||||
|
||||
```shell
|
||||
# add repo and install
|
||||
helm repo add metallb https://metallb.github.io/metallb
|
||||
helm repo update
|
||||
helm install metallb metallb/metallb -n metallb-system --create-namespace --wait
|
||||
|
||||
# fix pod security for speaker pods
|
||||
kubectl label namespace metallb-system pod-security.kubernetes.io/enforce=privileged
|
||||
kubectl label namespace metallb-system pod-security.kubernetes.io/audit=privileged
|
||||
kubectl label namespace metallb-system pod-security.kubernetes.io/warn=privileged
|
||||
|
||||
# restart speaker daemonset
|
||||
kubectl rollout restart daemonset/metallb-speaker -n metallb-system
|
||||
```
|
||||
|
||||
```shell
|
||||
# configure metallb
|
||||
cat <<EOF | kubectl apply -f -
|
||||
---
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: IPAddressPool
|
||||
metadata:
|
||||
name: ingress-pool
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
addresses:
|
||||
- 10.8.15.175/32
|
||||
---
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: L2Advertisement
|
||||
metadata:
|
||||
name: ingress-pool
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
ipAddressPools:
|
||||
- ingress-pool
|
||||
EOF
|
||||
```
|
||||
|
||||
### Uninstall MetalLB
|
||||
|
||||
```shell
|
||||
helm uninstall metallb -n metallb-system
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue