Skip to content
Permalink
Browse files

Updata_service.md (#17834)

* Modify document format.

* Update cloud-controller.md

Add content about Tencent cloud providers.

* Update cloud-providers.md

Add content about Tencent cloud providers.

* Update service.md

Added some TKE Service annotations

* Update service.md

Content optimization based on reviewers' recommendations.

* Update service.md

* Update service.md

Optimize the content of Line 902-903.

* Update service.md
  • Loading branch information
yunxji authored and k8s-ci-robot committed Nov 30, 2019
1 parent f471f68 commit f11ffddab64e0b6c73350545617852211123b559
Showing with 45 additions and 0 deletions.
  1. +45 −0 content/en/docs/concepts/services-networking/service.md
@@ -634,6 +634,15 @@ metadata:
[...]
```
{{% /tab %}}
{{% tab name="Tencent Cloud" %}}
```yaml
[...]
metadata:
annotations:
service.kubernetes.io/qcloud-loadbalancer-internal-subnetid: subnet-xxxxx
[...]
```
{{% /tab %}}
{{< /tabs >}}


@@ -870,6 +879,42 @@ in those modified security groups.

{{< /note >}}

#### Other CLB annotations on Tencent Kubernetes Engine (TKE)

There are other annotations for managing Cloud Load Balancers on TKE as shown below.

```yaml
metadata:
name: my-service
annotations:
# Bind Loadbalancers with speicfied nodes
service.kubernetes.io/qcloud-loadbalancer-backends-label: key in (value1, value2)
# ID of an existing load balancer
service.kubernetes.io/tke-existed-lbid:lb-6swtxxxx
# Custom parameters for the load balancer (LB), does not support modification of LB type yet
service.kubernetes.io/service.extensiveParameters: ""
# Custom parameters for the LB listener
service.kubernetes.io/service.listenerParameters: ""
# Specifies the type of Load balancer;
# valid values: classic (Classic Cloud Load Balancer) or application (Application Cloud Load Balancer)
service.kubernetes.io/loadbalance-type: xxxxx
# Specifies the public network bandwidth billing method;
# valid values: TRAFFIC_POSTPAID_BY_HOUR(bill-by-traffic) and BANDWIDTH_POSTPAID_BY_HOUR (bill-by-bandwidth).
service.kubernetes.io/qcloud-loadbalancer-internet-charge-type: xxxxxx
# Specifies the bandwidth value (value range: [1,2000] Mbps).
service.kubernetes.io/qcloud-loadbalancer-internet-max-bandwidth-out: "10"
# When this annotation is set,the loadbalancers will only register nodes
# with pod running on it, otherwise all nodes will be registered.
service.kubernetes.io/local-svc-only-bind-node-with-pod: true
```

### Type ExternalName {#externalname}

Services of type ExternalName map a Service to a DNS name, not to a typical selector such as

0 comments on commit f11ffdd

Please sign in to comment.
You can’t perform that action at this time.