Internal loadbalancing in kubernetes aws

0 votes

I have a Kubernetes cluster that is connected over VPN to an on-premise datacentre. This cluster needs to "expose" Services to other programs running in the datacenter, but not to the Internet. How do i get that ? 

Thank you ..

Oct 10, 2018 in Kubernetes by lina
• 8,220 points
391 views

1 answer to this question.

0 votes

Try applying the annotation service.beta.kubernetes.io/aws-load-balancer-internal to the service definition.

kind: Service
apiVersion: v1
metadata:
  name: someService
  annotations:
    - name: service.beta.kubernetes.io/aws-load-balancer-internal
      value: 0.0.0.0/0
answered Oct 10, 2018 by Kalgi
• 52,360 points

Related Questions In Kubernetes

0 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Increase ROOT_SIZE of minion in aws kubernetes cluster

Go to "cluster/aws/util.sh" file. Find BLOCK_DEVICE_MAPPINGS and add this {"DeviceName":"/dev/sda1","Ebs":{"VolumeSize":40, "VolumeType": ...READ MORE

answered Oct 10, 2018 in Kubernetes by Kalgi
• 52,360 points
633 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
• 52,360 points
892 views
+1 vote
1 answer
0 votes
1 answer

kubernetes on AWS get region name in pod

Try having the container query the kubernetes/AWS ...READ MORE

answered Oct 4, 2018 in Kubernetes by Kalgi
• 52,360 points
908 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
• 52,360 points
507 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP