Comments (10)
You need to build a path according to used plugin requirements (see API Configuration fields and data on https://grafana.com/grafana/plugins/hamedkarbasi93-nodegraphapi-datasource/ )
result:
In the Grafana data source you should have a path without additional nodes:
from k8spacket.
@LU1371046
This thread is inactive for 10 days.
I'm going to close this issue. If you will have more questions, feel free to reopen this or a new issue
from k8spacket.
I have same question? How to resolve this question?
metrics is normal
from k8spacket.
这个不支持在虚拟机上使用
from k8spacket.
不要用虚拟机
from k8spacket.
Hi @zhutong196
It looks like k8spacket didn't start any plugins on startup.
Could you share the logs from the k8spacket workload? There should be information about loaded plugins:
k -n k8spacket logs <k8spacket-pod-name> -f -c k8spacket
plugins/nodegraph-x86_64.so
plugins/tls-parser-x86_64.so
2023/01/12 08:26:14 Serving requests on port 6676
2023/01/12 08:26:14 Refreshing interfaces for capturing...
Getting k8s resources
2023/01/12 08:26:15 Starting capture on interface "azv98340604ff0"
2023/01/12 08:26:15 Starting capture on interface "azv46a1bc8c07a"
2023/01/12 08:26:15 Starting capture on interface "azvb3a4e067125"
2023/01/12 08:26:15 Starting capture on interface "azvf7f07f45cd7"
2023/01/12 08:26:15 reading in packets
Additionally, you can check logs in the init container with the command:
k -n k8spacket logs <k8spacket-pod-name> -f -c init-k8spacket
Connecting to github.com (140.82.121.4:443)
wget: note: TLS certificate validation not implemented
Connecting to objects.githubusercontent.com (185.199.109.133:443)
saving to 'nodegraph-x86_64.so'
nodegraph-x86_64.so 23% |******* | 14.1M 0:00:03 ETA
nodegraph-x86_64.so 51% |**************** | 31.0M 0:00:01 ETA
nodegraph-x86_64.so 76% |************************ | 45.7M 0:00:00 ETA
nodegraph-x86_64.so 100% |********************************| 59.9M 0:00:00 ETA
'nodegraph-x86_64.so' saved
Connecting to github.com (140.82.121.3:443)
Connecting to objects.githubusercontent.com (185.199.108.133:443)
saving to 'tls-parser-x86_64.so'
tls-parser-x86_64.so 0% | | 127k 0:08:04 ETA
tls-parser-x86_64.so 8% |** | 5408k 0:00:20 ETA
tls-parser-x86_64.so 33% |********** | 20.0M 0:00:06 ETA
tls-parser-x86_64.so 59% |******************* | 36.0M 0:00:02 ETA
tls-parser-x86_64.so 86% |*************************** | 52.0M 0:00:00 ETA
tls-parser-x86_64.so 100% |********************************| 60.3M 0:00:00 ETA
'tls-parser-x86_64.so' saved
from k8spacket.
Hi @zhutong196 It looks like k8spacket didn't start any plugins on startup.
Could you share the logs from the k8spacket workload? There should be information about loaded plugins:
k -n k8spacket logs <k8spacket-pod-name> -f -c k8spacket plugins/nodegraph-x86_64.so plugins/tls-parser-x86_64.so 2023/01/12 08:26:14 Serving requests on port 6676 2023/01/12 08:26:14 Refreshing interfaces for capturing... Getting k8s resources 2023/01/12 08:26:15 Starting capture on interface "azv98340604ff0" 2023/01/12 08:26:15 Starting capture on interface "azv46a1bc8c07a" 2023/01/12 08:26:15 Starting capture on interface "azvb3a4e067125" 2023/01/12 08:26:15 Starting capture on interface "azvf7f07f45cd7" 2023/01/12 08:26:15 reading in packets
Additionally, you can check logs in the init container with the command:
k -n k8spacket logs <k8spacket-pod-name> -f -c init-k8spacket Connecting to github.com (140.82.121.4:443) wget: note: TLS certificate validation not implemented Connecting to objects.githubusercontent.com (185.199.109.133:443) saving to 'nodegraph-x86_64.so' nodegraph-x86_64.so 23% |******* | 14.1M 0:00:03 ETA nodegraph-x86_64.so 51% |**************** | 31.0M 0:00:01 ETA nodegraph-x86_64.so 76% |************************ | 45.7M 0:00:00 ETA nodegraph-x86_64.so 100% |********************************| 59.9M 0:00:00 ETA 'nodegraph-x86_64.so' saved Connecting to github.com (140.82.121.3:443) Connecting to objects.githubusercontent.com (185.199.108.133:443) saving to 'tls-parser-x86_64.so' tls-parser-x86_64.so 0% | | 127k 0:08:04 ETA tls-parser-x86_64.so 8% |** | 5408k 0:00:20 ETA tls-parser-x86_64.so 33% |********** | 20.0M 0:00:06 ETA tls-parser-x86_64.so 59% |******************* | 36.0M 0:00:02 ETA tls-parser-x86_64.so 86% |*************************** | 52.0M 0:00:00 ETA tls-parser-x86_64.so 100% |********************************| 60.3M 0:00:00 ETA 'tls-parser-x86_64.so' saved
Download plugin failed,Can I install plugin offline?
from k8spacket.
Hi @zhutong196
I see the problem is with resolving the eval
command when an init-container
downloads plugins. See https://github.com/k8spacket/k8spacket-helm-chart/blob/master/charts/k8spacket/templates/daemonset.yaml#L49
To download them without resolving machine architecture create simple custom-values.yaml
file with the content:
k8sPacket:
plugins:
- https://github.com/k8spacket/plugins/releases/download/v1.0.1/nodegraph-{{arch}}.so
- https://github.com/k8spacket/plugins/releases/download/v1.0.1/tls-parser-{{arch}}.so
where {{arch}}
is the architecture of your k8s cluster nodes (x86_64
and aarch64
available currently, see on the releases page: https://github.com/k8spacket/plugins/releases)
and upgrade k8spacket with the command:
helm upgrade --install k8spacket --namespace k8spacket k8spacket/k8spacket -f custom-values.yaml
Additionally, there is a new version 1.1.0 of k8spacket and plugins available.
I supposed the arch
command is available everywhere, but maybe it was the wrong assumption. I'll fix it.
from k8spacket.
@zhutong196
What kind of architecture and the operating system does your K8S node use?
from k8spacket.
@zhutong196
This thread is inactive for more than 10 days.
I'm going to close this issue.
from k8spacket.
Related Issues (20)
- k8spacket提示Not Found HOT 3
- Suggestion - Update to README HOT 3
- Grafana TLS graph connections and certificates - blank HOT 17
- Pods not getting ready and restart HOT 1
- JSON API: Not Found HOT 2
- Monitor External traffic of pod HOT 2
- Is there a way to identify traffic which is not encrypted? HOT 2
- Error: TLS error from peer (alert code 80): internal error HOT 1
- wget k8spacket.k8spacket.svc.cluster.local:8080/nodegraph 404 error HOT 4
- dashboards have no page display HOT 14
- Sems that interface get name process is wrong HOT 7
- Not able to connect to Grafana, and getting 404 page not found in k8spacket though service HOT 5
- fatal error: concurrent map writes HOT 3
- Metrics exists from old deleted pods. HOT 9
- Provide krew plugin? HOT 3
- Can not find plugins HOT 10
- Node graph dashboard doesn't work out of the box HOT 2
- /api/graph/data respond with 502 HOT 8
- Full grafana example HOT 1
- pods in crash loop while installing with helm chart 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 k8spacket.