Skip to content

Commit

Permalink
Update on lifecycle
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Jun 13, 2024
1 parent 6ffaac6 commit a4a2ccd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/reference/inlets-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You can install the inlets-operator's Helm chart using a single command with [ar

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

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`

Expand Down Expand Up @@ -50,6 +50,10 @@ To have the tunnel server re-created, you can delete the tunnel CustomResource,
kubectl delete tunnel nginx-1-tunnel
```

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.

As a rule, the name of the VM will match the name of the service in Kubernetes.

### Working with another LoadBalancer

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.
Expand Down

0 comments on commit a4a2ccd

Please sign in to comment.