Automatic SSL Endpoints

Okteto Cloud can automatically create an SSL endpoint for your deployments. In order to take advantage of this feature, you need to add the annotation below to your service.

1
2
annotations:
dev.okteto.com/auto-ingress: "true"

A sample of how this should look is available here.

Adding this annotation will tell Okteto to automatically create an https ingress rule for you that redirects to the first http port of your service.

You can see the address of your endpoint by going to Okteto Cloud’s UI. The endpoint address will be consistent across redeploys, as long as you don’t change your service name.

Bring your own ingress

You can also create your own https endpoints in by creating an ingress. The only restriction is that the address must end on -$NAMESPACE.cloud.okteto.net.