ELB names for Kubernetes on AWS

0 votes

Exposing service with type LoadBalancer works fine. But the name given to ELB is very long and gets difficult to keep a track of which loadbalancer belongs to which service.

Is it possible to specify the name of the ELB object at service creation time?

Oct 4, 2018 in Kubernetes by lina
• 8,110 points
52 views

1 answer to this question.

0 votes

The tags of the ELB contain the information you're looking for.

$ aws elb describe-tags --load-balancer-names xxxxx
{
    "TagDescriptions": [
        {
            "LoadBalancerName": "xxxxx",
            "Tags": [
                {
                    "Value": "default/nginx",
                    "Key": "kubernetes.io/service-name"
                },
                {
                    "Value": "my-cluster",
                    "Key": "KubernetesCluster"
                }
            ]
        }
    ]
}
answered Oct 4, 2018 by Kalgi
• 41,660 points

Related Questions In Kubernetes

0 votes
1 answer

Forcing ssl for Kubernetes Ingress on GKE

https://github.com/kubernetes/ingress-gce#frontend-https If you want to block http, you ...READ MORE

answered Sep 6, 2018 in Kubernetes by ajs3033
• 7,280 points
1,297 views
0 votes
1 answer
0 votes
1 answer

Installing Kubernetes on aws gives an error

seems like you are missing region. Try ...READ MORE

answered Oct 4, 2018 in Kubernetes by Kalgi
• 41,660 points
31 views
0 votes
1 answer

Create LoadBalancer for kubernetes cluster in aws

Hello @Lina, If you're running your cluster on ...READ MORE

answered Oct 8, 2018 in Kubernetes by Kalgi
• 41,660 points
58 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 41,660 points
69 views
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

NoSuchBucket error when running Kubernetes on AWS

It was a bug on their part. ...READ MORE

answered Sep 4, 2018 in Kubernetes by Nilesh
• 6,880 points
38 views