From 4f6b4b030621fd0cb02afb86d99f11ae33fc71a7 Mon Sep 17 00:00:00 2001 From: Cyril Mizzi Date: Wed, 16 Mar 2022 14:39:25 +0100 Subject: [PATCH] fix(slides.k8s.hpa-v2): update namespace for prometheus-adapter --- slides/k8s/hpa-v2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/k8s/hpa-v2.md b/slides/k8s/hpa-v2.md index fb2b1f4e..637d64f0 100644 --- a/slides/k8s/hpa-v2.md +++ b/slides/k8s/hpa-v2.md @@ -538,7 +538,7 @@ Here is the rule that we need to add to the configuration: - Edit the adapter's ConfigMap: ```bash - kubectl edit configmap prometheus-adapter --namespace=kube-system + kubectl edit configmap prometheus-adapter --namespace=prometheus-adapter ``` - Add the new rule in the `rules` section, at the end of the configuration file @@ -547,7 +547,7 @@ Here is the rule that we need to add to the configuration: - Restart the Prometheus adapter: ```bash - kubectl rollout restart deployment --namespace=kube-system prometheus-adapter + kubectl rollout restart deployment --namespace=prometheus-adapter prometheus-adapter ``` ]