Forum Discussion
kylec_251298
Jun 30, 2017Nimbostratus
Thank you for your response rsal, it was the
type: NodePort
that needed to be set. I added a answer to my question with that below. I haven't tried k8s-bigip-ctlr:1.0.0 with f5schemadb://bigip-virtual-server_v0.1.2.json since I added that. But its working with v0.1.3 version with v1.1.0-beta.
However its not actually any nodes to the pool in the F5. It did create the VIP and pool. Is kube-proxy needed for this?
2017/06/29 20:35:02 [DEBUG] Delegating type *v1.Service to virtual server processors
2017/06/29 20:35:02 [DEBUG] Process Service watch - change type: Add name: hello namespace: default
2017/06/29 20:35:02 [DEBUG] Service backend matched {ServiceName:hello ServicePort:80 Namespace:default}: using node port 30775
2017/06/29 20:35:02 [DEBUG] ConfigWriter (0xc420339050) writing section name services
2017/06/29 20:35:02 [DEBUG] ConfigWriter (0xc420339050) successfully wrote section (services)
2017/06/29 20:35:02 [INFO] Wrote 1 Virtual Server configs
2017/06/29 20:35:02 [DEBUG] Services: [{"virtualServer":{"backend":{"serviceName":"hello","servicePort":80,"poolMemberAddrs":[]},"frontend":{"virtualServerName":"default_hello-vs","partition":"kubernetes","balance":"round-robin","mode":"http","virtualAddress":{"bindAddr":"10.20.28.70","port":443},"iappPoolMemberTable":{"name":"","columns":null}}}}]
Here is the service:
$ kubectl describe service hello
Name: hello
Namespace: default
Labels:
Selector: app=hello,tier=backend
Type: NodePort
IP: 10.43.203.210
Port: 80/TCP
NodePort: 30775/TCP
Endpoints: 10.42.189.143:80,10.42.20.122:80,10.42.236.34:80 + 4 more...
Session Affinity: None
No events.
Also thank you for sending the kube-proxy link, I didn't scroll down far enough on the page (the tip box made me think the rest of the page was empty) to find the kube-proxy example manifests.
I am running kubernetes via Rancher. Their configuration has kube-proxy running as part of their stack, I was thinking I could update it and add the commands and extra volume. But I'm trying to make sense of the way they have it setup. I'm a bit lost here.