Elastic Kubernetes Service | Application Load Balancing on EKS

Поделиться
HTML-код
  • Опубликовано: 8 янв 2023
  • This video demonstrates how to load balance your application on EKS using Kubernetes ingress.
    Git hub: github.com/listentolearn/aws-...
    Deploying a sample application on EKS: • Elastic Kubernetes Ser...
  • НаукаНаука

Комментарии • 66

  • @ibmuser13
    @ibmuser13 5 месяцев назад +2

    Very nicely explained, on how to set up ingress for our EKS cluster! Keep up the great work. May God bless you!

  • @devss7281
    @devss7281 Год назад +2

    Thank you i was stuck with this tagging of each subnet you saved my day. Thanks

  • @arunkr4
    @arunkr4 3 месяца назад

    Nicely delivered the content with clear demonstration. Go ahead. Great Job. 👍

  • @mohammedbanabila8515
    @mohammedbanabila8515 9 месяцев назад +1

    thanks for your explaining , i succeed to deploy it

  • @123comnet
    @123comnet 3 месяца назад

    Thanks, very well explained.

  • @chilkurisasenderreddy6607
    @chilkurisasenderreddy6607 Год назад +1

    its helpful to me
    thanks for the sharing

  • @kishorekumar-jr6oy
    @kishorekumar-jr6oy 5 месяцев назад

    Clear explanation 👌

  • @Techwithpatil.
    @Techwithpatil. 3 месяца назад +1

    Thanks Great work!

  • @benvaliente
    @benvaliente Год назад +1

    Thank you so so so much!

  • @NomRaj-q7y
    @NomRaj-q7y 2 дня назад

    After setting up the ingress, I'm unable to retrieve the ingress name (domain).

  • @anubhavasthana8025
    @anubhavasthana8025 Год назад +2

    That was a fantastic explanation ... What is the purpose of Node Port Service if we are exposing our app-endpoint using Application Load Balancer ?

    • @listentolearn2363
      @listentolearn2363  11 месяцев назад +1

      Hi Anubhav, thanks :)
      Node port service is used to expose the service running in each node at a static port. Then load balancer balances the traffic between the node and exposes the traffic externally.

  • @saiananthpuvvada6209
    @saiananthpuvvada6209 Год назад +2

    it is good overview with practical, Thank you.
    One query i have is what if i have multiple services in my cluster? if i update the ingress file and re-run will it create a new load balancer or will it just update the paths to existing load balancer ?

    • @listentolearn2363
      @listentolearn2363  Год назад +1

      Hi Sai,
      Changing the underlying services within the ingress will not recreate the entire load balancer. It will update/recreate the target groups and listeners associated with the load balancer.

    • @saiananthpuvvada6209
      @saiananthpuvvada6209 Год назад +1

      @@listentolearn2363 Thanks for the quick reply. will check it practically.🙂

  • @gauravk1484
    @gauravk1484 2 месяца назад

    Quick update the load balancer policy is not working, I had to update the same to create the Load Balancer, otherwise the host address was coming as blank.

  • @krishnaraja1549
    @krishnaraja1549 Год назад +1

    can you please do session on private endpoint cluster access and one more question what will be the
    tag name for internal load balancer

    • @listentolearn2363
      @listentolearn2363  Год назад +1

      Hi Krishna,
      tags for internal load balancer (private subnets): kubernetes.io/role/internal-elb
      sure, will try to do a private endpoint cluster.

  • @satisha1599
    @satisha1599 Год назад +1

    we are creating service account in kube-system namespace. Deployment & Ingress are getting created in game-2048 namespace. Then isn't that an issue? Because I heard every namespace will get default service account, so in that case how game-2048 can use our aws service account?

    • @listentolearn2363
      @listentolearn2363  Год назад

      Hi Sathish,
      The service account created under kube-system namespace is attached to the load balancer controller role and allows permissions related to load balancing. So, this is a generic and be used across the cluster. That is the reason its tied to kube-system namespace.
      While the ingress is specific to our use case. So, its tied to game-2048.
      Hope that makes sense.

    • @satisha1599
      @satisha1599 Год назад +1

      @@listentolearn2363 got it, so for load balancer to use our AWS permissions we need to create in kube-system.

  • @poojakulkarni8
    @poojakulkarni8 4 месяца назад

    Hi, this process works same even if we take more than one service right?
    Cause I have to deploy three microservices and routing takes places right ?

  • @user-zp7sx9tv4q
    @user-zp7sx9tv4q 10 месяцев назад +1

    where we needs to create NAT gateway is in private or public subnet

  • @MrEG12341
    @MrEG12341 Год назад +1

    I have this error in ingress: Failed build model due to WebIdentityErr: failed to retrieve credentials caused by: InvalidIdentityToken: Incorrect token audience status code: 400
    Please advise.

    • @listentolearn2363
      @listentolearn2363  Год назад +1

      Hi MrEG12341,
      I would suggest to try the steps here to troubleshoot - repost.aws/knowledge-center/eks-load-balancer-webidentityerr

  • @thirumsleshwar
    @thirumsleshwar 6 месяцев назад

    hi i flow the same steps but i unable to crate loadbalancer after applying ingress.yaml what can I do?

    • @listentolearn2363
      @listentolearn2363  6 месяцев назад

      Hello, please try checking the logs.
      kubectl logs -f -n kube-system -l app.kubernetes.io/instance=aws-load-balancer-controller

  • @najeebshaik9064
    @najeebshaik9064 7 месяцев назад

    Hi, i followed all of your steps but in the end load balancer was not created? Can you help me here..
    Thanks

    • @listentolearn2363
      @listentolearn2363  7 месяцев назад

      Hello, please try checking the logs.
      kubectl logs -f -n kube-system -l app.kubernetes.io/instance=aws-load-balancer-controller

  • @oliverzf
    @oliverzf 10 месяцев назад +1

    Great video, but this not working for eks fargate, target groups are not ok

    • @listentolearn2363
      @listentolearn2363  10 месяцев назад

      Thanks. This one is with node groups. I will try to do a video with fargate.

  • @sangnd
    @sangnd Год назад +1

    I have a issue with ingress. I already created ingress but aws loadbalancer not create. How we can fix this problem.

    • @listentolearn2363
      @listentolearn2363  Год назад +2

      Hi sangnd,
      Its hard to tell without looking at the logs. You can try running the below command from cmd to check whats going on.
      kubectl logs -f -n kube-system -l app.kubernetes.io/instance=aws-load-balancer-controller
      Also, ensure that you have the correct tags set for the subnets.

    • @sangnd
      @sangnd Год назад

      @@listentolearn2363 How about security group? Do we have open port or eks cluster auto add ?

    • @listentolearn2363
      @listentolearn2363  Год назад +1

      This videos explains the cluster setup and base infra that I used for this ruclips.net/video/I6yqVBhNXxY/видео.html. I am using just one default security group, so I dint have to do anything additional.
      If you're using multiple security groups attached to worker node, exactly one security group must be tagged as follows. Replace my-cluster with your cluster name.
      Key - kubernetes.io/cluster/my-cluster
      Value - shared or owned

    • @sangnd
      @sangnd Год назад

      @@listentolearn2363 Oh thank you

    • @ForKindness
      @ForKindness 11 месяцев назад

      Thanks@@listentolearn2363 Your suggestion pointed me in the right direction.

  • @user-zu5gz6fx8j
    @user-zu5gz6fx8j 6 месяцев назад

    Hey, after creating th INgress file, the ALB is not giving any address. How to fix ?

    • @listentolearn2363
      @listentolearn2363  6 месяцев назад

      Hello, please try checking the logs.
      kubectl logs -f -n kube-system -l app.kubernetes.io/instance=aws-load-balancer-controller

  • @tonytran4234
    @tonytran4234 9 месяцев назад

    I followed the steps but my ALB is not provisioned. the Address is blank. How do i see the logs ?
    thanks

    • @listentolearn2363
      @listentolearn2363  9 месяцев назад

      you can check logs using -
      kubectl logs -f -n kube-system -l app.kubernetes.io/instance=aws-load-balancer-controller

    • @tonytran4234
      @tonytran4234 9 месяцев назад

      i modified the add tag in the elastic resource to * and it works

    • @user-be4cf8nb2s
      @user-be4cf8nb2s 8 месяцев назад +1

      ​@@tonytran4234 can you please explain how exactly you resolved ? Where should i change ?

  • @user-xd7lf6zk5j
    @user-xd7lf6zk5j 5 месяцев назад

    i have followed all the step still not able to create the alb

    • @listentolearn2363
      @listentolearn2363  4 месяца назад

      please try checking the logs.
      kubectl logs -f -n kube-system -l app.kubernetes.io/instance=aws-load-balancer-controller

  • @saurabh6811
    @saurabh6811 7 месяцев назад

    Are you available on LinkedIn?

  • @davidvillasmil1468
    @davidvillasmil1468 11 месяцев назад +1

    volume is very very low

    • @listentolearn2363
      @listentolearn2363  10 месяцев назад

      I will increase the volume level in future videos. Try using 100% volume for this one, Thanks.

  • @ruchirakarunatissa8045
    @ruchirakarunatissa8045 8 месяцев назад

    Hi I have created the load balancer controller and the ingress as mentioned. But the ALB is not getting created and not getting the address for the ingress. When checked the logs below message appear continuously - 1 leaderelection.go:248] attempting to acquire leader lease kube-system/aws-load-balancer-controller-leader

    • @listentolearn2363
      @listentolearn2363  8 месяцев назад

      Hi, could you please check if the VPC and network settings match exactly as in video? esp DNS settings

    • @najeebshaik9064
      @najeebshaik9064 7 месяцев назад

      Hi, were you able to find any solution for this?

  • @AleksandrGomonov
    @AleksandrGomonov 4 месяца назад

    Hi! Nice guide, but I met this problem:
    kubectl logs -n kube-system aws-load-balancer-controller-66f9fb7dc5-gchsh
    {"level":"info","ts":"2024-03-05T15:01:09Z","msg":"version","GitVersion":"v2.7.1","GitCommit":"f689bbdf73d30f23b44acfef2c3b8e7280cd66ee","BuildDate":"2024-02-09T16:21:17+0000"}
    {"level":"error","ts":"2024-03-05T15:01:13Z","logger":"setup","msg":"unable to initialize AWS cloud","error":"failed to introspect vpcID from EC2Metadata or Node name, specify --aws-vpc-id instead if EC2Metadata is unavailable: failed to fetch VPC ID from instance metadata: EC2MetadataError: failed to make EC2Metadata request

    \tstatus code: 401, request id: "}