<p>I am facing this error message when i am try to access my swagger url after it is deployed on kubernetes environment.</p>

<p>When i run my spring boot application on localhost then i am able to see the swagger without any error.</p>

<p>I am using Traefik as my ingress controller.</p>

Sadique
<p>Spring boot application ,you have to add Server context path in application.yml/perporties file.</p>

<p>Example:</p>

<p>server:
  servlet:
    context-path: /</p>

<p>After adding context-path  you can able to see the swagger-ui
url:  localhost:8080/api/swagger-ui.html</p>

<p>Note:
Root path name as a "api", you have been configured in Ingress.yml file.</p>

<p>spec:
  rules:
  - host: 
    http:
      paths:
      - path: /api
        backend:
            serviceName: </p>
