Question: backend definition?

Asked By
Asked At
2017-08-03 18:43:02

Found 15 possible answers.

User Answered At Possible Answer
jgarr 2017-08-03 18:43:42 @mikej 0.9.0-beta.11 Right now it's running in minikube to figure out why the cookies are being stripped
justinazoff 2017-08-03 18:44:46
              servicePort: 443    
serviceName: nginx-service backend: path: / - paths: http:
mikej 2017-08-03 18:44:46 @jgarr I use this for sticky sessions and it's been working great check your annotations
justinazoff 2017-08-03 18:44:59 that says to find the service called nginx-service and then connect to port 443 on it
jgarr 2017-08-03 18:45:35 but sticky will just keep it routing to the same pod, no? I don't need that, I just want the cookie passed through. It doesn't matter which pod auths the request
mikej 2017-08-03 18:46:12 annotations: : "cookie"
jgarr 2017-08-03 18:46:14 node name is sent from the kubelet. It will either be the configured hostname or can be specified from the kubelet with a flag
mikej 2017-08-03 18:46:27 haven't used that myself but thats theoretically what you need
jgarr 2017-08-03 18:50:33 Sadly that didn't work (I just tried)
cordoval 2017-08-03 18:50:53 then wonder why it is not woroking it says it is correct do you want the logs?
justinazoff 2017-08-03 18:51:56 can you exec into the nginx container and cat out its configuration? i'm not very familiar how the nginx ingress controller works, but you should have an nginx config with your hub service definition
cordoval 2017-08-03 18:55:09 hmm you mean
kind: Service
lacks a line to point the configuration of nginx?
targetPort: https port: 443 name: https - targetPort: http port: 80 name: http - ports: app: hub-deployment selector: type: LoadBalancer spec: : '*' annotations: name: hub-service metadata: apiVersion: v1
sridhar 2017-08-03 18:55:23 I have kubernetes nodes running ubuntu. By default, the vm swapiness is at 60 for ubuntu. Is this good or will reducing this help improve performance? I do see kswapd0 running quite frequently..Anyone tried changing this?
cordoval 2017-08-03 18:55:24 thought there were annotations
justinazoff 2017-08-03 18:55:37 no

Related Questions