Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flows not enriched in hubble control plane #536

Closed
jimassa opened this issue Jul 9, 2024 · 0 comments
Closed

Flows not enriched in hubble control plane #536

jimassa opened this issue Jul 9, 2024 · 0 comments
Assignees
Labels
type/bug Something isn't working
Milestone

Comments

@jimassa
Copy link
Contributor

jimassa commented Jul 9, 2024

Describe the bug
After migrating the agent and operator code to establish the Hubble control plane, we observed that the flows are not being enriched with pods and namespace information as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Create cluster
  2. Install retina hubble using make helm-install-hubble
  3. Use kapinger to create traffic in cluster.
  4. Check hubble flows to see if they are being enriched.

Expected behavior
hubble flows should include comprehensive details, including pods and namespaces.

Operator PR #444
Agent PR. #432

@jimassa jimassa self-assigned this Jul 9, 2024
@jimassa jimassa added this to the Hubble milestone Jul 9, 2024
@jimassa jimassa added the type/bug Something isn't working label Jul 9, 2024
@jimassa jimassa changed the title Flows Not Enriched in Hubble Control Plane Flows not enriched in hubble control plane Jul 9, 2024
huntergregory added a commit that referenced this issue Aug 13, 2024
github-merge-queue bot pushed a commit that referenced this issue Oct 28, 2024
…900)

# Description

Add CiliumEndpoint and Service objects to IPCache for flow enrichment.

## Related Issue

#536

## Checklist

- [x] I have read the [contributing
documentation](https://retina.sh/docs/contributing).
- [x] I signed and signed-off the commits (`git commit -S -s ...`). See
[this
documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)
on signing commits.
- [x] I have correctly attributed the author(s) of the code.
- [x] I have tested the changes locally.
- [x] I have followed the project's style guidelines.
- [x] I have updated the documentation, if necessary.
- [x] I have added tests, if applicable.

## Screenshots (if applicable) or Testing Completed

```bash
Oct 27 18:19:13.348: kube-system/alpine:59204 (ID:45406) -> 10.0.216.107:8080 (world) to-stack FORWARDED (TCP Flags: SYN:true)
Oct 27 18:19:13.350: kube-system/alpine:59204 (ID:45406) <- 10.0.216.107:8080 (world) to-endpoint FORWARDED (TCP Flags: SYN:true  ACK:true)
Oct 27 18:19:13.350: kube-system/alpine:59204 (ID:45406) -> 10.0.216.107:8080 (world) to-stack FORWARDED (TCP Flags: ACK:true)
Oct 27 18:19:13.350: kube-system/alpine:59204 (ID:45406) -> 10.0.216.107:8080 (world) to-stack FORWARDED (TCP Flags: PSH:true  ACK:true)
Oct 27 18:19:13.352: kube-system/alpine:59204 (ID:45406) <- 10.0.216.107:8080 (world) to-endpoint FORWARDED (TCP Flags: PSH:true  ACK:true)
Oct 27 18:19:13.352: kube-system/alpine:59204 (ID:45406) <- 10.0.216.107:8080 (world) to-endpoint FORWARDED (TCP Flags: FIN:true  ACK:true)
Oct 27 18:19:13.352: 10.0.216.107:8080 (world) <- kube-system/alpine:59204 (ID:45406) to-stack FORWARDED (TCP Flags: FIN:true  ACK:true)
Oct 27 18:19:13.352: default/kapinger-good-6b6c74547d-5db4w:8080 (ID:12871) -> kube-system/alpine:59204 (ID:45406) to-stack FORWARDED (TCP Flags: SYN:true  ACK:true)
Oct 27 18:19:13.353: 10.0.216.107:8080 (world) -> kube-system/alpine:59204 (ID:45406) to-endpoint FORWARDED (TCP Flags: ACK:true)
Oct 27 18:19:13.354: default/kapinger-good-6b6c74547d-5db4w:8080 (ID:12871) -> kube-system/alpine:59204 (ID:45406) to-stack FORWARDED (TCP Flags: ACK:true)
Oct 27 18:19:13.354: default/kapinger-good-6b6c74547d-5db4w:8080 (ID:12871) -> kube-system/alpine:59204 (ID:45406) to-stack FORWARDED (TCP Flags: PSH:true  ACK:true)
Oct 27 18:19:13.355: default/kapinger-good-6b6c74547d-5db4w:8080 (ID:12871) -> kube-system/alpine:59204 (ID:45406) to-stack FORWARDED (TCP Flags: FIN:true  ACK:true)
Oct 27 18:19:13.355: kube-system/alpine:59204 (ID:45406) <- default/kapinger-good-6b6c74547d-5db4w:8080 (ID:12871) to-stack FORWARDED (TCP Flags: ACK:true)
```

## Additional Notes

Add any additional notes or context about the pull request here.

---

Please refer to the [CONTRIBUTING.md](../CONTRIBUTING.md) file for more
information on how to contribute to this project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants