You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found an issue with the alertmanager-deployment.yaml when using the most up to date prometheus.
If anyone else sees this, the pod will deploy and then you will see the following. See fix section if you need to fix this.
This is fixed for me, just wanted to leave this for awareness.
Normal Scheduled 46s default-scheduler Successfully assigned alertmanager-6c54bccc56-84k4g to aks-nodepool1-42287233-0
Normal SuccessfulMountVolume 46s kubelet, aks-nodepool1-42287233-0 MountVolume.SetUp succeeded for volume "alertmanager"
Normal SuccessfulMountVolume 46s kubelet, aks-nodepool1-42287233-0 MountVolume.SetUp succeeded for volume "config-volume"
Normal SuccessfulMountVolume 46s kubelet, aks-nodepool1-42287233-0 MountVolume.SetUp succeeded for volume "templates-volume"
Normal SuccessfulMountVolume 46s kubelet, aks-nodepool1-42287233-0 MountVolume.SetUp succeeded for volume "default-token-c658r"
Normal SuccessfulMountVolume 46s kubelet, aks-nodepool1-42287233-0 MountVolume.SetUp succeeded for volume "etcd-tls-client-certs"
Normal Pulling 25s (x3 over 45s) kubelet, aks-nodepool1-42287233-0 pulling image "prom/alertmanager:master"
Normal Pulled 24s (x3 over 40s) kubelet, aks-nodepool1-42287233-0 Successfully pulled image "prom/alertmanager:master"
Normal Created 24s (x3 over 40s) kubelet, aks-nodepool1-42287233-0 Created container
Normal Started 24s (x3 over 40s) kubelet, aks-nodepool1-42287233-0 Started container
Warning BackOff 13s (x4 over 37s) kubelet, aks-nodepool1-42287233-0 Back-off restarting failed container
Warning FailedSync 13s (x4 over 37s) kubelet, aks-nodepool1-42287233-0 Error syncing pod
# FIX
They have changed the syntax of the deployment file to require a "--" in the specified area, the syntax of the spec heading should be as follows in the "alertmanager-deployment.yaml" file.
I found an issue with the alertmanager-deployment.yaml when using the most up to date prometheus.
If anyone else sees this, the pod will deploy and then you will see the following. See fix section if you need to fix this.
This is fixed for me, just wanted to leave this for awareness.
Normal Scheduled 46s default-scheduler Successfully assigned alertmanager-6c54bccc56-84k4g to aks-nodepool1-42287233-0
Normal SuccessfulMountVolume 46s kubelet, aks-nodepool1-42287233-0 MountVolume.SetUp succeeded for volume "alertmanager"
Normal SuccessfulMountVolume 46s kubelet, aks-nodepool1-42287233-0 MountVolume.SetUp succeeded for volume "config-volume"
Normal SuccessfulMountVolume 46s kubelet, aks-nodepool1-42287233-0 MountVolume.SetUp succeeded for volume "templates-volume"
Normal SuccessfulMountVolume 46s kubelet, aks-nodepool1-42287233-0 MountVolume.SetUp succeeded for volume "default-token-c658r"
Normal SuccessfulMountVolume 46s kubelet, aks-nodepool1-42287233-0 MountVolume.SetUp succeeded for volume "etcd-tls-client-certs"
Normal Pulling 25s (x3 over 45s) kubelet, aks-nodepool1-42287233-0 pulling image "prom/alertmanager:master"
Normal Pulled 24s (x3 over 40s) kubelet, aks-nodepool1-42287233-0 Successfully pulled image "prom/alertmanager:master"
Normal Created 24s (x3 over 40s) kubelet, aks-nodepool1-42287233-0 Created container
Normal Started 24s (x3 over 40s) kubelet, aks-nodepool1-42287233-0 Started container
Warning BackOff 13s (x4 over 37s) kubelet, aks-nodepool1-42287233-0 Back-off restarting failed container
Warning FailedSync 13s (x4 over 37s) kubelet, aks-nodepool1-42287233-0 Error syncing pod
# FIX
They have changed the syntax of the deployment file to require a "--" in the specified area, the syntax of the spec heading should be as follows in the "alertmanager-deployment.yaml" file.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: alertmanager
spec:
replicas: 1
selector:
matchLabels:
app: alertmanager
template:
metadata:
name: alertmanager
labels:
app: alertmanager
spec:
containers:
- name: alertmanager
image: prom/alertmanager:master
args:
- '--config.file=/etc/alertmanager/config.yml'
- '--storage.path=/alertmanager'
- '--web.external-url=$(EXTERNAL_URL)/alertmanager'
was
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: alertmanager
spec:
replicas: 1
selector:
matchLabels:
app: alertmanager
template:
metadata:
name: alertmanager
labels:
app: alertmanager
spec:
containers:
- name: alertmanager
image: prom/alertmanager:master
args:
- '-config.file=/etc/alertmanager/config.yml'
- '-storage.path=/alertmanager'
- '-web.external-url=$(EXTERNAL_URL)/alertmanager'
The text was updated successfully, but these errors were encountered: