| vks.vngcloud.vn/implementation-specific-params | Optional | - Default blank
- By default, ALB policy has only 1 rule for host and path, with limited operations such as EQUAL_TO (Exact) and START_WITH (Prefix) . If users want to create more policies or use other operations such as ENDS_WITH or REGEX , they need to change pathType to ImplementationSpecificParams and use annotation with JSON value to configure. For example:
[{
+| Annotations | Required/Not required | Meaning |
|---|
| vks.vngcloud.vn/load-balancer-id | Optional | - If you do not already have a previously initialized Application Load Balancer on the vLB system. Now, when creating an Ingress, leave this information blank. After you have implemented Ingress deployment following the instructions at Ingress for an Application Load Balancer . We will automatically create an ALB on your cluster. This ALB will be displayed on vLB Portal, details can be accessed here
If you already have a previously initialized Application Load Balancer on the vLB system and you want to reuse the ALB for your cluster. Now, when creating an Ingress, enter the Load Balancer ID information into this annotation. After you have created Ingress according to the instructions at Ingress for an Application Load Balancer . If:
Attention: If your ALB has: - 1 listener has HTTP protocol configuration and port 443
- Or a listener configured with HTTPS protocol and portal 80
then when creating Ingress an error will occur. At this point, you need to edit valid listener information on the vLB system and recreate ingress. | | vks.vngcloud.vn/load-balancer-name | Optional | - Annotation
vks.vngcloud.vn/load-balancer-namewill be used if you do not use annotation load-balancer-id. - Annotation
vks.vngcloud.vn/load-balancer-name only makes sense when you create a new Ingress resource. After the Ingress resource is successfully created, this annotation will be automatically deleted . Using this annotation after the Ingress resource is created will have no effect . - When you use this annotation, if you do not already have a previously initialized Application Load Balancer on the vLB system. We will automatically create an ALB on your cluster. This ALB will be displayed on vLB Portal, details can be accessed here
- If you already have a previously initialized Application Load Balancer on the vLB system and you want to reuse the ALB for your cluster. Now, please enter the Load Balancer Name information into this annotation.
| | vks.vngcloud.vn/package-id | Optional | - If you do not enter this information, we will use the ALB Small configuration by default.
- If you already have an ACTIVE vLB host and you want to integrate this host into your K8S cluster, please skip this information field.
| | vks.vngcloud.vn/tags | Optional | - The tag is added to your ALB.
| | vks.vngcloud.vn/scheme | Optional | - Default is internet-facing , you can change it to internal depending on your needs.
| | vks.vngcloud.vn/security-groups | Optional | - By default, a default security group will be created according to your Cluster.
| | vks.vngcloud.vn/inbound-cidrs | Optional | - Default All CIRD: 0.0.0.0/0
| | vks.vngcloud.vn/healthy-threshold-count | Optional | | | vks.vngcloud.vn/unhealthy-threshold-count | Optional | | | vks.vngcloud.vn/healthcheck-interval-seconds | Optional | | | vks.vngcloud.vn/healthcheck-timeout-seconds | Optional | | | vks.vngcloud.vn/healthcheck-protocol | Optional | - Default TCP . The user can select one of the TCP/HTTP values
| | vks.vngcloud.vn/healthcheck-http-method | Optional | - Default GET . User can choose one of GET / POST / PUT values
| | vks.vngcloud.vn/healthcheck-path | Optional | | | vks.vngcloud.vn/healthcheck-http-version | Optional | - Default 1.0 . Users can choose one of the values 1.0, 1.1
| | vks.vngcloud.vn/healthcheck-http-domain-name | Optional | | | vks.vngcloud.vn/healthcheck-port | Optional | | | vks.vngcloud.vn/success-codes | Optional | - Default 200.
- The HTTP status codes the health check treats as healthy; applies only when
healthcheck-protocol is HTTP/HTTPS. - Format: a single code (
200), a comma-separated list (200,404), or a range (200-399). Do not combine a list with a range (200,300-399 is invalid).
| | vks.vngcloud.vn/idle-timeout-client | Optional | | | vks.vngcloud.vn/idle-timeout-member | Optional | | | vks.vngcloud.vn/idle-timeout-connection | Optional | | | vks.vngcloud.vn/pool-algorithm | Optional | - Default ROUND_ROBIN . The user can select one of the values ROUND_ROBIN / LEAST_CONNECTIONS / SOURCE_IP
| | vks.vngcloud.vn/enable-sticky-session | Optional | | | vks.vngcloud.vn/enable-tls-encryption | Optional | | | vks.vngcloud.vn/target-node-labels | Optional | | | vks.vngcloud.vn/certificate-ids | Optional | | | vks.vngcloud.vn/is-poc | Optional | - If the user specifies this field as true, the system will create a Load Balancer and make payments using the POC wallet balance.
| | vks.vngcloud.vn/enable-autoscale | Optional | - If the user specifies this field to true, the system will create a Load Balancer with autoscale mode enabled.
| | vks.vngcloud.vn/ignore | Optional | - If the user specifies this field as false, our operator will not manage Services and Ingress. Any changes to the resource will be ignored and the LoadBalancer will not be update
| | vks.vngcloud.vn/implementation-specific-params | Optional | - Default blank
- By default, ALB policy has only 1 rule for host and path, with limited operations such as EQUAL_TO (Exact) and START_WITH (Prefix) . If users want to create more policies or use other operations such as ENDS_WITH or REGEX , they need to change pathType to ImplementationSpecificParams and use annotation with JSON value to configure. For example:
[{
"path": "/haha",
"rules": [
{
@@ -63,11 +63,32 @@ defaultBackend:
## TLS
-You can secure Ingress by specifying a Secret that contains the TLS key and certificate. Currently Ingress only supports TLS port 443 and is the termination point for TLS (TLS termination). TLS Secret must contain fields with key names tls.crt and tls.key, which are the certificate and private key to use for TLS. Specifically, you need to specify:
+You can secure Ingress by specifying a Secret that contains the TLS key and certificate. Currently Ingress only supports TLS port 443 and is the termination point for TLS (TLS termination). The TLS Secret must be of type `kubernetes.io/tls`, reside in the same namespace as the Ingress, and contain fields with key names tls.crt and tls.key, which are the certificate and private key to use for TLS. Specifically, you need to specify:
* Host: the specified hosts will use the cert.
* SecretName: secret name containing cert.
+Instead of a Secret, you can use certificates uploaded to vLB via the `vks.vngcloud.vn/certificate-ids` annotation.
+
+**Default certificate and SNI.** Listener 443 has one default certificate (returned to clients that do not send SNI) and SNI certificates (returned based on the domain name the client sends):
+
+* With `certificate-ids`: the **first** id is the default certificate, the remaining ids are used for SNI.
+* With Secrets: the Secret whose name comes **first alphabetically** is the default certificate, the remaining Secrets are used for SNI.
+
+**Multiple Ingresses sharing one ALB.** Ingresses that specify the same `vks.vngcloud.vn/load-balancer-id` and both declare TLS share listener 443, and therefore share the default certificate. To prevent Ingresses from overwriting each other's certificates:
+
+* Use **one shared certificate** (wildcard or multiple SANs) for every Ingress on the ALB, and copy an **identical** Secret into each namespace. From GreenNode LoadBalancer Controller 0.5.2, identical copies create only one certificate on vLB.
+* If you need different certificates: upload them to vLB and set the **same** `certificate-ids` value (same list, same order) on every HTTPS Ingress of that ALB.
+
+**Certificate renewal.**
+
+* With Secrets: update **every** copy of the Secret at the same time, with identical content. The Controller applies the new certificate within up to 30 minutes and automatically deletes the old certificate once no listener uses it.
+* With `certificate-ids`: upload the new certificate, update the annotation on every Ingress of the ALB, then delete the old certificate on vLB.
+
+{% hint style="warning" %}
+With GreenNode LoadBalancer Controller earlier than 0.5.2, each Secret copy is imported as a separate certificate; multiple Ingresses sharing an ALB can keep overwriting each other's default certificate, so new changes are not applied to the ALB. If you encounter this, contact GreenNode to upgrade the Controller.
+{% endhint %}
+
***
## Path types
diff --git a/English/vks/network/working-with-alb/expose-mot-service-thong-qua-vlb-layer7.md b/English/vks/network/working-with-alb/expose-mot-service-thong-qua-vlb-layer7.md
index 52530fd1..a563fc11 100644
--- a/English/vks/network/working-with-alb/expose-mot-service-thong-qua-vlb-layer7.md
+++ b/English/vks/network/working-with-alb/expose-mot-service-thong-qua-vlb-layer7.md
@@ -223,7 +223,7 @@ At this time, the vLB system will automatically create a LB corresponding to the
{% hint style="info" %}
**Attention:**
-* Currently Ingress only supports TLS port 443 and is the termination point for TLS (TLS termination). TLS Secret must contain fields with key names tls.crt and tls.key, which are the certificate and private key to use for TLS. If you want to use a Certificate for a host, please upload the Certificate according to the instructions at \[Upload a certificate] and use them as an annotation. For example:
+* Currently Ingress only supports TLS port 443 and is the termination point for TLS (TLS termination). TLS Secret must contain fields with key names tls.crt and tls.key, which are the certificate and private key to use for TLS. If you want to use a Certificate for a host, please upload the Certificate according to the instructions at [Upload a certificate](https://docs.greennode.ai/en/load-balancer/application-load-balancer/certificate/upload-a-certificate) and use them as an annotation. For example:
{% endhint %}
```
diff --git a/English/vks/network/working-with-alb/gioi-han-va-han-che-alb.md b/English/vks/network/working-with-alb/gioi-han-va-han-che-alb.md
index aae6b976..14c7e172 100644
--- a/English/vks/network/working-with-alb/gioi-han-va-han-che-alb.md
+++ b/English/vks/network/working-with-alb/gioi-han-va-han-che-alb.md
@@ -6,7 +6,7 @@ A few notes about the limitations of ingressing an ALB into a cluster:
* A cluster can have multiple Ingresses, each Ingress containing resource information for a single ALB.
* One ALB can be used for many Ingress. From there, one ALB can be used for many clusters but must ensure these clusters have the same **Subnet** .
-* An ALB can include many listeners, many pools, and many policies. For limits on the number of listeners, number of pools, number of policies, please refer to \[Resource limit]
+* An ALB can include many listeners, many pools, and many policies. For limits on the number of listeners, number of pools, number of policies, please refer to [Resource Limits](https://docs.greennode.ai/en/vserver/compute/quota-limit).
***
@@ -15,3 +15,7 @@ A few notes about the limitations of ingressing an ALB into a cluster:
* Ingress controller manager needs to configure annotations to specify ALB properties, such as protocol, port,... These annotations may vary depending on the cloud service provider, currently with **vngcloud ingress controller** is being used. provides a reference annotation list at [Configuration for an Application Load Balancer](https://docs-vngcloud-vn.translate.goog/vng-cloud-document/v/vn/vks/network/working-with-alb/cau-hinh-cho-mot-application-load-balancer) . We will further upgrade this part in the next release versions.
* Currently, vLB does not support the strip path feature in Load Balancer Layer 7, we will soon integrate this feature in the future.
* Changing the name or size (Rename, Resize) of the Load Balancer resource on vServer Portal can cause incompatibility with resources on the Kubernetes Cluster. This can lead to resources becoming inactive on the Cluster, or resources being resynchronized, or resource information between vServer Portal and the Cluster not matching. To prevent this problem, use `kubectl`Cluster resource management.
+* When you delete an Ingress:
+ * An ALB created by VKS is deleted when the **last** Ingress using it is deleted (including Ingresses in other namespaces or clusters that point to it via `load-balancer-id`). An ALB created on the vLB Portal and attached via `load-balancer-id` is never deleted; the Controller only removes the listeners, pools, and policies it created. If you need the ALB (and its public IP) to outlive the Ingress, create the ALB on the Portal first.
+ * Switching `load-balancer-id` to another ALB: the old ALB is not deleted, only the Ingress's listeners, pools, and policies are removed.
+ * Certificates imported from a Secret are not yet deleted automatically when the Ingress is deleted; you can delete them on the vLB Portal once no listener uses them. Certificates specified via `certificate-ids` are never deleted.
diff --git a/English/vks/network/working-with-alb/ingress-for-an-application-load-balancer.md b/English/vks/network/working-with-alb/ingress-for-an-application-load-balancer.md
index 93ba0d58..6bb98a41 100644
--- a/English/vks/network/working-with-alb/ingress-for-an-application-load-balancer.md
+++ b/English/vks/network/working-with-alb/ingress-for-an-application-load-balancer.md
@@ -193,7 +193,7 @@ For example:
{% hint style="info" %}
**Attention**:
-* Currently Ingress only supports TLS port 443 and is the termination point for TLS (TLS termination). TLS Secret must contain fields with key names tls.crt and tls.key, which are the certificate and private key to use for TLS. If you want to use a Certificate for a host, please upload the Certificate according to the instructions at \[Upload a certificate] and use them as an annotation. For example:
+* Currently Ingress only supports TLS port 443 and is the termination point for TLS (TLS termination). TLS Secret must contain fields with key names tls.crt and tls.key, which are the certificate and private key to use for TLS. If you want to use a Certificate for a host, please upload the Certificate according to the instructions at [Upload a certificate](https://docs.greennode.ai/en/load-balancer/application-load-balancer/certificate/upload-a-certificate) and use them as an annotation. For example:
{% endhint %}
```
@@ -336,7 +336,7 @@ spec:
* **metadata:** Information describing Ingress, including name, annotations.
* **spec:** Ingress configuration, including traffic route rules according to the conditions of incoming requests. Ingress resources only support rules to direct HTTP traffic.
-For general information about working with Ingress resources (Ingress Yaml files), see \[Configure for an Application Load Balancer]).
+For general information about working with Ingress resources (Ingress Yaml files), see [Configure for an Application Load Balancer](cau-hinh-cho-mot-application-load-balancer.md).
***
@@ -387,6 +387,16 @@ Events:
kubectl edit ingress nginx-ingress
```
+{% hint style="info" %}
+The `Ensured` event on an Ingress only means the Ingress has been recorded; it does **not** mean the change has been applied to the ALB. To check whether the latest change has been applied, look at the state of the LoadBalancer resource:
+
+```bash
+kubectl get lbc -n -o custom-columns=NAME:.metadata.name,GENERATION:.metadata.generation,OBSERVED:.status.observedGeneration,READY:'.status.conditions[?(@.type=="Ready")].status'
+```
+
+When `READY` is `True` and `OBSERVED` equals `GENERATION`, the latest change has been applied to the ALB. Otherwise, see the reason with `kubectl describe lbc -n `. The Controller only updates the ALB while it is ACTIVE; if the ALB stays in another state for more than 30 minutes, contact GreenNode with the Load Balancer ID.
+{% endhint %}
+
***
### **Step 5: To access the nginx app, you can use the Load Balancer Endpoint that the system has created.**
diff --git a/English/vks/network/working-with-nlb/cau-hinh-cho-mot-network-load-balancer.md b/English/vks/network/working-with-nlb/cau-hinh-cho-mot-network-load-balancer.md
index 56fe983e..a870cec2 100644
--- a/English/vks/network/working-with-nlb/cau-hinh-cho-mot-network-load-balancer.md
+++ b/English/vks/network/working-with-nlb/cau-hinh-cho-mot-network-load-balancer.md
@@ -1,6 +1,6 @@
# Configure for a Network Load Balancer
-On the \[Integrate with Network Load Balancer] page, we have shown you how to install GreenNode LoadBalancer Controller, create and apply yaml file. The following are detailed meanings of the information you can set in the yaml file:
+On the [Integrate with Network Load Balancer](integrate-with-network-load-balancer.md) page, we have shown you how to install GreenNode LoadBalancer Controller, create and apply yaml file. The following are detailed meanings of the information you can set in the yaml file:
## Annotations
@@ -8,4 +8,4 @@ Use the annotations below to customize the Load Balancer to suit your needs:
For listener ACLs, vLB evaluates rules in the following order: **Dropped CIDRs** (block list) → **Allowed CIDRs** (allow list) → **Default action**; the first matching rule wins, and any IP that matches no rule gets the **Default action**. The ACL annotations (`dropped-cidrs`, `inbound-cidrs`, `acl-default-action`) support IPv4 only and require GreenNode LoadBalancer Controller **0.4.2** or later.
- | | |
|---|
| Annotations | Required/Not required | Meaning | | vks.vngcloud.vn/load-balancer-id | Optional | - If you do not already have a previously initialized Network Load Balancer on the vLB system. We will automatically create 1 NLB on your cluster. This NLB will be displayed on vLB Portal, details can be accessed here
- If you already have a previously initialized Network Load Balancer on the vLB system and you want to reuse the NLB for your cluster. Now, please enter the Load Balancer ID information into this annotation.
| | vks.vngcloud.vn/load-balancer-name | Optional | - Annotation
vks.vngcloud.vn/load-balancer-namewill be used if you do not use annotation load-balancer-id. - Annotation
vks.vngcloud.vn/load-balancer-name only makes sense when you create a new load balancer. After the load balancer is successfully created, this annotation will be automatically deleted . Using this annotation after the load balancer has been created will have no effect . - When you use this annotation, if you do not already have a previously initialized Network Load Balancer on the vLB system. We will automatically create 1 NLB on your cluster. This ALB will be displayed on vLB Portal, details can be accessed here
- If you already have a previously initialized Network Load Balancer on the vLB system and you want to reuse the NLB for your cluster. Now, please enter the Load Balancer Name information into this annotation.
| | vks.vngcloud.vn/package-id | Optional | - If you do not enter this information, we will use the NLB Small configuration by default.
- If you already have an ACTIVE vLB host and you want to integrate this host into your K8S cluster, please skip this information field.
| | vks.vngcloud.vn/tags | Optional | - The tag is added to your NLB.
| | vks.vngcloud.vn/scheme | Optional | - Default is internet-facing , you can change it to internal depending on your needs.
| | vks.vngcloud.vn/security-groups | Optional | - By default, a default security group will be created according to your Cluster.
| | vks.vngcloud.vn/inbound-cidrs | Optional | - Default All CIDR: 0.0.0.0/0
- Comma-separated list of IPv4 CIDRs/IPs allowed to access the listener (Allowed CIDRs), evaluated after
dropped-cidrs. - If you set this annotation without setting
vks.vngcloud.vn/acl-default-action, the default action is drop — only the declared IP ranges can access the listener. - Removing this annotation restores the listener to its previous ACL value (usually 0.0.0.0/0).
| | vks.vngcloud.vn/dropped-cidrs | Optional | - Comma-separated list of blocked IPv4 CIDRs/IPs (Dropped CIDRs). Example:
203.0.113.9/32,198.51.100.0/24. - 0.0.0.0/0: block all access to the listener.
- Empty string
"": clear the block list (the controller still manages the list). - Evaluated before
inbound-cidrs: an IP present in both lists is blocked. - Blocked traffic is silently discarded, so the client sees a timeout.
| | vks.vngcloud.vn/acl-default-action | Optional | - Action applied to IPs that match no ACL rule: accept or drop (case-insensitive).
- If you set
inbound-cidrs without this annotation, the controller sets the default action to drop.
| | vks.vngcloud.vn/healthy-threshold-count | Optional | | | vks.vngcloud.vn/unhealthy-threshold-count | Optional | | | vks.vngcloud.vn/healthcheck-interval-seconds | Optional | | | vks.vngcloud.vn/healthcheck-timeout-seconds | Optional | | | vks.vngcloud.vn/healthcheck-protocol | Optional | - Default TCP . Users can select one of the values TCP/ HTTP/ HTTPS/ PING-UDP
| | vks.vngcloud.vn/healthcheck-http-method | Optional | - Default GET . User can choose one of GET / POST / PUT values
| | vks.vngcloud.vn/healthcheck-path | Optional | | | vks.vngcloud.vn/healthcheck-http-version | Optional | - Default 1.0 . Users can choose one of the values 1.0, 1.1
| | vks.vngcloud.vn/healthcheck-http-domain-name | Optional | | | vks.vngcloud.vn/healthcheck-port | Optional | | | vks.vngcloud.vn/success-codes | Optional | | | vks.vngcloud.vn/idle-timeout-client | Optional | | | vks.vngcloud.vn/idle-timeout-member | Optional | | | vks.vngcloud.vn/idle-timeout-connection | Optional | | | vks.vngcloud.vn/pool-algorithm | Optional | - Default ROUND_ROBIN . The user can select one of the values ROUND_ROBIN / LEAST_CONNECTIONS / SOURCE_IP
| | vks.vngcloud.vn/target-node-labels | Optional | | | vks.vngcloud.vn/enable-proxy-protocol | Optional | - Default is empty. The user specifies a list of service names in the Load Balancer to which the Proxy Protocol will be applied.
|
+ | | |
|---|
| Annotations | Required/Not required | Meaning | | vks.vngcloud.vn/load-balancer-id | Optional | - If you do not already have a previously initialized Network Load Balancer on the vLB system. We will automatically create 1 NLB on your cluster. This NLB will be displayed on vLB Portal, details can be accessed here
- If you already have a previously initialized Network Load Balancer on the vLB system and you want to reuse the NLB for your cluster. Now, please enter the Load Balancer ID information into this annotation.
| | vks.vngcloud.vn/load-balancer-name | Optional | - Annotation
vks.vngcloud.vn/load-balancer-namewill be used if you do not use annotation load-balancer-id. - Annotation
vks.vngcloud.vn/load-balancer-name only makes sense when you create a new load balancer. After the load balancer is successfully created, this annotation will be automatically deleted . Using this annotation after the load balancer has been created will have no effect . - When you use this annotation, if you do not already have a previously initialized Network Load Balancer on the vLB system. We will automatically create 1 NLB on your cluster. This ALB will be displayed on vLB Portal, details can be accessed here
- If you already have a previously initialized Network Load Balancer on the vLB system and you want to reuse the NLB for your cluster. Now, please enter the Load Balancer Name information into this annotation.
| | vks.vngcloud.vn/package-id | Optional | - If you do not enter this information, we will use the NLB Small configuration by default.
- If you already have an ACTIVE vLB host and you want to integrate this host into your K8S cluster, please skip this information field.
| | vks.vngcloud.vn/tags | Optional | - The tag is added to your NLB.
| | vks.vngcloud.vn/scheme | Optional | - Default is internet-facing , you can change it to internal depending on your needs.
| | vks.vngcloud.vn/security-groups | Optional | - By default, a default security group will be created according to your Cluster.
| | vks.vngcloud.vn/inbound-cidrs | Optional | - Default All CIDR: 0.0.0.0/0
- Comma-separated list of IPv4 CIDRs/IPs allowed to access the listener (Allowed CIDRs), evaluated after
dropped-cidrs. - If you set this annotation without setting
vks.vngcloud.vn/acl-default-action, the default action is drop — only the declared IP ranges can access the listener. - Removing this annotation restores the listener to its previous ACL value (usually 0.0.0.0/0).
| | vks.vngcloud.vn/dropped-cidrs | Optional | - Comma-separated list of blocked IPv4 CIDRs/IPs (Dropped CIDRs). Example:
203.0.113.9/32,198.51.100.0/24. - 0.0.0.0/0: block all access to the listener.
- Empty string
"": clear the block list (the controller still manages the list). - Evaluated before
inbound-cidrs: an IP present in both lists is blocked. - Blocked traffic is silently discarded, so the client sees a timeout.
| | vks.vngcloud.vn/acl-default-action | Optional | - Action applied to IPs that match no ACL rule: accept or drop (case-insensitive).
- If you set
inbound-cidrs without this annotation, the controller sets the default action to drop.
| | vks.vngcloud.vn/healthy-threshold-count | Optional | | | vks.vngcloud.vn/unhealthy-threshold-count | Optional | | | vks.vngcloud.vn/healthcheck-interval-seconds | Optional | | | vks.vngcloud.vn/healthcheck-timeout-seconds | Optional | | | vks.vngcloud.vn/healthcheck-protocol | Optional | - Default TCP . Users can select one of the values TCP/ HTTP/ HTTPS/ PING-UDP
| | vks.vngcloud.vn/healthcheck-http-method | Optional | - Default GET . User can choose one of GET / POST / PUT values
| | vks.vngcloud.vn/healthcheck-path | Optional | | | vks.vngcloud.vn/healthcheck-http-version | Optional | - Default 1.0 . Users can choose one of the values 1.0, 1.1
| | vks.vngcloud.vn/healthcheck-http-domain-name | Optional | | | vks.vngcloud.vn/healthcheck-port | Optional | | | vks.vngcloud.vn/success-codes | Optional | - Default 200.
- The HTTP status codes the health check treats as healthy; applies only when
healthcheck-protocol is HTTP/HTTPS. - Format: a single code (
200), a comma-separated list (200,404), or a range (200-399). Do not combine a list with a range (200,300-399 is invalid).
| | vks.vngcloud.vn/idle-timeout-client | Optional | | | vks.vngcloud.vn/idle-timeout-member | Optional | | | vks.vngcloud.vn/idle-timeout-connection | Optional | | | vks.vngcloud.vn/pool-algorithm | Optional | - Default ROUND_ROBIN . The user can select one of the values ROUND_ROBIN / LEAST_CONNECTIONS / SOURCE_IP
| | vks.vngcloud.vn/target-node-labels | Optional | | | vks.vngcloud.vn/enable-proxy-protocol | Optional | - Default is empty. The user specifies a list of service names in the Load Balancer to which the Proxy Protocol will be applied.
|
diff --git a/English/vks/network/working-with-nlb/gioi-han-va-han-che-nlb.md b/English/vks/network/working-with-nlb/gioi-han-va-han-che-nlb.md
index b120c52d..c99bc8f3 100644
--- a/English/vks/network/working-with-nlb/gioi-han-va-han-che-nlb.md
+++ b/English/vks/network/working-with-nlb/gioi-han-va-han-che-nlb.md
@@ -5,10 +5,11 @@
A few notes about the limitations of integrating an NLB into a cluster:
* One NLB can be used for many clusters but must ensure these clusters have the same **Subnet** .
-* An NLB can include many listeners, many pools, and many policies. For limits on the number of listeners, number of pools, number of policies, please refer to [Resource Limits](https://docs.vngcloud.vn/pages/viewpage.action?pageId=59802094) .
+* An NLB can include many listeners, many pools, and many policies. For limits on the number of listeners, number of pools, number of policies, please refer to [Resource Limits](https://docs.greennode.ai/en/vserver/compute/quota-limit).
***
### Limit
* Changing the name or size (Rename, Resize) of the Load Balancer resource on vServer Portal can cause incompatibility with resources on the Kubernetes Cluster. This can lead to resources becoming inactive on the Cluster, or resources being resynchronized, or resource information between vServer Portal and the Cluster not matching. To prevent this problem, use `kubectl`Cluster resource management.
+* When you delete a Service of type LoadBalancer: an NLB created by VKS is deleted when the **last** Service using it is deleted. An NLB created on the vLB Portal and attached via `vks.vngcloud.vn/load-balancer-id` is never deleted; the Controller only removes the listeners and pools it created.
diff --git a/English/vks/network/working-with-nlb/integrate-with-network-load-balancer.md b/English/vks/network/working-with-nlb/integrate-with-network-load-balancer.md
index ab48a6f8..c5146a76 100644
--- a/English/vks/network/working-with-nlb/integrate-with-network-load-balancer.md
+++ b/English/vks/network/working-with-nlb/integrate-with-network-load-balancer.md
@@ -305,7 +305,7 @@ spec:
* **metadata:** Information describing Ingress, including name, annotations.
* **spec:** Configure the conditions of incoming requests.
-For general information about working with **vngcloud-controller-manager,** see \[Configure for a Network Load Balancer]
+For general information about working with **vngcloud-controller-manager,** see [Configure for a Network Load Balancer](cau-hinh-cho-mot-network-load-balancer.md)
* Deploy this Service using:
diff --git a/Vietnamese/vks/network/working-with-alb/cau-hinh-cho-mot-application-load-balancer.md b/Vietnamese/vks/network/working-with-alb/cau-hinh-cho-mot-application-load-balancer.md
index 3b9d4d31..6ca7d852 100644
--- a/Vietnamese/vks/network/working-with-alb/cau-hinh-cho-mot-application-load-balancer.md
+++ b/Vietnamese/vks/network/working-with-alb/cau-hinh-cho-mot-application-load-balancer.md
@@ -1,12 +1,12 @@
# Cấu hình cho một Application Load Balancer
-Tại trang \[Ingress for an Application Load Balancer], chúng tôi đã hướng dẫn bạn cách thực hiện cài đặt GreenNode LoadBalancer Controller và tạo ingress thông qua Ingress Yaml file. Sau đây là chi tiết các ý nghĩa các thông tin bạn có thể thiết lập cho một Ingress
+Tại trang [Ingress for an Application Load Balancer](ingress-for-an-application-load-balancer.md), chúng tôi đã hướng dẫn bạn cách thực hiện cài đặt GreenNode LoadBalancer Controller và tạo ingress thông qua Ingress Yaml file. Sau đây là chi tiết các ý nghĩa các thông tin bạn có thể thiết lập cho một Ingress
### Annotation
Sử dụng các annotation dưới đây khi thực thiện tạo ingress để tuỳ chỉnh Load Balancer phù hợp với nhu cầu của bạn trên VKS:
-| Annotation | Bắt buộc/ Không bắt buộc | Ý nghĩa |
|---|
| vks.vngcloud.vn/load-balancer-id | Không bắt buộc | - Nếu bạn chưa có sẵn một Application Load Balancer đã khởi tạo trước đó trên hệ thống vLB. Lúc này, khi tạo một Ingress, bạn hãy để trống thông tin này. Sau khi bạn đã thực hiện triển khai Ingress theo hướng dẫn tại Ingress for an Application Load Balancer. Chúng tôi sẽ tự động tạo 1 ALB trên cluster của bạn. ALB này sẽ hiển thị trên vLB Portal, chi tiết truy cập tại đây
Nếu bạn đã có sẵn một Application Load Balancer đã khởi tạo trước đó trên hệ thống vLB và bạn muốn tái sử dụng ALB cho cluster của bạn. Lúc này, khi tạo một Ingress, bạn hãy nhập thông tin Load Balancer ID vào annotation này. Sau khi bạn đã thực hiện tạo Ingress theo hướng dẫn tại Ingress for an Application Load Balancer. Nếu:
Chú ý: Nếu ALB của bạn có: - 1 listener có cấu hình protocol HTTP và port 443
- Hoặc 1 listener có cấu hình protocol HTTPS và portal 80
thì khi tạo Ingress sẽ xảy ra lỗi. Lúc này, bạn cần chỉnh sửa lại thông tin listener hợp lệ trên hệ thống vLB và thực hiện tạo lại ingress. | | vks.vngcloud.vn/load-balancer-name | Không bắt buộc | - Annotation
vks.vngcloud.vn/load-balancer-name sẽ được sử dụng nếu bạn không sử dụng annotation load-balancer-id. - Annotation
vks.vngcloud.vn/load-balancer-name chỉ có ý nghĩa khi bạn tạo mới một Ingress resource. Sau khi Ingress resource được tạo thành công, annotation này sẽ tự động bị xóa. Việc sử dụng annotation này sau khi Ingress resource được tạo sẽ không có tác dụng. - Khi bạn sử dụng annotation này, nếu bạn chưa có sẵn một Application Load Balancer đã khởi tạo trước đó trên hệ thống vLB. Chúng tôi sẽ tự động tạo 1 ALB trên cluster của bạn. ALB này sẽ hiển thị trên vLB Portal, chi tiết truy cập tại đây
- Nếu bạn đã có sẵn một Application Load Balancer đã khởi tạo trước đó trên hệ thống vLB và bạn muốn tái sử dụng ALB cho cluster của bạn. Lúc này, bạn hãy nhập thông tin Load Balancer Name vào annotation này.
| | vks.vngcloud.vn/package-id | Không bắt buộc | - Nếu bạn không nhập thông tin này thì mặc định chúng tôi sẽ sử dụng cấu hình ALB Small.
- Nếu bạn đã có sẵn host vLB đang ACTIVE và bạn muốn tích hợp host này vô cụm K8S của bạn, vui lòng bỏ qua trường thông tin này.
| | vks.vngcloud.vn/prefer-zone-id | Không bắt buộc | - Nếu bạn không nhập thông tin này, hệ thống sẽ tự chọn ngẫu nhiên một zone trong các zone bạn đã chọn sử dụng.
- Nếu bạn muốn Load Balancer được tạo trong một zone cụ thể, hãy nhập Zone ID vào annotation này. Ví dụ:
HCM03-1A, HCM03-1B, HCM03-1C, HAN01-1A.
| | vks.vngcloud.vn/prefer-subnet-id | Không bắt buộc | - Nếu không khai báo, hệ thống sẽ chọn ngẫu nhiên một subnet trong các subnet thuộc zone bạn đã chọn.
- Nếu bạn muốn Load Balancer được tạo trong một subnet cụ thể, hãy nhập Subnet ID vào annotation này.
| vks.vngcloud.vn/tags | Không bắt buộc | - Tag được gắn thêm cho ALB của bạn.
| | vks.vngcloud.vn/scheme | Không bắt buộc | - Mặc định internet-facing, bạn có thể đổi thành internal tùy theo nhu cầu sử dụng.
| | vks.vngcloud.vn/security-groups | Không bắt buộc | - Mặc định sẽ tạo một security group default theo Cluster của bạn.
| | vks.vngcloud.vn/inbound-cidrs | Không bắt buộc | - Mặc định All CIRD: 0.0.0.0/0
| | vks.vngcloud.vn/healthy-threshold-count | Không bắt buộc | | | vks.vngcloud.vn/unhealthy-threshold-count | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-interval-seconds | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-timeout-seconds | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-protocol | Không bắt buộc | - Mặc định TCP. Người dùng có thể chọn một trong các giá trị TCP/ HTTP
| | vks.vngcloud.vn/healthcheck-http-method | Không bắt buộc | - Mặc định GET. Người dùng có thể chọn một trong các giá trị GET / POST / PUT
| | vks.vngcloud.vn/healthcheck-path | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-http-version | Không bắt buộc | - Mặc định 1.0. Người dùng có thể chọn một trong các giá trị 1.0, 1.1
| | vks.vngcloud.vn/healthcheck-http-domain-name | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-port | Không bắt buộc | | | vks.vngcloud.vn/success-codes | Không bắt buộc | | | vks.vngcloud.vn/idle-timeout-client | Không bắt buộc | | | vks.vngcloud.vn/idle-timeout-member | Không bắt buộc | | | vks.vngcloud.vn/idle-timeout-connection | Không bắt buộc | | | vks.vngcloud.vn/pool-algorithm | Không bắt buộc | - Mặc định ROUND_ROBIN. Người dùng có thể chọn một trong các giá trị ROUND_ROBIN / LEAST_CONNECTIONS / SOURCE_IP
| | vks.vngcloud.vn/enable-sticky-session | Không bắt buộc | | | vks.vngcloud.vn/enable-tls-encryption | Không bắt buộc | | | vks.vngcloud.vn/target-node-labels | Không bắt buộc | | | vks.vngcloud.vn/certificate-ids | Không bắt buộc | | | vks.vngcloud.vn/is-poc | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống sẽ tạo Load Balancer và thực hiện thanh toán bởi số dư ví POC.
| | vks.vngcloud.vn/enable-autoscale | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống sẽ tạo Load Balancer với mode autoscale được bật.
| | vks.vngcloud.vn/ignore | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống VKS sẽ không quản lý Service/ Ingress. Mọi thay đổi đối trên Service/ Ingress sẽ bị bỏ qua và LoadBalancer sẽ không được cập nhật.
| | vks.vngcloud.vn/implementation-specific-params | Không bắt buộc | - Mặc định trống
- Theo mặc định, ALB policy chỉ có 1 rule dành cho host và path, với các thao tác giới hạn như EQUAL_TO (Exact) và START_WITH (Prefix). Nếu người dùng muốn tạo thêm policy hoặc sử dụng các thao tác khác như ENDS_WITH hoặc REGEX, cần thay đổi pathType thành ImplementationSpecificParams và sử dụng annotation với giá trị JSON để cấu hình. Ví dụ:
[{
+| Annotation | Bắt buộc/ Không bắt buộc | Ý nghĩa |
|---|
| vks.vngcloud.vn/load-balancer-id | Không bắt buộc | - Nếu bạn chưa có sẵn một Application Load Balancer đã khởi tạo trước đó trên hệ thống vLB. Lúc này, khi tạo một Ingress, bạn hãy để trống thông tin này. Sau khi bạn đã thực hiện triển khai Ingress theo hướng dẫn tại Ingress for an Application Load Balancer. Chúng tôi sẽ tự động tạo 1 ALB trên cluster của bạn. ALB này sẽ hiển thị trên vLB Portal, chi tiết truy cập tại đây
Nếu bạn đã có sẵn một Application Load Balancer đã khởi tạo trước đó trên hệ thống vLB và bạn muốn tái sử dụng ALB cho cluster của bạn. Lúc này, khi tạo một Ingress, bạn hãy nhập thông tin Load Balancer ID vào annotation này. Sau khi bạn đã thực hiện tạo Ingress theo hướng dẫn tại Ingress for an Application Load Balancer. Nếu:
Chú ý: Nếu ALB của bạn có: - 1 listener có cấu hình protocol HTTP và port 443
- Hoặc 1 listener có cấu hình protocol HTTPS và portal 80
thì khi tạo Ingress sẽ xảy ra lỗi. Lúc này, bạn cần chỉnh sửa lại thông tin listener hợp lệ trên hệ thống vLB và thực hiện tạo lại ingress. | | vks.vngcloud.vn/load-balancer-name | Không bắt buộc | - Annotation
vks.vngcloud.vn/load-balancer-name sẽ được sử dụng nếu bạn không sử dụng annotation load-balancer-id. - Annotation
vks.vngcloud.vn/load-balancer-name chỉ có ý nghĩa khi bạn tạo mới một Ingress resource. Sau khi Ingress resource được tạo thành công, annotation này sẽ tự động bị xóa. Việc sử dụng annotation này sau khi Ingress resource được tạo sẽ không có tác dụng. - Khi bạn sử dụng annotation này, nếu bạn chưa có sẵn một Application Load Balancer đã khởi tạo trước đó trên hệ thống vLB. Chúng tôi sẽ tự động tạo 1 ALB trên cluster của bạn. ALB này sẽ hiển thị trên vLB Portal, chi tiết truy cập tại đây
- Nếu bạn đã có sẵn một Application Load Balancer đã khởi tạo trước đó trên hệ thống vLB và bạn muốn tái sử dụng ALB cho cluster của bạn. Lúc này, bạn hãy nhập thông tin Load Balancer Name vào annotation này.
| | vks.vngcloud.vn/package-id | Không bắt buộc | - Nếu bạn không nhập thông tin này thì mặc định chúng tôi sẽ sử dụng cấu hình ALB Small.
- Nếu bạn đã có sẵn host vLB đang ACTIVE và bạn muốn tích hợp host này vô cụm K8S của bạn, vui lòng bỏ qua trường thông tin này.
| | vks.vngcloud.vn/prefer-zone-id | Không bắt buộc | - Nếu bạn không nhập thông tin này, hệ thống sẽ tự chọn ngẫu nhiên một zone trong các zone bạn đã chọn sử dụng.
- Nếu bạn muốn Load Balancer được tạo trong một zone cụ thể, hãy nhập Zone ID vào annotation này. Ví dụ:
HCM03-1A, HCM03-1B, HCM03-1C, HAN01-1A.
| | vks.vngcloud.vn/prefer-subnet-id | Không bắt buộc | - Nếu không khai báo, hệ thống sẽ chọn ngẫu nhiên một subnet trong các subnet thuộc zone bạn đã chọn.
- Nếu bạn muốn Load Balancer được tạo trong một subnet cụ thể, hãy nhập Subnet ID vào annotation này.
| vks.vngcloud.vn/tags | Không bắt buộc | - Tag được gắn thêm cho ALB của bạn.
| | vks.vngcloud.vn/scheme | Không bắt buộc | - Mặc định internet-facing, bạn có thể đổi thành internal tùy theo nhu cầu sử dụng.
| | vks.vngcloud.vn/security-groups | Không bắt buộc | - Mặc định sẽ tạo một security group default theo Cluster của bạn.
| | vks.vngcloud.vn/inbound-cidrs | Không bắt buộc | - Mặc định All CIRD: 0.0.0.0/0
| | vks.vngcloud.vn/healthy-threshold-count | Không bắt buộc | | | vks.vngcloud.vn/unhealthy-threshold-count | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-interval-seconds | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-timeout-seconds | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-protocol | Không bắt buộc | - Mặc định TCP. Người dùng có thể chọn một trong các giá trị TCP/ HTTP
| | vks.vngcloud.vn/healthcheck-http-method | Không bắt buộc | - Mặc định GET. Người dùng có thể chọn một trong các giá trị GET / POST / PUT
| | vks.vngcloud.vn/healthcheck-path | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-http-version | Không bắt buộc | - Mặc định 1.0. Người dùng có thể chọn một trong các giá trị 1.0, 1.1
| | vks.vngcloud.vn/healthcheck-http-domain-name | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-port | Không bắt buộc | | | vks.vngcloud.vn/success-codes | Không bắt buộc | - Mặc định 200.
- Các mã HTTP mà health check coi là healthy, chỉ áp dụng khi
healthcheck-protocol là HTTP/HTTPS. - Định dạng: một mã (
200), danh sách ngăn cách bằng dấu phẩy (200,404) hoặc một khoảng (200-399). Không kết hợp danh sách với khoảng (200,300-399 không hợp lệ).
| | vks.vngcloud.vn/idle-timeout-client | Không bắt buộc | | | vks.vngcloud.vn/idle-timeout-member | Không bắt buộc | | | vks.vngcloud.vn/idle-timeout-connection | Không bắt buộc | | | vks.vngcloud.vn/pool-algorithm | Không bắt buộc | - Mặc định ROUND_ROBIN. Người dùng có thể chọn một trong các giá trị ROUND_ROBIN / LEAST_CONNECTIONS / SOURCE_IP
| | vks.vngcloud.vn/enable-sticky-session | Không bắt buộc | | | vks.vngcloud.vn/enable-tls-encryption | Không bắt buộc | | | vks.vngcloud.vn/target-node-labels | Không bắt buộc | | | vks.vngcloud.vn/certificate-ids | Không bắt buộc | | | vks.vngcloud.vn/is-poc | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống sẽ tạo Load Balancer và thực hiện thanh toán bởi số dư ví POC.
| | vks.vngcloud.vn/enable-autoscale | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống sẽ tạo Load Balancer với mode autoscale được bật.
| | vks.vngcloud.vn/ignore | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống VKS sẽ không quản lý Service/ Ingress. Mọi thay đổi đối trên Service/ Ingress sẽ bị bỏ qua và LoadBalancer sẽ không được cập nhật.
| | vks.vngcloud.vn/implementation-specific-params | Không bắt buộc | - Mặc định trống
- Theo mặc định, ALB policy chỉ có 1 rule dành cho host và path, với các thao tác giới hạn như EQUAL_TO (Exact) và START_WITH (Prefix). Nếu người dùng muốn tạo thêm policy hoặc sử dụng các thao tác khác như ENDS_WITH hoặc REGEX, cần thay đổi pathType thành ImplementationSpecificParams và sử dụng annotation với giá trị JSON để cấu hình. Ví dụ:
[{
"path": "/haha",
"rules": [
{
@@ -63,11 +63,32 @@ defaultBackend:
### TLS
-Bạn có thể bảo mật Ingress bằng cách chỉ định 1 Secret có chứa TLS key và certificate. Hiện tại Ingress chỉ hỗ trợ duy nhất TLS port 443 và là điểm kết thúc cho TLS (TLS termination). TLS Secret phải chứa các trường với tên key là tls.crt và tls.key, đây chính là certificate và private key để sử dụng cho TLS. Cụ thể, bạn cần chỉ định:
+Bạn có thể bảo mật Ingress bằng cách chỉ định 1 Secret có chứa TLS key và certificate. Hiện tại Ingress chỉ hỗ trợ duy nhất TLS port 443 và là điểm kết thúc cho TLS (TLS termination). TLS Secret phải có type `kubernetes.io/tls`, nằm cùng namespace với Ingress và chứa các trường với tên key là tls.crt và tls.key, đây chính là certificate và private key để sử dụng cho TLS. Cụ thể, bạn cần chỉ định:
* Host: các host được chỉ định sẽ dùng cert.
* SecretName: tên secret chứa cert.
+Thay cho Secret, bạn có thể dùng chứng chỉ đã upload trên vLB qua annotation `vks.vngcloud.vn/certificate-ids`.
+
+**Chứng chỉ mặc định và SNI.** Listener 443 có một chứng chỉ mặc định (trả cho client không gửi SNI) và các chứng chỉ SNI (trả theo tên miền client gửi):
+
+* Dùng `certificate-ids`: id **đầu tiên** là chứng chỉ mặc định, các id còn lại dùng cho SNI.
+* Dùng Secret: Secret có tên **đứng đầu theo thứ tự chữ cái** là chứng chỉ mặc định, các Secret còn lại dùng cho SNI.
+
+**Nhiều Ingress dùng chung một ALB.** Các Ingress cùng chỉ định một `vks.vngcloud.vn/load-balancer-id` và cùng khai báo TLS sẽ dùng chung listener 443, tức là dùng chung chứng chỉ mặc định. Để tránh các Ingress ghi đè chứng chỉ của nhau:
+
+* Nên dùng **một chứng chỉ chung** (wildcard hoặc nhiều SAN) cho mọi Ingress trên ALB, copy **giống hệt** Secret sang từng namespace. Từ GreenNode LoadBalancer Controller 0.5.2, các bản copy giống hệt nhau chỉ tạo một chứng chỉ trên vLB.
+* Nếu cần nhiều chứng chỉ khác nhau: upload lên vLB và đặt **cùng một** giá trị `certificate-ids` (cùng danh sách, cùng thứ tự) trên mọi Ingress HTTPS của ALB đó.
+
+**Gia hạn chứng chỉ.**
+
+* Dùng Secret: cập nhật **mọi** bản copy Secret cùng lúc, cùng nội dung. Controller áp chứng chỉ mới trong vòng tối đa 30 phút và tự xoá chứng chỉ cũ khi không còn listener nào dùng.
+* Dùng `certificate-ids`: upload chứng chỉ mới, cập nhật annotation trên mọi Ingress của ALB, sau đó mới xoá chứng chỉ cũ trên vLB.
+
+{% hint style="warning" %}
+Với GreenNode LoadBalancer Controller trước 0.5.2, mỗi bản copy Secret được import thành một chứng chỉ riêng; nhiều Ingress dùng chung ALB có thể ghi đè chứng chỉ mặc định của nhau liên tục, khiến thay đổi mới không được áp lên ALB. Nếu gặp tình trạng này, hãy liên hệ GreenNode để nâng cấp Controller.
+{% endhint %}
+
***
### Path types
diff --git a/Vietnamese/vks/network/working-with-alb/expose-mot-service-thong-qua-vlb-layer7.md b/Vietnamese/vks/network/working-with-alb/expose-mot-service-thong-qua-vlb-layer7.md
index 83979a05..d2fdb5d2 100644
--- a/Vietnamese/vks/network/working-with-alb/expose-mot-service-thong-qua-vlb-layer7.md
+++ b/Vietnamese/vks/network/working-with-alb/expose-mot-service-thong-qua-vlb-layer7.md
@@ -219,7 +219,7 @@ Lúc này, hệ thống vLB sẽ tự động tạo một LB tương ứng với
{% hint style="info" %}
Chú ý:
-* Hiện tại Ingress chỉ hỗ trợ duy nhất TLS port 443 và là điểm kết thúc cho TLS (TLS termination). TLS Secret phải chứa các trường với tên key là tls.crt và tls.key, đây chính là certificate và private key để sử dụng cho TLS. Nếu bạn muốn sử dụng Certificate cho một host, hãy thực hiện tải lên Certificate theo hướng dẫn tại \[Upload a certificate] và sử dụng chúng như một annotation. Ví dụ:
+* Hiện tại Ingress chỉ hỗ trợ duy nhất TLS port 443 và là điểm kết thúc cho TLS (TLS termination). TLS Secret phải chứa các trường với tên key là tls.crt và tls.key, đây chính là certificate và private key để sử dụng cho TLS. Nếu bạn muốn sử dụng Certificate cho một host, hãy thực hiện tải lên Certificate theo hướng dẫn tại [Upload a certificate](https://docs.greennode.ai/vn/vserver/compute-hcm03-1a/vlb-load-balancer-new-version/application-load-balancer/certificate/upload-a-certificate) và sử dụng chúng như một annotation. Ví dụ:
```
apiVersion: networking.k8s.io/v1
diff --git a/Vietnamese/vks/network/working-with-alb/gioi-han-va-han-che-alb.md b/Vietnamese/vks/network/working-with-alb/gioi-han-va-han-che-alb.md
index 59a5e215..4699009e 100644
--- a/Vietnamese/vks/network/working-with-alb/gioi-han-va-han-che-alb.md
+++ b/Vietnamese/vks/network/working-with-alb/gioi-han-va-han-che-alb.md
@@ -6,7 +6,7 @@ Một vài lưu ý về giới hạn của việc ingress an ALB vào một clus
* Một cluster có thể có nhiều Ingress, mỗi Ingress có chứa thông tin tài nguyên cho một ALB duy nhất.
* Một ALB có thể được sử dụng chung cho nhiều Ingress. Từ đó một ALB có thể được sử dụng chung cho nhiều cluster nhưng phải đảm bảo các cluster này có chung **VPC**.
-* Một ALB có thể bao gồm nhiều listener, nhiều pool, nhiều policy. Các giới hạn về số lượng listener, số lượng pool, số lượng policy vui lòng tham khảo tại \[Hạn mức tài nguyên]
+* Một ALB có thể bao gồm nhiều listener, nhiều pool, nhiều policy. Các giới hạn về số lượng listener, số lượng pool, số lượng policy vui lòng tham khảo tại [Hạn mức tài nguyên](https://docs.greennode.ai/vn/vserver/compute/han-muc-tai-nguyen).
***
@@ -15,3 +15,7 @@ Một vài lưu ý về giới hạn của việc ingress an ALB vào một clus
* Ingress controller manager cần phải cấu hình các annotation để chỉ định các thuộc tính của ALB, như protocol, port,... Các annotation này có thể khác nhau tùy theo nhà cung cấp dịch vụ đám mây, hiện tại với **GreenNode LoadBalancer Controller** đang cung cấp danh sách annotation tham khảo tại [cau-hinh-cho-mot-application-load-balancer.md](cau-hinh-cho-mot-application-load-balancer.md "mention"). Chúng tôi sẽ nâng cấp thêm phần này trong các phiên bản release kế tiếp.
* Hiện tại, vLB chưa hỗ trợ tính năng strip path ở Load Balancer Layer 7, chúng tôi sẽ sớm tích hợp tính năng này trong tương lai.
* Việc thay đổi tên hoặc kích thước (Rename, Resize) tài nguyên Load Balancer trên vServer Portal có thể gây ra sự không tương thích với tài nguyên trên Kubernetes Cluster. Điều này có thể dẫn đến việc các tài nguyên không hoạt động trên Cluster, hoặc tài nguyên bị đồng bộ lại hoặc thông tin tài nguyên giữa vServer Portal và Cluster không khớp. Để ngăn chặn vấn đề này, hãy sử dụng `kubectl`để quản lý tài nguyên của Cluster.
+* Khi xoá Ingress:
+ * ALB do VKS tạo sẽ bị xoá khi Ingress **cuối cùng** dùng nó bị xoá (kể cả Ingress ở namespace hoặc cluster khác trỏ vào bằng `load-balancer-id`). ALB tạo trên vLB Portal rồi gắn vào bằng `load-balancer-id` không bao giờ bị xoá; Controller chỉ gỡ listener, pool, policy mà nó đã tạo. Nếu cần giữ ALB (và IP public) độc lập với Ingress, hãy tạo ALB trên Portal trước.
+ * Đổi `load-balancer-id` sang ALB khác: ALB cũ không bị xoá, chỉ được gỡ listener, pool, policy của Ingress.
+ * Chứng chỉ import từ Secret hiện chưa được tự xoá khi xoá Ingress; bạn có thể xoá trên vLB Portal khi không còn listener nào dùng. Chứng chỉ chỉ định bằng `certificate-ids` không bao giờ bị xoá.
diff --git a/Vietnamese/vks/network/working-with-alb/ingress-for-an-application-load-balancer.md b/Vietnamese/vks/network/working-with-alb/ingress-for-an-application-load-balancer.md
index c75abd6a..329ca210 100644
--- a/Vietnamese/vks/network/working-with-alb/ingress-for-an-application-load-balancer.md
+++ b/Vietnamese/vks/network/working-with-alb/ingress-for-an-application-load-balancer.md
@@ -185,7 +185,7 @@ Ví dụ:
{% hint style="info" %}
Chú ý:
-* Hiện tại Ingress chỉ hỗ trợ duy nhất TLS port 443 và là điểm kết thúc cho TLS (TLS termination). TLS Secret phải chứa các trường với tên key là tls.crt và tls.key, đây chính là certificate và private key để sử dụng cho TLS. Nếu bạn muốn sử dụng Certificate cho một host, hãy thực hiện tải lên Certificate theo hướng dẫn tại \[Upload a certificate] và sử dụng chúng như một annotation. Ví dụ:
+* Hiện tại Ingress chỉ hỗ trợ duy nhất TLS port 443 và là điểm kết thúc cho TLS (TLS termination). TLS Secret phải chứa các trường với tên key là tls.crt và tls.key, đây chính là certificate và private key để sử dụng cho TLS. Nếu bạn muốn sử dụng Certificate cho một host, hãy thực hiện tải lên Certificate theo hướng dẫn tại [Upload a certificate](https://docs.greennode.ai/vn/vserver/compute-hcm03-1a/vlb-load-balancer-new-version/application-load-balancer/certificate/upload-a-certificate) và sử dụng chúng như một annotation. Ví dụ:
```
apiVersion: networking.k8s.io/v1
@@ -328,7 +328,7 @@ spec:
* **metadata:** Thông tin mô tả Ingress, bao gồm tên, annotations.
* **spec:** Cấu hình Ingress, bao gồm các rule route traffic theo điều kiện của các incoming request. Tài nguyên Ingress chỉ hỗ trợ các rule để điều hướng HTTP traffic.
-Để biết thông tin chung về cách làm việc với tài nguyên Ingress (Ingress Yaml file), hãy xem tại \[Configure for an Application Load Balancer]).
+Để biết thông tin chung về cách làm việc với tài nguyên Ingress (Ingress Yaml file), hãy xem tại [Configure for an Application Load Balancer](cau-hinh-cho-mot-application-load-balancer.md).
***
@@ -377,6 +377,16 @@ Events:
kubectl edit ingress nginx-ingress
```
+{% hint style="info" %}
+Event `Ensured` trên Ingress chỉ cho biết Ingress đã được ghi nhận, **chưa** có nghĩa thay đổi đã được áp lên ALB. Để kiểm tra thay đổi đã được áp lên ALB hay chưa, hãy xem trạng thái của LoadBalancer resource:
+
+```bash
+kubectl get lbc -n -o custom-columns=NAME:.metadata.name,GENERATION:.metadata.generation,OBSERVED:.status.observedGeneration,READY:'.status.conditions[?(@.type=="Ready")].status'
+```
+
+Khi `READY` là `True` và `OBSERVED` bằng `GENERATION`, thay đổi mới nhất đã được áp lên ALB. Nếu không, xem lý do bằng `kubectl describe lbc -n `. Controller chỉ cập nhật ALB khi ALB ở trạng thái ACTIVE; nếu ALB ở trạng thái khác quá 30 phút, hãy liên hệ GreenNode kèm Load Balancer ID.
+{% endhint %}
+
***
**Để truy cập vào app nginx, bạn có thể sử dụng Endpoint của Load Balancer mà hệ thống đã tạo.**
diff --git a/Vietnamese/vks/network/working-with-nlb/cau-hinh-cho-mot-network-load-balancer.md b/Vietnamese/vks/network/working-with-nlb/cau-hinh-cho-mot-network-load-balancer.md
index bd8f34b5..7126884b 100644
--- a/Vietnamese/vks/network/working-with-nlb/cau-hinh-cho-mot-network-load-balancer.md
+++ b/Vietnamese/vks/network/working-with-nlb/cau-hinh-cho-mot-network-load-balancer.md
@@ -1,6 +1,6 @@
# Cấu hình cho một Network Load Balancer
-Tại trang \[Integrate with Network Load Balancer], chúng tôi đã hướng dẫn bạn cách thực hiện cài đặt GreenNode LoadBalancer Controller, tạo và apply yaml file. Sau đây là chi tiết các ý nghĩa các thông tin bạn có thể thiết lập trong yaml file:
+Tại trang [Integrate with Network Load Balancer](integrate-with-network-load-balancer.md), chúng tôi đã hướng dẫn bạn cách thực hiện cài đặt GreenNode LoadBalancer Controller, tạo và apply yaml file. Sau đây là chi tiết các ý nghĩa các thông tin bạn có thể thiết lập trong yaml file:
### Annotation
@@ -8,7 +8,7 @@ Sử dụng các annotation dưới đây để tuỳ chỉnh Load Balancer phù
Với ACL của listener, vLB đánh giá theo thứ tự: **Dropped CIDRs** (danh sách chặn) → **Allowed CIDRs** (danh sách cho phép) → **Default action** (hành động mặc định); rule khớp đầu tiên sẽ thắng và IP không khớp rule nào sẽ áp dụng **Default action**. Các annotation ACL (`dropped-cidrs`, `inbound-cidrs`, `acl-default-action`) chỉ hỗ trợ IPv4 và yêu cầu GreenNode LoadBalancer Controller từ phiên bản **0.4.2**.
-| Annotation | Bắt buộc/ Không bắt buộc | Ý nghĩa |
|---|
| vks.vngcloud.vn/load-balancer-id | Không bắt buộc | - Nếu bạn chưa có sẵn một Network Load Balancer đã khởi tạo trước đó trên hệ thống vLB. Chúng tôi sẽ tự động tạo 1 NLB trên cluster của bạn. NLB này sẽ hiển thị trên vLB Portal, chi tiết truy cập tại đây
- Nếu bạn đã có sẵn một Network Load Balancer đã khởi tạo trước đó trên hệ thống vLB và bạn muốn tái sử dụng NLB cho cluster của bạn. Lúc này, bạn hãy nhập thông tin Load Balancer ID vào annotation này.
| | vks.vngcloud.vn/load-balancer-name | Không bắt buộc | - Annotation
vks.vngcloud.vn/load-balancer-name sẽ được sử dụng nếu bạn không sử dụng annotation load-balancer-id. - Annotation
vks.vngcloud.vn/load-balancer-name chỉ có ý nghĩa khi bạn tạo mới một load balancer. Sau khi load balancer được tạo thành công, annotation này sẽ tự động bị xóa. Việc sử dụng annotation này sau khi load balancer được tạo sẽ không có tác dụng. - Khi bạn sử dụng annotation này, nếu bạn chưa có sẵn một Network Load Balancer đã khởi tạo trước đó trên hệ thống vLB. Chúng tôi sẽ tự động tạo 1 NLB trên cluster của bạn. ALB này sẽ hiển thị trên vLB Portal, chi tiết truy cập tại đây
- Nếu bạn đã có sẵn một Network Load Balancer đã khởi tạo trước đó trên hệ thống vLB và bạn muốn tái sử dụng NLB cho cluster của bạn. Lúc này, bạn hãy nhập thông tin Load Balancer Name vào annotation này.
| | vks.vngcloud.vn/package-id | Không bắt buộc | - Nếu bạn không nhập thông tin này thì mặc định chúng tôi sẽ sử dụng cấu hình NLB Small.
- Nếu bạn đã có sẵn host vLB đang ACTIVE và bạn muốn tích hợp host này vô cụm K8S của bạn, vui lòng bỏ qua trường thông tin này.
| | vks.vngcloud.vn/prefer-zone-id | Không bắt buộc | - Nếu bạn không nhập thông tin này, hệ thống sẽ tự chọn ngẫu nhiên một zone trong các zone bạn đã chọn sử dụng.
- Nếu bạn muốn Load Balancer được tạo trong một zone cụ thể, hãy nhập Zone ID vào annotation này. Ví dụ:
HCM03-1A, HCM03-1B, HCM03-1C, HAN01-1A.
| | vks.vngcloud.vn/prefer-subnet-id | Không bắt buộc | - Nếu không khai báo, hệ thống sẽ chọn ngẫu nhiên một subnet trong các subnet thuộc zone bạn đã chọn.
- Nếu bạn muốn Load Balancer được tạo trong một subnet cụ thể, hãy nhập Subnet ID vào annotation này.
| | vks.vngcloud.vn/tags | Không bắt buộc | - Tag được gắn thêm cho NLB của bạn.
| | vks.vngcloud.vn/scheme | Không bắt buộc | - Mặc định internet-facing, bạn có thể đổi thành internal tùy theo nhu cầu sử dụng.
| | vks.vngcloud.vn/security-groups | Không bắt buộc | - Mặc định sẽ tạo một security group default theo Cluster của bạn.
| | vks.vngcloud.vn/inbound-cidrs | Không bắt buộc | - Mặc định All CIDR: 0.0.0.0/0
- Danh sách CIDR/IP IPv4 được phép truy cập (Allowed CIDRs), đánh giá sau
dropped-cidrs. - Nếu đặt annotation này mà không đặt
vks.vngcloud.vn/acl-default-action, default action sẽ là drop — chỉ các dải IP đã khai báo được truy cập. - Gỡ annotation này sẽ trả listener về giá trị ACL trước đó (thường là 0.0.0.0/0).
| | vks.vngcloud.vn/dropped-cidrs | Không bắt buộc | - Danh sách CIDR/IP IPv4 bị chặn (Dropped CIDRs), ngăn cách bằng dấu phẩy. Ví dụ:
203.0.113.9/32,198.51.100.0/24. - 0.0.0.0/0: chặn toàn bộ truy cập vào listener.
- Chuỗi rỗng
"": xóa danh sách chặn (controller vẫn quản lý danh sách này). - Được ưu tiên đánh giá trước
inbound-cidrs: IP nằm trong cả hai danh sách sẽ bị chặn. - Truy cập bị chặn sẽ bị bỏ gói im lặng, client sẽ thấy timeout.
| | vks.vngcloud.vn/acl-default-action | Không bắt buộc | - Hành động áp dụng cho IP không khớp rule ACL nào: accept hoặc drop (không phân biệt hoa thường).
- Nếu đặt
inbound-cidrs mà không đặt annotation này, controller sẽ đặt default action là drop.
| | vks.vngcloud.vn/healthy-threshold-count | Không bắt buộc | | | vks.vngcloud.vn/unhealthy-threshold-count | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-interval-seconds | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-timeout-seconds | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-protocol | Không bắt buộc | - Mặc định TCP. Người dùng có thể chọn một trong các giá trị TCP/ HTTP/ HTTPS/ PING-UDP
| | vks.vngcloud.vn/healthcheck-http-method | Không bắt buộc | - Mặc định GET. Người dùng có thể chọn một trong các giá trị GET / POST / PUT
| | vks.vngcloud.vn/healthcheck-path | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-http-version | Không bắt buộc | - Mặc định 1.0. Người dùng có thể chọn một trong các giá trị 1.0, 1.1
| | vks.vngcloud.vn/healthcheck-http-domain-name | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-port | Không bắt buộc | | | vks.vngcloud.vn/success-codes | Không bắt buộc | | | vks.vngcloud.vn/idle-timeout-client | Không bắt buộc | | | vks.vngcloud.vn/idle-timeout-member | Không bắt buộc | | | vks.vngcloud.vn/idle-timeout-connection | Không bắt buộc | | | vks.vngcloud.vn/pool-algorithm | Không bắt buộc | - Mặc định ROUND_ROBIN. Người dùng có thể chọn một trong các giá trị ROUND_ROBIN / LEAST_CONNECTIONS / SOURCE_IP
| | vks.vngcloud.vn/target-node-labels | Không bắt buộc | | | vks.vngcloud.vn/enable-proxy-protocol | Không bắt buộc | - Mặc định trống. Người dùng chỉ định danh sách các service name trong Load Balancer mà Proxy Protocol sẽ được áp dụng.
| | vks.vngcloud.vn/is-poc | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống sẽ tạo Load Balancer và thực hiện thanh toán bởi số dư ví POC.
| | vks.vngcloud.vn/enable-autoscale | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống sẽ tạo Load Balancer với mode autoscale được bật.
| | vks.vngcloud.vn/ignore | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống VKS sẽ không quản lý Service. Mọi thay đổi đối trên Service sẽ bị bỏ qua và LoadBalancer sẽ không được cập nhật.
|
+| Annotation | Bắt buộc/ Không bắt buộc | Ý nghĩa |
|---|
| vks.vngcloud.vn/load-balancer-id | Không bắt buộc | - Nếu bạn chưa có sẵn một Network Load Balancer đã khởi tạo trước đó trên hệ thống vLB. Chúng tôi sẽ tự động tạo 1 NLB trên cluster của bạn. NLB này sẽ hiển thị trên vLB Portal, chi tiết truy cập tại đây
- Nếu bạn đã có sẵn một Network Load Balancer đã khởi tạo trước đó trên hệ thống vLB và bạn muốn tái sử dụng NLB cho cluster của bạn. Lúc này, bạn hãy nhập thông tin Load Balancer ID vào annotation này.
| | vks.vngcloud.vn/load-balancer-name | Không bắt buộc | - Annotation
vks.vngcloud.vn/load-balancer-name sẽ được sử dụng nếu bạn không sử dụng annotation load-balancer-id. - Annotation
vks.vngcloud.vn/load-balancer-name chỉ có ý nghĩa khi bạn tạo mới một load balancer. Sau khi load balancer được tạo thành công, annotation này sẽ tự động bị xóa. Việc sử dụng annotation này sau khi load balancer được tạo sẽ không có tác dụng. - Khi bạn sử dụng annotation này, nếu bạn chưa có sẵn một Network Load Balancer đã khởi tạo trước đó trên hệ thống vLB. Chúng tôi sẽ tự động tạo 1 NLB trên cluster của bạn. ALB này sẽ hiển thị trên vLB Portal, chi tiết truy cập tại đây
- Nếu bạn đã có sẵn một Network Load Balancer đã khởi tạo trước đó trên hệ thống vLB và bạn muốn tái sử dụng NLB cho cluster của bạn. Lúc này, bạn hãy nhập thông tin Load Balancer Name vào annotation này.
| | vks.vngcloud.vn/package-id | Không bắt buộc | - Nếu bạn không nhập thông tin này thì mặc định chúng tôi sẽ sử dụng cấu hình NLB Small.
- Nếu bạn đã có sẵn host vLB đang ACTIVE và bạn muốn tích hợp host này vô cụm K8S của bạn, vui lòng bỏ qua trường thông tin này.
| | vks.vngcloud.vn/prefer-zone-id | Không bắt buộc | - Nếu bạn không nhập thông tin này, hệ thống sẽ tự chọn ngẫu nhiên một zone trong các zone bạn đã chọn sử dụng.
- Nếu bạn muốn Load Balancer được tạo trong một zone cụ thể, hãy nhập Zone ID vào annotation này. Ví dụ:
HCM03-1A, HCM03-1B, HCM03-1C, HAN01-1A.
| | vks.vngcloud.vn/prefer-subnet-id | Không bắt buộc | - Nếu không khai báo, hệ thống sẽ chọn ngẫu nhiên một subnet trong các subnet thuộc zone bạn đã chọn.
- Nếu bạn muốn Load Balancer được tạo trong một subnet cụ thể, hãy nhập Subnet ID vào annotation này.
| | vks.vngcloud.vn/tags | Không bắt buộc | - Tag được gắn thêm cho NLB của bạn.
| | vks.vngcloud.vn/scheme | Không bắt buộc | - Mặc định internet-facing, bạn có thể đổi thành internal tùy theo nhu cầu sử dụng.
| | vks.vngcloud.vn/security-groups | Không bắt buộc | - Mặc định sẽ tạo một security group default theo Cluster của bạn.
| | vks.vngcloud.vn/inbound-cidrs | Không bắt buộc | - Mặc định All CIDR: 0.0.0.0/0
- Danh sách CIDR/IP IPv4 được phép truy cập (Allowed CIDRs), đánh giá sau
dropped-cidrs. - Nếu đặt annotation này mà không đặt
vks.vngcloud.vn/acl-default-action, default action sẽ là drop — chỉ các dải IP đã khai báo được truy cập. - Gỡ annotation này sẽ trả listener về giá trị ACL trước đó (thường là 0.0.0.0/0).
| | vks.vngcloud.vn/dropped-cidrs | Không bắt buộc | - Danh sách CIDR/IP IPv4 bị chặn (Dropped CIDRs), ngăn cách bằng dấu phẩy. Ví dụ:
203.0.113.9/32,198.51.100.0/24. - 0.0.0.0/0: chặn toàn bộ truy cập vào listener.
- Chuỗi rỗng
"": xóa danh sách chặn (controller vẫn quản lý danh sách này). - Được ưu tiên đánh giá trước
inbound-cidrs: IP nằm trong cả hai danh sách sẽ bị chặn. - Truy cập bị chặn sẽ bị bỏ gói im lặng, client sẽ thấy timeout.
| | vks.vngcloud.vn/acl-default-action | Không bắt buộc | - Hành động áp dụng cho IP không khớp rule ACL nào: accept hoặc drop (không phân biệt hoa thường).
- Nếu đặt
inbound-cidrs mà không đặt annotation này, controller sẽ đặt default action là drop.
| | vks.vngcloud.vn/healthy-threshold-count | Không bắt buộc | | | vks.vngcloud.vn/unhealthy-threshold-count | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-interval-seconds | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-timeout-seconds | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-protocol | Không bắt buộc | - Mặc định TCP. Người dùng có thể chọn một trong các giá trị TCP/ HTTP/ HTTPS/ PING-UDP
| | vks.vngcloud.vn/healthcheck-http-method | Không bắt buộc | - Mặc định GET. Người dùng có thể chọn một trong các giá trị GET / POST / PUT
| | vks.vngcloud.vn/healthcheck-path | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-http-version | Không bắt buộc | - Mặc định 1.0. Người dùng có thể chọn một trong các giá trị 1.0, 1.1
| | vks.vngcloud.vn/healthcheck-http-domain-name | Không bắt buộc | | | vks.vngcloud.vn/healthcheck-port | Không bắt buộc | | | vks.vngcloud.vn/success-codes | Không bắt buộc | - Mặc định 200.
- Các mã HTTP mà health check coi là healthy, chỉ áp dụng khi
healthcheck-protocol là HTTP/HTTPS. - Định dạng: một mã (
200), danh sách ngăn cách bằng dấu phẩy (200,404) hoặc một khoảng (200-399). Không kết hợp danh sách với khoảng (200,300-399 không hợp lệ).
| | vks.vngcloud.vn/idle-timeout-client | Không bắt buộc | | | vks.vngcloud.vn/idle-timeout-member | Không bắt buộc | | | vks.vngcloud.vn/idle-timeout-connection | Không bắt buộc | | | vks.vngcloud.vn/pool-algorithm | Không bắt buộc | - Mặc định ROUND_ROBIN. Người dùng có thể chọn một trong các giá trị ROUND_ROBIN / LEAST_CONNECTIONS / SOURCE_IP
| | vks.vngcloud.vn/target-node-labels | Không bắt buộc | | | vks.vngcloud.vn/enable-proxy-protocol | Không bắt buộc | - Mặc định trống. Người dùng chỉ định danh sách các service name trong Load Balancer mà Proxy Protocol sẽ được áp dụng.
| | vks.vngcloud.vn/is-poc | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống sẽ tạo Load Balancer và thực hiện thanh toán bởi số dư ví POC.
| | vks.vngcloud.vn/enable-autoscale | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống sẽ tạo Load Balancer với mode autoscale được bật.
| | vks.vngcloud.vn/ignore | Không bắt buộc | - Mặc định false.
- Nếu người dùng chỉ định field này là true, hệ thống VKS sẽ không quản lý Service. Mọi thay đổi đối trên Service sẽ bị bỏ qua và LoadBalancer sẽ không được cập nhật.
|
diff --git a/Vietnamese/vks/network/working-with-nlb/gioi-han-va-han-che-nlb.md b/Vietnamese/vks/network/working-with-nlb/gioi-han-va-han-che-nlb.md
index 1b2c8817..70587cb6 100644
--- a/Vietnamese/vks/network/working-with-nlb/gioi-han-va-han-che-nlb.md
+++ b/Vietnamese/vks/network/working-with-nlb/gioi-han-va-han-che-nlb.md
@@ -5,10 +5,11 @@
Một vài lưu ý về giới hạn của việc intergrate a NLB vào một cluster:
* Một NLB có thể được sử dụng chung cho nhiều cluster nhưng phải đảm bảo các cluster này có chung **VPC**.
-* Một NLB có thể bao gồm nhiều listener, nhiều pool, nhiều policy. Các giới hạn về số lượng listener, số lượng pool, số lượng policy vui lòng tham khảo tại [Hạn mức tài nguyên](https://docs.vngcloud.vn/pages/viewpage.action?pageId=59802094).
+* Một NLB có thể bao gồm nhiều listener, nhiều pool, nhiều policy. Các giới hạn về số lượng listener, số lượng pool, số lượng policy vui lòng tham khảo tại [Hạn mức tài nguyên](https://docs.greennode.ai/vn/vserver/compute/han-muc-tai-nguyen).
***
## Hạn chế
* Việc thay đổi tên hoặc kích thước (Rename, Resize) tài nguyên Load Balancer trên vServer Portal có thể gây ra sự không tương thích với tài nguyên trên Kubernetes Cluster. Điều này có thể dẫn đến việc các tài nguyên không hoạt động trên Cluster, hoặc tài nguyên bị đồng bộ lại hoặc thông tin tài nguyên giữa vServer Portal và Cluster không khớp. Để ngăn chặn vấn đề này, hãy sử dụng `kubectl`để quản lý tài nguyên của Cluster.
+* Khi xoá Service type LoadBalancer: NLB do VKS tạo sẽ bị xoá khi Service **cuối cùng** dùng nó bị xoá. NLB tạo trên vLB Portal rồi gắn vào bằng `vks.vngcloud.vn/load-balancer-id` không bao giờ bị xoá; Controller chỉ gỡ listener, pool mà nó đã tạo.
diff --git a/Vietnamese/vks/network/working-with-nlb/integrate-with-network-load-balancer.md b/Vietnamese/vks/network/working-with-nlb/integrate-with-network-load-balancer.md
index a585e892..588f25d3 100644
--- a/Vietnamese/vks/network/working-with-nlb/integrate-with-network-load-balancer.md
+++ b/Vietnamese/vks/network/working-with-nlb/integrate-with-network-load-balancer.md
@@ -281,7 +281,7 @@ spec:
* **metadata:** Thông tin mô tả Ingress, bao gồm tên, annotations.
* **spec:** Cấu hình điều kiện của các incoming request.
-Để biết thông tin chung về cách làm việc với **vngcloud-controller-manager,**, hãy xem tại \[Configure for a Network Load Balancer]
+Để biết thông tin chung về cách làm việc với **vngcloud-controller-manager,**, hãy xem tại [Configure for a Network Load Balancer](cau-hinh-cho-mot-network-load-balancer.md)
* Deploy Service này bằng lệch:
|
|
|
|