Skip to content

Commit 1590bdf

Browse files
committed
docs: small documentation fixes
1 parent a5d4de6 commit 1590bdf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/schemas/secrets.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Welkin Apps Secrets
44
description: |
55
This describes the structure of the secrets for both the service and workload clusters.
66
$comment: |
7-
Since these are intended to be encrypted each property should have the `encrypted` definition combined with `anyOf or `oneOf` with the actual format.
7+
Since these are intended to be encrypted each property should have the `encrypted` definition combined with `anyOf` or `oneOf` with the actual format.
88
$defs:
99
encrypted:
1010
$comment: Combine this and the decrypted format using oneOf or anyOf

helmfile.d/charts/prometheus-alerts/templates/alerts/kubernetes-apps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ spec:
5151
{{- end }}
5252
- alert: KubeContainerOOMKilled
5353
annotations:
54-
description: Container {{`{{`}} $labels.container {{`}}`}} in pod {{`{{`}} $labels.namespace {{`}}`}}/{{`{{`}} $labels.pod {{`}}`}} from {{`{{`}} $labels.cluster {{`}}`}} has been OOMKilled {{`{{`}} $value {{`}}`}} times in the last 10 minutes.
54+
description: Container {{`{{`}} $labels.container {{`}}`}} in pod {{`{{`}} $labels.namespace {{`}}`}}/{{`{{`}} $labels.pod {{`}}`}} from {{`{{`}} $labels.cluster {{`}}`}} has been OOMKilled {{`{{`}} $value {{`}}`}} times in the last 30 minutes.
5555
summary: Kubernetes container OOMKilled.
5656
expr: (kube_pod_container_status_restarts_total - kube_pod_container_status_restarts_total offset 30m >= 2) and ignoring (reason) min_over_time(kube_pod_container_status_last_terminated_reason{reason="OOMKilled"}[30m]) == 1
5757
for: 0m

migration/template/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ As with all scripts in this repository `CK8S_CONFIG_PATH` is expected to be set.
4747
./bin/ck8s ops kubectl sc|wc get nodes
4848
./bin/ck8s ops kubectl sc|wc get jobs -A
4949
./bin/ck8s ops helm sc|wc list -A --all
50-
velero get backup
50+
./bin/ck8s ops velero sc|wc get backup
5151
```
5252

5353
- [ ] Silence the notifications for the alerts. e.g you can use [alertmanager silences](https://prometheus.io/docs/alerting/latest/alertmanager/#silences);

0 commit comments

Comments
 (0)