Ingress
Last updated
Last updated
ⓒ2023. Acornsoft Corp. All rights reserved.
Ingress is a feature that allows controlling HTTP/HTTPS routing from outside the cluster to internal services within the cluster. To create Ingress, it is necessary to install the Ingress controller in the cluster beforehand through the Cocktail Cloud's addon management screen.
1) Click on the "+ Create" button at the top right of the Ingress screen in the Service Map.
1) Provide the necessary basic information for Ingress configuration.
Item (* is required) | Content |
---|---|
ingress name* | Write the name of the Ingress you want to register |
Ingress Controller* | Select the installed Ingress controller |
SSL Redirect | If using an SSL certificate and need to automatically redirect from HTTP to HTTPS, choose TRUE |
Label | Input labels to be registered for the Ingress |
Annotation | Input comments to be registered for the Ingress |
To configure automatic redirection from HTTP to HTTPS, set SSL Redirect to true and include force-ssl-redirect: true in the comments.
1) Click the "Edit" button in the "Rules" section of Ingress settings.
2) When adding a host, enter the desired host name and click "+ Add."
If there are pre-registered hosts, select "Select from existing hosts" and click "+ Add.".
Item (* is required) | Content |
---|---|
host* | The entered host is specified by adding it |
path* | Select the installed Ingress controller |
Path Type* |
|
Target Service* | Choose the service to connect to the Ingress among the currently created exposed services |
Targeted Service Port* | Select the port to be served by the service |
Configure TLS-related information for Ingress, including secrets used to terminate TLS traffic on port 443 and host information included in TLS certificates.
1) Click the "Edit" button in the "TLS" section of Ingress settings.
2) Select the Secret and target host, then click "+ Add."
Item (* is required) | Content |
---|---|
Secret* | Select the public certificate Secret that has been previously registered |
Targeted host* | Choose the host for which TLS certificates will be applied |
3) After completion, click "Apply."
1) To actually create the Ingress, be sure to click the "Save" button.
Access the [Ingress] screen in the Service Map to view the created Ingress information.
1) In the [Ingress] screen of the Service Map, view the list of Ingress.
1) Click on the Ingress name link displayed in the Ingress list. The configuration and status information of the Ingress will be displayed.
2) You can also view Ingress settings information and status information in YAML format. After clicking the "Settings" button at the top of the screen, select "YAML View" as the settings view at the top of the screen to display information in YAML format.