Denis_O
Nov 01, 2019Nimbostratus
How to define tcp_half_open monitor with k8s-bigip-ctlr
Hello,
how I can define backend health monitor to be tcp_half_open through k8s-bigip-ctlr?
currently backend configuration have a key "healthMonitors" but it take values only TCP, UDP or HTTP,
I even tried to change health monitor manually - but it is reverted by controller pod.
any ideas?
https://clouddocs.f5.com/products/connectors/k8s-bigip-ctlr/v1.5/#backend
I tried with:
{
"virtualServer": {
"backend": {
"servicePort": 8080,
"serviceName": "my-service",
"healthMonitors": [{"protocol": "tcp_half_open"}]
},
"frontend": {
"virtualAddress": {
"port": 9090,
"bindAddr": "123.44.11.11"
},
"partition": "k8s",
"balance": "least-connections-member",
"mode": "tcp"
}
}
}
but getting obvious error:
2019/10/31 19:54:57 [WARNING] Could not get config for ConfigMap: f5.vs - configMap is not valid, errors: ["virtualServer.backend.healthMonitors.0.protocol: virtualServer.backend.healthMonitors.0.protocol must be one of the following: \"http\", \"tcp\", \"udp\""]