Closed yeranosyanvahan closed 2 years ago
You will have to disable the Traefik ingress controller on deployment https://rancher.com/docs/k3s/latest/en/networking/#traefik-ingress-controller, which you can do in this role with the variable set like this
k3s_server:
disable:
- traefik
Then you will have to deploy your nginx controller using their instructions, usually helm. You can either do that manually or you could use the k3s_server_manifests_templates
and k3s_server_manifests_urls
to put the manifests on the controller. If you want to deploy with helm using the server manifest variables you can use the CRD provided by k3s which you can read about here https://rancher.com/docs/k3s/latest/en/helm/
Thanks @evilhamsterman
I'm going to close this as it @evilhamsterman has answered how to accomplish this. if you need additional help or have a bug to report, please feel free to open another issue. Thanks!
Hello as title says I want to deploy rancher. Here is my directory structure
pods/manifest.yaml
fileand
master/ingress.yaml
fileand the playbook is
main.yaml