# Need help to setup the Traefik

**URL:** <https://community.traefik.io/t/need-help-to-setup-the-traefik/17488>\
**Category:** Traefik Hub\
**Tags:** kubernetes\
**Created:** [February 9, 2023, 7:01pm UTC](https://community.traefik.io/t/need-help-to-setup-the-traefik/17488 "2023-02-09T19:01:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exnadella](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/exnadella/32/6631_2.png) [@Exnadella](https://community.traefik.io/u/Exnadella)\
**Post date:** [February 9, 2023, 7:01pm UTC](https://community.traefik.io/t/need-help-to-setup-the-traefik/17488/1 "2023-02-09T19:01:04Z")

</div>

Hello Team,

I have a service enabled as a load balancer on OCI-OKE cluster and the service is accessible via the [http://ipaddress:8080/pagename](http://ipaddress:8080/pagename)

The agent has been added to the OKE cluster and it has generated the URL [dead-cobra-yyyyyy.xxxxxxxx.traefikhub.io](http://dead-cobra-yyyyyy.xxxxxxxx.traefikhub.io) masked the URL and asking me to add to the CNAME record, but it was showing to add [https://ipaddress:8080/pagename](https://ipaddress:8080/pagename). My dns is hosted on AWS.

How do I make sure that I enable HTTPS inside the OKE cluster and use the Traefik as my Loadbalancer and deploy an Ingress controller from nginx & redeploy my app as a service.

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [February 10, 2023, 9:57am UTC](https://community.traefik.io/t/need-help-to-setup-the-traefik/17488/2 "2023-02-10T09:57:02Z")

</div>

I recommend to add the matching tags to your post, like "Kubernetes".

Is this a Traefik or TraefikHub problem?

---

<div class="post-metadata">

**Author:** ![nicomengin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/nicomengin/32/5507_2.png) [@nicomengin](https://community.traefik.io/u/nicomengin)\
**Post date:** [February 10, 2023, 10:48am UTC](https://community.traefik.io/t/need-help-to-setup-the-traefik/17488/3 "2023-02-10T10:48:07Z")

</div>

Hello @Exnadella ,

Thank you for being interested in Traefik Hub.

If I understand correctly, you want to expose a service using Traefik Hub using a custom domain.  
To do so, you have to create a CNAME to redirect the request from your own domain to the domain generated by Traefik Hub ( [dead-cobra-yyyyyy.xxxxxxxx.traefikhub.io](http://dead-cobra-yyyyyy.xxxxxxxx.traefikhub.io)). You can find more information in the [documentation](https://doc.traefik.io/traefik-hub/publishing-services/custom-domains/).

> How do I make sure that I enable HTTPS inside the OKE cluster and use the Traefik as my Loadbalancer and deploy an Ingress controller from nginx & redeploy my app as a service.

Could you explain a bit more your expectations, please? If you are using Traefik Hub to publish your service, a Let's Encrypt certificate is generated for both the generated domain and yours.

Btw, if your request is only about Traefik Hub, could you change the tag on your message to set the right category? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Exnadella](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/exnadella/32/6631_2.png) [@Exnadella](https://community.traefik.io/u/Exnadella)\
**Post date:** [February 10, 2023, 11:09am UTC](https://community.traefik.io/t/need-help-to-setup-the-traefik/17488/4 "2023-02-10T11:09:51Z")

</div>

Hi Nicomengin,

Thanks for your support. We are currently deploying our app using CI/CD on Octopus Deploy and configured to use as a Load balancer inside the OCI-OKE which is not secured and publishing the service to an [http://ipaddress:8080/pagename](http://ipaddress:8080/pagename). I want to convert it to a service with ingress with culsterip and use the traefik hub to publish my service as a secure application and connect to my domain in AWS using CNAME record.

My service is not secured as such unable to map it to the Traefik Hub. I don't want to use the service of type loadbalancer inside the cluster. I want to use ingress. Going forward I want to use Traefik Enterprise,

---

<div class="post-metadata">

**Author:** ![Exnadella](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/exnadella/32/6631_2.png) [@Exnadella](https://community.traefik.io/u/Exnadella)\
**Post date:** [February 10, 2023, 11:12am UTC](https://community.traefik.io/t/need-help-to-setup-the-traefik/17488/5 "2023-02-10T11:12:18Z")

</div>

Hi I have updated the Tags to Traefik Hub & Kubernetes.

---

<div class="post-metadata">

**Author:** ![svx](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/svx/32/6429_2.png) [@svx](https://community.traefik.io/u/svx)\
**Post date:** [February 10, 2023, 2:24pm UTC](https://community.traefik.io/t/need-help-to-setup-the-traefik/17488/6 "2023-02-10T14:24:33Z")

</div>

Hi @Exnadella,

Could you explain a bit more detailed your situation and goal?

If I understand correct, you want to:

- Deploy an application in Kubernetes, and you want to use Traefik as Ingress Controller
- Use HTTPS for the connection between the application and the Traefik Ingress Controller
- Use for now Traefik Hub to connect a custom domain to this application (with HTTPS)
- Switch later from Traefik Hub to Traefik Enterprise

Is that accurate?

---

<div class="post-metadata">

**Author:** ![Exnadella](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/exnadella/32/6631_2.png) [@Exnadella](https://community.traefik.io/u/Exnadella)\
**Post date:** [February 10, 2023, 3:06pm UTC](https://community.traefik.io/t/need-help-to-setup-the-traefik/17488/7 "2023-02-10T15:06:56Z")

</div>

Hi Svx,

- You have articulated it correctly.
- I am using GitHub Actions/Octopus Deploy as my CI/CD.
- I can use the YAML file and push the image to Oracle container registry, OCI-OKE cluster.
- I want to include Traefik as Ingress Controller if it supports path prefix to redirect to different environments (DEV, QAU, UAT, PRD) but connecting to individual domains or multiple sub domains.
- I have applications in 21 regions, Asia Pacific, Asia, Middle East, Europe & USA.

---

<div class="post-metadata">

**Author:** ![svx](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/svx/32/6429_2.png) [@svx](https://community.traefik.io/u/svx)\
**Post date:** [February 13, 2023, 2:45pm UTC](https://community.traefik.io/t/need-help-to-setup-the-traefik/17488/8 "2023-02-13T14:45:16Z")

</div>

Hi @Exnadella,

In general, yes you can use GitHub Actions/Octopus as part of your GitHub flow with Traefik and Traefik supports path prefix, too.

You can find more information about Traefik and Kubernetes in the documentation:

- [Traefik Installation Documentation - Traefik](https://doc.traefik.io/traefik/getting-started/install-traefik/#use-the-helm-chart)
- [Traefik Getting Started With Kubernetes - Traefik](https://doc.traefik.io/traefik/getting-started/quick-start-with-kubernetes/)

I would suggest using the [contact form](https://traefik.io/contact-us/) to learn more about the possibilities to use Traefik Enterprise/Traefik Hub for your use case.
