Comments (5)
@antoninbas, beyond you have mentioned, I think we could also execute all commands once and records all results.
I'm actually implementing one on https://github.com/weiqiangt/antrea/tree/antctl-bundle during the implementation of the framework.
For now, it dumps:
- iptables
- ip links
- flow entries
After dumping them, these data would be packed into a tar.
from antrea.
This was discussed at the 12/11/2019 Antrea community meeting. We agreed that we should first define what should be collected before writing a tool that collects it in an automated fashion. A few things that were brought-up:
- Antrea logs
- kubelet logs
- kube-proxy logs / config maps
- OVS logs, OVS flows dump, iptables rules dump
- kube-apiserver logs
- which container runtime is used?
Could any sensitive information be exposed by the logs above? Please feel free to comment if you think anything relevant should be added to this list.
@salv-orlando @McCodeman
from antrea.
Additionally, we will want to capture uname -a
or equivalent and status of ovs kernel module (not sure if the OVS logs above report errors if the kernel module not loaded correctly). We could also offer to optionally dump the k8s network policies.
from antrea.
Also, status of IP forwarding in kernel
from antrea.
Now that we have the antctl get supportbundle
command added by @weiqiangt in #694, I think we can close this issue.
It is not documented yet, but there is an open issue for documentation (#765).
from antrea.
Related Issues (20)
- CVE-2023-45142 (opentelemetry-go-contrib) HOT 1
- Flaky traceflow e2e test `intraNodeICMPSrcIPDroppedTraceflowIPv4`
- Flaky TestL7NetworkPolicy e2e tests HOT 2
- Bump github.com/Microsoft/hcsshim from 0.9 to 0.11
- Support running runAntctl function on Windows
- Secondary interface configuration can get lost after antrea-agent restarts
- Re-organize user-facing Windows documentation
- [Antrea 2.0] Drop support for Docker for Antrea on Windows HOT 2
- Replace github.com/TomCodeLV/OVSDB-golang-lib with github.com/ovn-org/libovsdb
- Update Windows Jenkins Jobs to Remove Docker Testbed
- Antrea scale tests for end-to-end performance improvement HOT 1
- To support running Antrea Flexible IPAM tests on KIND
- [Flaky test] TestRamStoreWatchTimeout unit test is flaky on Windows HOT 1
- Long-Term Tracking of Testbed Kubernetes Versions HOT 1
- Improve NodePortLocal unit test coverage
- Random Failures When Unpacking Antrea Image on Windows Testbed
- Use Traceflow API v1beta1 in antctl traceflow HOT 2
- Support applying ClusterNetworkPolicy to Nodes in Antrea HOT 4
- NetworkPolicy doesn't work when the Pod access its own Service's ClusterIP HOT 1
- Add Antrea based traffic redirection in Istio CNI plugin when using Ambient mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antrea.