| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
k8spacket doesn't use the gopacket library nowadays and is fully based on
now!
Read the article on medium.com k8spacket — a fully based on eBPF right now
It uses
To use k8spacket v2.x.x, the minimum required kernel version is 5.4 with enabled BTF.
See e2e tests README
New features:
k8spacket helps to understand TCP packets traffic in your kubernetes cluster:
k8spacket uses Node Graph API Grafana datasource plugin. See details Node Graph API plugin
Install k8spacket using helm chart (https://github.com/k8spacket/k8spacket-helm-chart)
helm repo add k8spacket https://k8spacket.github.io/k8spacket-helm-chart
helm repo update
helm install k8spacket --namespace k8spacket k8spacket/k8spacket --create-namespaceAdd Node Graph API and JSON API plugins and datasources to your Grafana instance. You can do it manually or change helm values for the Grafana chart, e.g.:
grafana:
env:
GF_INSTALL_PLUGINS: hamedkarbasi93-nodegraphapi-datasource,marcusolsson-json-datasource,marcusolsson-dynamictext-panel
datasources:
nodegraphapi-plugin-datasource.yaml:
apiVersion: 1
datasources:
- name: "Node Graph API"
jsonData:
url: "http://k8spacket.k8spacket.svc.cluster.local:8080/nodegraph"
access: "proxy"
basicAuth: false
isDefault: false
readOnly: false
type: "hamedkarbasi93-nodegraphapi-datasource"
typeLogoUrl: "public/plugins/hamedkarbasi93-nodegraphapi-datasource/img/logo.svg"
typeName: "node-graph-plugin"
orgId: 1
version: 1
marcusolsson-json-datasource.yaml:
apiVersion: 1
datasources:
- name: "JSON API"
url: "http://k8spacket.k8spacket.svc.cluster.local:8080/tlsparser/api/data"
access: "proxy"
basicAuth: false
isDefault: false
readOnly: false
type: "marcusolsson-json-datasource"
typeLogoUrl: "public/plugins/marcusolsson-json-datasource/img/logo.svg"
typeName: "json-api-plugin"
orgId: 1
version: 1Fill additional scrape config to observe Prometheus metrics:
- job_name: "k8spacket-metrics"
metrics_path: /metrics
scrape_interval: 25s
static_configs:
- targets: [k8spacket.k8spacket.svc.cluster.local:8080]Add dashboards configmap to Grafana stack
kubectl -n $GRAFANA_NS apply --recursive -f ./dashboardsGo to k8spacket - node graph in Grafana Dashboards and use filters as below
| Back | FazBrowse Home | New Git URL |