How to Deploy the Camunda application with Nginx ingress controller


I’m using spring boot based camunda application and depolying my application in azure kubernetes with nginx ingress controller. upon on deploying l’m unable to login into camunda cockpit.

Is there any documentam or suggestions?

Thank you in advance for the help.

Error Screen Shot:

Snippet for _ingress.yaml

apiVersion: extensions/v1beta1
kind: Ingress
  annotations: '[{"addresses":["1x.xx.x.xx7"],"port":80,"protocol":"HTTP","serviceName":"default:helloworld","ingressName":"default:helloworld","path":"/poc(/|$)(.*)","allNodes":false},{"addresses":["1x.xx.x.xx7"],"port":443,"protocol":"HTTPS","serviceName":"default:helloworld","ingressName":"default:helloworld","path":"/poc(/|$)(.*)","allNodes":false}]' nginx helloworld default /poc/$2
  creationTimestamp: "2020-08-24T20:20:16Z"
  generation: 1
  labels: helloworld Helm helloworld 3.0.0 helloworld-3.0.0
  name: helloworld
  namespace: default
  resourceVersion: "2679630"
  selfLink: /apis/extensions/v1beta1/namespaces/default/ingresses/helloworld
  uid: b3f700cc-1c4c-4961-9f70-42399a50536d
  - http:
      - backend:
          serviceName: helloworld
          servicePort: http
        path: /poc(/|$)(.*)
    - ip: 1x.xx.x.xx7

Hi @ramakrishnan707,

I havn’t use an enviroment like yours, but maybe it’s worth to have a look here:

and check the default settings of your load balancer.

Hope this helps, Ingo

@Ingo_Richtsmeier thanks for your direction. i have tried to enable the sticky session to nginx ingress controller. following snippet i have added to my _ingress.yaml file. still issue not resolved. did i missing anything

  annotations: nginx /helloworld/$2 "cookie" "route" "172800" "172800"
  path: /helloworld(/|$)(.*)

Hi @ramakrishnan707,

sorry, I don’t know.

I remember that the last time I handled a similar issue in a different environment, I used the developer console of the browser to track down the issue.

Inspecting the headers of the requests in the console lead me to the solution there…

Hope this helps, Ingo