Skip to content

Commit 402a8d9

Browse files
committed
Sort modes
1 parent 75fc7c2 commit 402a8d9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ Nagios-style checks against Kubernetes API. Designed for usage with Nagios, Icin
3636
Modes are:
3737
apiserver Not for kubectl, should be used for each apiserver independently
3838
components Check for health of k8s components (etcd, controller-manager, scheduler etc.)
39+
daemonsets Check for daemonsets readiness
40+
deployments Check for deployments availability
41+
jobs Check for failed jobs
3942
nodes Check for active nodes
4043
pods Check for restart count of containters in the pods
41-
deployments Check for deployments availability
42-
daemonsets Check for daemonsets readiness
43-
unboundpvs Check for unbound persistent volumes.
4444
replicasets Check for replicasets readiness
4545
statefulsets Check for statefulsets readiness
4646
tls Check for tls secrets expiration dates
47-
jobs Check for failed jobs
47+
unboundpvs Check for unbound persistent volumes.
4848

4949
## Examples:
5050

check_kubernetes.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ usage() {
3838
Modes are:
3939
apiserver Not for kubectl, should be used for each apiserver independently
4040
components Check for health of k8s components (etcd, controller-manager, scheduler etc.)
41+
daemonsets Check for daemonsets readiness
42+
deployments Check for deployments availability
43+
jobs Check for failed jobs
4144
nodes Check for active nodes
4245
pods Check for restart count of containters in the pods
43-
deployments Check for deployments availability
44-
daemonsets Check for daemonsets readiness
45-
unboundpvs Check for unbound persistent volumes.
4646
replicasets Check for replicasets readiness
4747
statefulsets Check for statefulsets readiness
4848
tls Check for tls secrets expiration dates
49-
jobs Check for failed jobs
49+
unboundpvs Check for unbound persistent volumes.
5050
EOF
5151

5252
exit 2

0 commit comments

Comments
 (0)