-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
45 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# mkdocs-blog | ||
Blog using mkdocs | ||
|
||
Local running | ||
``` | ||
/home/hgomes/.local/bin/mkdocs serve | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: PromQL expressions for K8S | ||
summary: PromQL expressions to find out specific informaiton | ||
authors: | ||
- Hevellyn | ||
date: 2024-04-28 | ||
categories: | ||
- Monitoring | ||
slug: promql,monitoring,prometheus | ||
tags: | ||
- promql | ||
- monitoring | ||
- prometheus | ||
--- | ||
|
||
A set of PROMQL expressions that has been the most useful for me. | ||
|
||
<!-- more --> | ||
|
||
- What node got into *Not Ready* status? | ||
``` | ||
kube_node_status_condition{condition="Ready",status!="true"} | ||
``` | ||
|
||
- How many containers runs in a pod? The `~` works as a `*` wildcard/regex. | ||
``` | ||
kube_pod_container_info{cluster="", namespace="<project-name>",pod=~"<pod-name>"} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters