Skip to content

Commit

Permalink
add k8s integration to 2.9 (opensearch-project#916) (opensearch-proje…
Browse files Browse the repository at this point in the history
…ct#921)

Signed-off-by: YANGDB <yang.db.dev@gmail.com>
(cherry picked from commit 22345e8)

Co-authored-by: YANGDB <yang.db.dev@gmail.com>
(cherry picked from commit 7a4bc74)
  • Loading branch information
opensearch-trigger-bot[bot] authored and A9 Swift Project User committed Sep 28, 2023
1 parent 5ed6f4d commit f8a8e67
Show file tree
Hide file tree
Showing 18 changed files with 12,745 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auto_sync_commit_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"last_github_commit": "6a3b1c6d91d9f0baf70e1dfa582bacb64fc56a6c",
"last_gitfarm_commit": "0f86cd50e78c6d9aa045376dd183e13f11546792"
"last_github_commit": "7a4bc745c8cb86888b882194df911841725871e9",
"last_gitfarm_commit": "06faae4e7b8288eae66833395fdd8f3d8f944cd2"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# K8s Dashboard Explained

The following queries are used for the k8s dashboard:

- Deployment names Graph:
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment`
- Query: `kubernetes.deployment.name`


- Available pods per deployment (done per deployment aggregation)
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment`
- Query: `kubernetes.deployment.name`


- Desired pod
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment`
- Query: `kubernetes.deployment.replicas.desired`


- Available pods
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment`
- Query: `kubernetes.deployment.replicas.available`



- Unavailable pods
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment`
- Query: `kubernetes.deployment.replicas.unavailable`


- Unavailable pods per deployment ( done per deployment aggregation)
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment`
- Query: `kubernetes.deployment.replicas.unavailable`



- CPU usage by node
- Filter: `event.domain:kubernetes AND (event.dataset:kubernetes.container OR event.dataset:kubernetes.node)`
- Query: `kubernetes.node.name` , `kubernetes.container.cpu.usage.nanocores`, `kubernetes.node.cpu.capacity.cores`



- Top memory intensive pods
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.container`
- Query: `kubernetes.container._module.pod.name`, `kubernetes.container.memory.usage.bytes`



- Top CPU intensive pods
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.container`
- Query: `kubernetes.container._module.pod.name`, `kubernetes.container.cpu.usage.core.ns`



- Network in by node
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.pod`
- Query: `kubernetes.pod.network.rx.bytes`



- Network out by node
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.pod`
- Query: `kubernetes.pod.network.tx.bytes`

Large diffs are not rendered by default.

Loading

0 comments on commit f8a8e67

Please sign in to comment.