[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

route not load balancing



Hi,

    I'm using code-ready containers and I've scaled my pod to do, but when I hit it form a for loop in a shell script, I get back results indicating that its only being routed to one of the pods. Is there some setting that I need to tweak to make things load balanced even at low load?

[zaphod oc6010654212 session-song-demo]$ oc describe svc song-demo
Name:              song-demo
Namespace:         session-persistence
Labels:            app=song-demo
                   app.kubernetes.io/component=song-demo
                   app.kubernetes.io/instance=song-demo
Annotations:       openshift.io/generated-by: OpenShiftNewApp
Selector:          deploymentconfig=song-demo
Type:              ClusterIP
IP:                172.30.140.43
Port:              9080-tcp  9080/TCP
TargetPort:        9080/TCP
Endpoints:         10.128.0.42:9080,10.128.0.43:9080
Port:              9443-tcp  9443/TCP
TargetPort:        9443/TCP
Endpoints:         10.128.0.42:9443,10.128.0.43:9443
Session Affinity:  None
Events:            <none>
[zaphod oc6010654212 session-song-demo]$ oc describe route song-demo
Name: song-demo
Namespace: session-persistence
Created: 5 hours ago
Labels: app=song-demo
app.kubernetes.io/component=song-demo
app.kubernetes.io/instance=song-demo
Annotations: <none>
Requested Host: song-demo.apps-crc.testing
 exposed on router default (host apps-crc.testing) 5 hours ago
Path: <none>
TLS Termination: edge
Insecure Policy: <none>
Endpoint Port: 9080-tcp

Service: song-demo
Weight: 100 (100%)
Endpoints: 10.128.0.42:9443, 10.128.0.43:9443, 10.128.0.42:9080 + 1 more...
[zaphod oc6010654212 session-song-demo]$ 

Regards,
Marvin

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]