Це відео не доступне.
Перепрошуємо.

[07] Deploying a Load Balancer to a Kubernetes Cluster

Поділитися
Вставка
  • Опубліковано 15 сер 2024
  • In this video I am deploying the metallb load balancer to my cluster. The load balancer is required to manage the assignment of external IP address to my services that are defined as type load balancer. With an external IP address I can route external traffic into my cluster and make services available across my network and the internet if I wish to do so. I walk through the basics of a load balancer, go over the special configurations that are requiered to make the load balancer work, install metallb through helm and demonstrate deploying an application with and without load balancer.
    Chapters
    0:00 Why we need a load balancer
    1:45 Deploying an application without a load balancer
    5:14 Introduction into Metallb
    6:15 Installtion prep for Metallb
    7:11 Modifying kube-proxy config map in kube-system namespace
    9:01 Installation instructions for Metallb
    10:05 Configure and install metallb through helm
    15:56 Setup namespace for metallb with privileged labels
    19:25 Installing Metallb
    21:00 Reviewing the Metallb loadbalancer configuration for kubernetes
    23:25 Configuring layer 2 for Metallb loadbalancer
    26:06 Configuring advertisement of IP addresses for the Metallb loadbalancer
    27:24 Review deployment for the assignment of ip address to laod balancer service
    29:11 Removing and re-deploying application with a load balancer service
    31:17 Summary
    Commands
    7:30 kubectl edit cm kube-proxy -n kube-system
    10:13 helm repo add metallb metallb.github...
    11:35 helm show values metallb/metallb < metallb-values.yaml
    19:23 helm install metallb metallb/metallb -n metallb-system -f metallb-values.yaml
    YAML Files
    17:36 Creation of privileged namespace
    apiVersion: v1
    kind: Namespace
    metadata:
    name: metallb-system
    labels:
    pod-security.kubernetes.io/enforce: privileged
    pod-security.kubernetes.io/audit: privileged
    pod-security.kubernetes.io/warn: privileged
    23:38 IP Address Range configuration for metallb
    apiVersion: metallb.io/v1beta1
    kind: IPAddressPool
    metadata:
    name: ip-range
    namespace: metallb-system
    spec:
    addresses:
    - 192.168.150.230 - 192.168.150.240
    26:15 Advertisement
    apiVersion: metallb.io/v1beta1
    kind: L2Advertisement
    metadata:
    name: announceing-ip
    namespace: metallb-system
    Sources
    Metallb Load Balancer - metallb.univer...
    FR Routing - frrouting.org/
    Credit for the nginx deployment - / @justmeandopensource , github.com/jus...

КОМЕНТАРІ • 3

  • @BadSanta514
    @BadSanta514 9 місяців тому

    @ILoveOpenSourceSoftware great content! Thank you very much and please continue develop your channel

    • @ILoveOpenSourceSoftware
      @ILoveOpenSourceSoftware  9 місяців тому

      Hi @BadSanta514 Thanks for your encouraging words. I am going to try my best. Let me know if you want to see something in particular. I am always open for inspiration and new ideas.