Skip to content

Commit

Permalink
Update document for Azure LoadBalancer support. (#4082)
Browse files Browse the repository at this point in the history
* Add doc for azure internal load balancer support.

* Add note for user-specified 'loadBalancerIP' support on Azure.

* Fix comment.

* Fix comment
  • Loading branch information
karataliu authored and chenopis committed Jul 27, 2017
1 parent 2e63445 commit 2f50a22
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions docs/concepts/services-networking/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,18 @@ with the user-specified `loadBalancerIP`. If the `loadBalancerIP` field is not s
an ephemeral IP will be assigned to the loadBalancer. If the `loadBalancerIP` is specified, but the
cloud provider does not support the feature, the field will be ignored.

#### Internal load balancer on AWS
Special notes for Azure: To use user-specified public type `loadBalancerIP`, a static type
public IP address resource needs to be created first, and it should be in the same resource
group of the cluster. Then you could specify the assigned IP address as `loadBalancerIP`.

#### Internal load balancer
In a mixed environment it is sometimes necessary to route traffic from services inside the same VPC.
This can be achieved by adding the following annotation to the service:

In a split-horizon DNS environment you would need two services to be able to route both external and internal traffic to your endpoints.

This can be achieved by adding the following annotations to the service based on cloud provider.

For AWS:
```yaml
[...]
metadata:
Expand All @@ -439,7 +447,16 @@ metadata:
service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
[...]
```
In a split-horizon DNS environment you would need two services to be able to route both external and internal traffic to your endpoints.

For Azure:
```yaml
[...]
metadata:
name: my-service
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
[...]
```


#### SSL support on AWS
Expand Down

0 comments on commit 2f50a22

Please sign in to comment.