Kubernet Metalb and external IP address access the app
I have more than 15 years of experinces in IT industry I have several knowledge of IT buisness and training so if you have require more training in corporate level with lab please reach out to us support@producttechlab.com. please reach +91 9748663756
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.12/config/manifests/metallb-native.yaml
nano l2advertising.yaml
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: example
namespace: metallb-system
spec:
ipAddressPools:
– first-pool
kubectl apply -f l2advertising.yaml
nano ipaddresspool.yaml
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
namespace: metallb-system
spec:
addresses:
– 192.168.56.230-192.168.56.250
kubectl appy -f ipaddresspool.yaml
kubectl -n metallb-system get all
kubectl -n metallb-system get all -o wide
kubectl get ipaddresspools.metallb.io -A
kubectl describe ipaddresspools.metallb.io first-pool -n metallb-system
kubectl get l2advertisements.metallb.io -A
kubectl describe l2advertisements.metallb.io
kubectl describe l2advertisements.metallb.io example -n metallb-system
#Kubernetes #ContainerOrchestration #MasteringKubernetes #ComprehensiveGuide #TechTutorial #DevOps #CloudComputing #Docker #Technology #SoftwareDevelopment #IT #Learning #Coding #Programming #TechnologyEducation #TechTips #Containerization #CloudNative #Microservices #cloudtechnology #loadbalancer
ip address