Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).

***

Expand All @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

```
Expand Down Expand Up @@ -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).

***

Expand Down Expand Up @@ -387,6 +387,16 @@ Events: <none>
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 <namespace> -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 <namespace> <name>`. 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.**
Expand Down
Loading
Loading