Install metallb & nginx-ingress

nginx-ingress

# add helm
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update

# set version
INGRESS_NGINX_VER=1.8.0
INGRESS_NGINX_HELM_VER=4.7.0
INGRESS_CLASS_NAME=ingress-1

helm show values ingress-nginx/ingress-nginx --version ${INGRESS_NGINX_HELM_VER} > ingress-nginx.yaml

# Create ns
kubectl create ns ingress-nginx

#Config ingressClass name
sed -i '0,/name: nginx/s/name: nginx/name: ingress-1/g' ingress-nginx.yaml

#Deploy
helm install ingress-nginx ingress-nginx/ingress-nginx -f ingress-nginx.yaml --namespace ingress-nginx

Metallb

Last updated