Hi Udi. Am 30.04.2019 um 22:01 schrieb Udi Kalifon: > Hi all. > > I started an app (gcr.io/kuar-demo/kuard-amd64:blue > <http://gcr.io/kuar-demo/kuard-amd64:blue>) in 3 replicas, but I can see that > it's always the same pod that is serving the requests. How do I check what > load > balancer is used (if any), and change it to be more fair? > > I am very new to openshift. I am practicing on minishift 3.11.
You can try to run this image which is based on this repo https://gitlab.com/aleks001/caddy-template-usage ``` oc new-project demo-001 oc new-app --docker-image=docker.io/me2digital/caddy --name=caddy oc scale dc/caddy --replicas=3 oc create route edge caddy --service=caddy --insecure-policy=Redirect ``` You then have a route and you can use this route to call the template https://<ROUTE>/templates/print-hostname.tmpl To disable cookie session sticky you will need to set this annotation ``` oc annotate route caddy haproxy.router.openshift.io/disable_cookies=true ``` https://docs.okd.io/latest/architecture/networking/routes.html#route-specific-annotations > Regards, > Udi Kalifon; Senior Automation QE Hth Aleks > Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn, > Commercial register: Amtsgericht Muenchen, HRB 153243, > Managing Directors: Charles Cachera, Michael O'Neill, Tom Savage, Eric Shander > > _______________________________________________ > users mailing list > users@lists.openshift.redhat.com > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > _______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users