How to setup DSR in Kubernetes with BIG-IP
Using Direct Server Return (DSR) in Kubernetes can have benefits when you have workloads that require low latency, high throughput, and/or you want to preserve the source IP address of the conn...
Published May 20, 2019
Version 1.0Eric_Chen
Employee
Joined May 16, 2013
Eric_Chen
Employee
Joined May 16, 2013
Eric_Chen
Dec 03, 2019Employee
FYI, if you want to emulate this in your lab, here is how I did the update via the API.
$ kubectl proxy --port=8001
next you need to dump the status of the service
$ curl -s http://localhost:8001/api/v1/namespaces/default/services/my-frontend/status > service.json
edit the output to add the ingress.
...
"status": {
"loadBalancer": {
"ingress": [
{
"ip": "10.1.10.10"
}
]
}
}
}
Then update the status.
curl -s http://localhost:8001/api/v1/namespaces/default/services/my-frontend/status -X PUT --data-binary @service.json -H content-type:application/json -v