Skip to content

Commit

Permalink
Merge pull request #240 from BSWANG/main
Browse files Browse the repository at this point in the history
bugfix: fix default deploy configuration
  • Loading branch information
Lyt99 authored Apr 8, 2024
2 parents 1e7c040 + f504382 commit 8068dbf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions deploy/resource/kubeskoop-exporter-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(kubeskoop_packetloss_abnormal{k8s_node=~\"$node\"}[2m])",
"legendFormat": "{{k8s_pod}}/{{k8s_node}}",
"expr": "sum(rate(kubeskoop_packetloss_total{k8s_node=~\"$node\"}[2m])) by (k8s_node)",
"legendFormat": "{{k8s_node}}",
"range": true,
"refId": "A"
}
Expand Down
19 changes: 12 additions & 7 deletions deploy/skoopbundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,28 @@ data:
enableController: true
metrics:
probes:
- name: info
- name: conntrack
- name: qdisc
- name: netdev
- name: io
- name: socketlatency
- name: packetloss
- name: sock
- name: tcpsummary
- name: tcp
- name: tcpext
- name: udp
- name: socketlatency
- name: packetloss
- name: flow
args:
enablePortInLabel: false
- name: tcpretrans
event:
probes:
- name: packetloss
- name: tcpreset
- name: packetloss
args:
enableStack: false
- name: tcpretrans
sinks:
- name: stderr
- name: loki
Expand Down Expand Up @@ -578,6 +585,7 @@ data:
prometheus: http://prometheus-service
database:
type: sqlite3
loki: http://loki-service:3100
diagnose: {}
kind: ConfigMap
metadata:
Expand All @@ -604,9 +612,6 @@ spec:
- name: controller
image: kubeskoop/controller:v1.0.0
command: ["/bin/controller"]
env:
- name: LOKI_ENDPOINT
value: http://loki-service:3100
volumeMounts:
- name: lib
mountPath: /var/lib/kubeskoop
Expand Down

0 comments on commit 8068dbf

Please sign in to comment.