Hey guys,
I currently tried to run a simple camunda spring boot application on kubernetes. The dashboard works fine with my current settings, but I have problems to retrieve informations via the /rest endpoint, which works fine on local environment.
my cluster configuration:
apiVersion: apps/v1
kind: Deployment
metadata:
name: test
spec:
replicas: 2
selector:
matchLabels:
app: test
template:
metadata:
labels:
app: test
spec:
containers:
- name: test
image:
imagePullPolicy: Always
ports:
- containerPort: 8080
imagePullSecrets:
- name: gitlab-auth
service.yaml
apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
selector:
app: test
ports:
- port: 8080
ingress settings
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: entrypoint
annotations:
kubernetes.io/ingress.class: “nginx”
nginxiourl/affinity: “cookie”
nginxiourl/session-cookie-name: “route”
nginxiourl/session-cookie-expires: “172800”
nginxiourl/session-cookie-max-age: “172800”
nginxiourl/rewrite-target: /
spec:
rules:
- host: myhost.nip.io
http:
paths:- path: /
backend:
serviceName: my-service
servicePort: 8080
- path: /