-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from sighupio/hotfix/revert-commonLabels
revert commonLables usage
- Loading branch information
Showing
34 changed files
with
105 additions
and
183 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
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
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 |
---|---|---|
@@ -1,17 +1,58 @@ | ||
# Monitoring Core Module version v1.14.1 | ||
|
||
This patch includes hotfix in `prometheus-operated` and `alertmanager-operated` Kustomize projects. | ||
This is a patch release reverts the `commonLabels` applied in `v1.14.0` because they break updating the module in the future. | ||
|
||
## Changelog | ||
## Update Guide 🦮 | ||
|
||
- Fixing the label selector for `prometheus-operated` and `alertmanager-operated` using Kustomize configurations. | ||
### Warnings | ||
|
||
## Upgrade path | ||
- Since the release rollbacks some changes to immutable fields, if `deployments`, `statefulset` and `daemonsets`, are not deleted first before applying the module, it will error out. Check the Process below for more info. | ||
|
||
To upgrade this core module from `v1.14.0` to `v1.14.1`, you need to download this new version, then apply the | ||
`kustomize` project. No further action is required. | ||
### Process | ||
|
||
If you are upgrading from version `v1.14.0` to `v1.14.1` you need to download this new version and then apply the `kustomize` project as shown below. | ||
|
||
There will be **downtime** on the components. | ||
|
||
```bash | ||
# Delete the deployments with the labels so they can be upgraded | ||
kubectl delete deployment.apps/prometheus-operator -n monitoring | ||
# Finally, apply the new version | ||
kustomize build katalog/prometheus-operator | kubectl apply -f - | ||
# Repeat for each package | ||
kubectl delete statefulset.apps/prometheus-k8s -n monitoring | ||
kustomize build katalog/prometheus-operated | kubectl apply -f - | ||
kubectl delete deployment.apps/grafana -n monitoring | ||
kustomize build katalog/grafana | kubectl apply -f - | ||
kubectl delete -n kube-system deployment.apps/metrics-server | ||
kustomize build katalog/metrics-server | kubectl apply -f - | ||
kubectl delete daemonset.apps/goldpinger -n monitoring | ||
kustomize build katalog/goldpinger | kubectl apply -f- | ||
kustomize build katalog/kubeadm-sm | kubectl apply -f- | ||
kubectl delete daemonset.apps/kube-proxy-metrics -n monitoring | ||
kustomize build katalog/kube-proxy-metrics | kubectl apply -f- | ||
kubectl delete deployment.apps/kube-state-metrics -n monitoring | ||
kustomize build katalog/kube-state-metrics | kubectl apply -f- | ||
kubectl delete daemonset.apps/node-exporter -n monitoring | ||
kustomize build katalog/node-exporter | kubectl apply -f- | ||
kubectl delete statefulset.apps/alertmanager-main -n monitoring | ||
kustomize build katalog/alertmanager-operated | kubectl apply -f- | ||
``` | ||
|
||
If you are upgrading from a version `< v1.14.0`, you can simply apply the `kustomize` project as shown below. | ||
|
||
```bash | ||
kustomize build katalog/prometheus-operator | kubectl apply -f - | ||
kustomize build katalog/prometheus-operated | kubectl apply -f - | ||
kustomize build katalog/node-exporter | kubectl apply -f - | ||
kustomize build katalog/metrics-server | kubectl apply -f - | ||
kustomize build katalog/kubeadm-sm | kubectl apply -f - | ||
kustomize build katalog/kube-state-metrics | kubectl apply -f - | ||
kustomize build katalog/kube-proxy-metrics | kubectl apply -f - | ||
kustomize build katalog/grafana | kubectl apply -f - | ||
kustomize build katalog/goldpinger | kubectl apply -f - | ||
kustomize build katalog/gke-sm | kubectl apply -f - | ||
kustomize build katalog/eks-sm | kubectl apply -f - | ||
kustomize build katalog/alertmanager-operated | kubectl apply -f - | ||
kustomize build katalog/aks-sm | kubectl apply -f - | ||
``` |
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
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
|
||
bases: | ||
- name: monitoring/grafana | ||
version: v1.13.0 | ||
version: v1.14.1 |
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
|
||
bases: | ||
- name: monitoring/grafana | ||
version: v1.13.0 | ||
version: v1.14.1 |
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.