Can I use my own https://<url> pointing to my cluster's ingress subdomain?

10/27/2018

Let me quickly explain this. I have one cluster on which xyz app is running and exposed in ingress URL. say httpsprotocol://xyz.com

I'm using IBM cloud.

Can I configured my own url say httpsprotocol://myurl.com pointing to the ingress subdomain URL.httpsprotocol://xyz.com How can I do that?

So every time when I hit myURL it should routes to ingresssubURL.

-- Chinmay Kulkarni
ibm-cloud
kubernetes-ingress
nginx
nginx-config
nginx-reverse-proxy

1 Answer

10/27/2018

That is possible. For https on your custom domain, you would need a TLS certificate. There is a IBM Cloud solution tutorial which has optional steps to set up your own domain for ingress access. It has the source code and configuration files you could look at and adapt for your case.

There is also this blog post in which I show how to configure the URL and apply the certificate. Both the tutorial and the blog have links to the IBM Cloud documentation for the basics.

-- data_henrik
Source: StackOverflow