mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-19 12:59:24 +00:00
fix(slides.k8s.hpa-v2): update namespace for prometheus-adapter
This commit is contained in:
committed by
Jérôme Petazzoni
parent
888aad583e
commit
4f6b4b0306
@@ -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
|
||||
```
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user