Comments (14)
Hi @fabfianda, we have a new Mizu version: 0.10.0 which contains several fixes and new features. You can run it agains your cluster which earlier version had issues with.
If it still not working please run Mizu with dump-logs option (mizu tap --set dump-logs=true
) and upload the zip file created at the end of the execution with all logs to the issue.
from kubeshark.
I've also added mizu roles using this manifest file
examples/roles/permissions-all-namespaces.yaml
I'm experiencing same issue though.
from kubeshark.
Last log line from the mizu-collector pod is:
2021-07-30T14:16:28Z INFO : Websocket Connection event - Tapper connected: PoLQpd5knkGjzEky5D6YzNkOabMOMoEmIyTBxGIZvz8p3GhBwppv8NRmXtD8BHb023I4SKGc2WDQV5v2dlVmnrYE3iFTY1c7V0Pe
from kubeshark.
Hi @fabfianda,
Thanks for reaching out.
What version of Mizu do you use? In latest stable release we use proxy instead of port forward.
It might be a bug that the proxy not ready yet, can you try to reload the page after few seconds/a minute.
BTW You are welcome to join our public slack channel at the following link:
https://join.slack.com/t/up9/shared_invite/zt-tfjnduli-QzlR8VV4Z1w3YnPIAJfhlQ
from kubeshark.
I'm using the one you get from the homepage.
Even a few minutes it still claims service is Unavailable
from kubeshark.
Can you check that kubectl proxy
works for you?
https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/
from kubeshark.
Yes, it loads and works as expected
from kubeshark.
I've just tried version 0.7.26 and the response is same:
kind | "Status" |
---|---|
apiVersion | "v1" |
metadata | {} |
status | "Failure" |
message | "error trying to reach service: dial tcp 10.2.19.218:8899: i/o timeout" |
reason | "ServiceUnavailable" |
code | 503 |
from kubeshark.
More information:
proxy launched by mizu works as expected too:
so if I open http://localhost:8899/ while mizu is running I can see the k8s proxy response (with list of endpoints)
from kubeshark.
endpoints created on k8s seem good too
mizu-api-server mizu 10.2.19.220:8899
from kubeshark.
Thank you for the additional info @fabfianda
The proxy seems to work fine, the next thing to check is the web socket. The "CLI" opens a web socket to the "Agent" on "ws://localhost:8899/mizu/ws" I suspect it fails to connect. It should be written in the logs. Can you please share here the logs from "mizu-collector" pod, and the CLI Stderr log?
from kubeshark.
Update: tried with other clusters and it seems to work as intended. So the issue is currently limited to a single K8s cluster. I'll try and provide more information.
from kubeshark.
Thanks for the heads-up! We are planing to release a new stable version on Sunday, which has many fixes. It might solve your issue as well.
If not, you will be able to run it with 'dump-logs' option mizu tap ".*" --set dump-logs=true
- which will store the logs from cli and k8s nodes to a zip file which you can share here.
from kubeshark.
@fabfianda hope both of the clusters work for you with the new version. I am closing this issue because of inactivity, you are more then welcome to open a new one if you have any additional issues
from kubeshark.
Related Issues (20)
- Namespace Kubeshark installation Vs Cluster Kubeshark installation HOT 1
- Couldn't initialize the tracer HOT 10
- Improve support for homebrew HOT 8
- Add Websocket support
- Detect socket creation errors using eBPF
- Kind support( pf-ring, ebpf, serviceMesh) HOT 8
- Specific PCAP TTL for Errors HOT 1
- Kubeshark with Bottlerocket? HOT 1
- kubeshark deployment DOSes `kube-apiserver` if k8s audit events enabled HOT 10
- Client OS: `windows 10`, chrome: `121.0.6167.185` failing HOT 1
- New Helper named Uniqe HOT 1
- Using kubeshark CLI with multiple kubeconfig files
- We can't verify pre-built binaries for windows/amd64 with checksum files HOT 1
- WebSockets in an IPv6 primary cluster fail HOT 2
- no push access for the kubeshark fork HOT 1
- Windows 11 Curl install does not work HOT 1
- Improve/Complete AMQP support
- Resolved K8s component name is inaccurate
- Does ICMP Traffic Capture is not possible?
- Upgrade fails HOT 1
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 kubeshark.