Skip to content

Commit a4a2ccd

Browse files
committed
Update on lifecycle
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 6ffaac6 commit a4a2ccd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/reference/inlets-operator.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can install the inlets-operator's Helm chart using a single command with [ar
1515

1616
> You can [subscribe to inlets for personal or commercial use via Gumroad](https://inlets.dev/blog/2021/07/27/monthly-subscription.html)
1717
18-
## Tunnel Custom Resource Definition (CRD)
18+
## Tunnel Custom Resource Definition (CRD) and lifecycle
1919

2020
The inlets-operator uses a custom resource definition (CRD) to create tunnels. The CRD is called `Tunnel` and its full name is `tunnels.operator.inlets.dev`
2121

@@ -50,6 +50,10 @@ To have the tunnel server re-created, you can delete the tunnel CustomResource,
5050
kubectl delete tunnel nginx-1-tunnel
5151
```
5252

53+
Bear in mind that if you delete your cluster before you delete the LoadBalancer service, then the inlets-operator will have no way to remove the tunnel servers that have been created for you. Therefore, you should always delete the LoadBalancer service before deleting the cluster. If you should forget, and delete your K3s or KinD cluster, then you can go into your cloud account and delete the VMs manually.
54+
55+
As a rule, the name of the VM will match the name of the service in Kubernetes.
56+
5357
### Working with another LoadBalancer
5458

5559
If you're running metal-lb or kube-vip to provide local IP addresses for LoadBalancer services, then you can annotate the services you wish to expose to the Internet with `operator.inlets.dev/manage=1`, then set `annotatedOnly: true` in the inlets-operator Helm chart.

0 commit comments

Comments
 (0)