Expose Application for Public Access

    You can configure your application for public access.

    There’re mainly three ways to expose your service.

    1. Configure gateway trait, it works for webservice, worker and component types. gateway trait must configure a domain and works only for HTTP/HTTPs protocols.
    2. Case by case component configurations.

    Expose service for webservice typed component

    You can modify ExposeType to choose the way, and you should configure the Service Ports to listen the ports and turn on the Expose radio.

    Add gateway trait

    The gateway trait requires you have available in your cluster. You can add this trait to expose your service and configure a domain.

    As the picture shows, the Domain field configure your domain, please configure your DNS for domain to route to the Kubernetes cluster gateway IP.

    Other component types can also be able to configure the service expose, but they’re usually case by case, especially for helm charts.

    After the application deployed with service exposed configuration, you can see a Service Endpoint button on the left of the Recycle button. You’ll see the endpoint when hover your mouse there.

    service endpoint