https://github.com/libracoder/pi
https://github.com/libracoder/pi
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/libracoder/pi
- Owner: libracoder
- Created: 2022-11-14T14:03:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-14T14:29:12.000Z (over 3 years ago)
- Last Synced: 2025-02-26T12:43:36.618Z (about 1 year ago)
- Language: HCL
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
### install metal LB
helm repo add metallb https://metallb.github.io/metallb
helm install metallb metallb/metallb -f values.yaml
k apply -f /var/www/html/pi/test/metallb-config.yaml
kubectl create secret generic -n metallb-system memberlist --from-literal=secretkey="$(openssl rand -base64 128)"
### install nginx ingress
kubectl delete -f common/ns-and-sa.yaml
kubectl delete -f rbac/rbac.yaml
kubectl delete -f common/default-server-secret.yaml
#### config map
kubectl delete -f common/nginx-config.yaml
kubectl delete -f common/ingress-class.yaml
### TCP and UDP LB
kubectl delete -f common/crds/k8s.nginx.org_globalconfigurations.yaml
### delete Loadbalancer
kubectl delete -f service/loadbalancer.yaml
kubectl delete -f service/nginx-ingress.yaml
### Create ingress controller
kubectl get pods -o wide -n nginx-ingress
## install crds
kubectl delete -f common/crds/k8s.nginx.org_virtualservers.yaml
kubectl delete -f common/crds/k8s.nginx.org_virtualserverroutes.yaml
kubectl delete -f common/crds/k8s.nginx.org_transportservers.yaml
kubectl delete -f common/crds/k8s.nginx.org_policies.yaml
https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/baremetal/deploy.yaml