goldpinger does not support v6 ping
paulyufan2 opened this issue · 0 comments
paulyufan2 commented
Describe the bug
I am trying to use goldpinger to test ipv6 connectivity between pods in Azure. I add "IP_VERSIONS" to my deployment yaml file:
spec:
containers:
- name: goldpinger
env:
- name: HOST
value: "0.0.0.0"
- name: PORT
value: "8080"
**- name: IP_VERSIONS
value: "6"**
When I start testing, I found from goldpingerClient to get clusterState, it does not contain ipv6 address and it only does ipv4 ping. When I read goldpinger library, I see podResult only takes ipv4 address, so it will not do ipv6 test for podResult:
https://github.com/bloomberg/goldpinger/blob/master/pkg/goldpinger/pinger.go#L77
Can anyone help check if we already support this feature or not and if so, how we can use it?
Thanks!
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
ipv6 ping should get executed
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Environment (please complete the following information):**
- Operating System and Version: [e.g. Ubuntu Linux 22.04]
- Browser [e.g. Firefox, Safari] (if applicable):
**Additional context**
Add any other context about the problem here.