Update Prometheus, Grafana, and ingress-nginx addons

* Update ingress-nginx RBAC Role to include coordination.k8s.io leases
permissions that are required with ingress-nginx v1.3.0
This commit is contained in:
Dalton Hubble 2022-07-15 20:19:12 -07:00
parent 0db5f86110
commit 767a653baa
13 changed files with 43 additions and 18 deletions

View File

@ -4,10 +4,13 @@ Notable changes between versions.
## Latest ## Latest
* Kubernetes [v1.24.3](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.24.md#v1243)
### Addons ### Addons
* Update Prometheus from v2.36.1 to [v2.36.2](https://github.com/prometheus/prometheus/releases/tag/v2.36.2) * Update ingress-nginx from v1.2.1 to [v1.3.0](https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.3.0)
* Update Grafana from v8.5.6 to [v9.0.2](https://github.com/grafana/grafana/releases/tag/v9.0.2) * Update Prometheus from v2.36.1 to [v2.37.0](https://github.com/prometheus/prometheus/releases/tag/v2.37.0)
* Update Grafana from v8.5.6 to [v9.0.3](https://github.com/grafana/grafana/releases/tag/v9.0.3)
## v1.24.2 ## v1.24.2
@ -34,7 +37,7 @@ Notable changes between versions.
* Update Prometheus from v2.35.0 to [v2.36.0](https://github.com/prometheus/prometheus/releases/tag/v2.36.0) * Update Prometheus from v2.35.0 to [v2.36.0](https://github.com/prometheus/prometheus/releases/tag/v2.36.0)
* Update Grafana from v8.5.1 to [v8.5.3](https://github.com/grafana/grafana/releases/tag/v8.5.3) * Update Grafana from v8.5.1 to [v8.5.3](https://github.com/grafana/grafana/releases/tag/v8.5.3)
* Update nginx-ingress from v1.2.1 to [v1.2.1](https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.2.1) * Update nginx-ingress from v1.2.0 to [v1.2.1](https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.2.1)
## v1.24.0 ## v1.24.0

View File

@ -24,7 +24,7 @@ spec:
type: RuntimeDefault type: RuntimeDefault
containers: containers:
- name: grafana - name: grafana
image: docker.io/grafana/grafana:9.0.2 image: docker.io/grafana/grafana:9.0.3
env: env:
- name: GF_PATHS_CONFIG - name: GF_PATHS_CONFIG
value: "/etc/grafana/custom.ini" value: "/etc/grafana/custom.ini"

View File

@ -23,7 +23,7 @@ spec:
type: RuntimeDefault type: RuntimeDefault
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: k8s.gcr.io/ingress-nginx/controller:v1.2.1 image: k8s.gcr.io/ingress-nginx/controller:v1.3.0
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --controller-class=k8s.io/public - --controller-class=k8s.io/public

View File

@ -10,6 +10,7 @@ rules:
- configmaps - configmaps
- pods - pods
- secrets - secrets
- endpoints
verbs: verbs:
- get - get
- apiGroups: - apiGroups:
@ -37,3 +38,11 @@ rules:
- endpoints - endpoints
verbs: verbs:
- get - get
- apiGroups:
- "coordination.k8s.io"
resources:
- leases
verbs:
- create
- get
- update

View File

@ -23,7 +23,7 @@ spec:
type: RuntimeDefault type: RuntimeDefault
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: k8s.gcr.io/ingress-nginx/controller:v1.2.1 image: k8s.gcr.io/ingress-nginx/controller:v1.3.0
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --controller-class=k8s.io/public - --controller-class=k8s.io/public

View File

@ -10,6 +10,7 @@ rules:
- configmaps - configmaps
- pods - pods
- secrets - secrets
- endpoints
verbs: verbs:
- get - get
- apiGroups: - apiGroups:
@ -32,8 +33,11 @@ rules:
verbs: verbs:
- create - create
- apiGroups: - apiGroups:
- "" - "coordination.k8s.io"
resources: resources:
- endpoints - leases
verbs: verbs:
- create
- get - get
- update

View File

@ -23,7 +23,7 @@ spec:
type: RuntimeDefault type: RuntimeDefault
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: k8s.gcr.io/ingress-nginx/controller:v1.2.1 image: k8s.gcr.io/ingress-nginx/controller:v1.3.0
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --controller-class=k8s.io/public - --controller-class=k8s.io/public

View File

@ -10,6 +10,7 @@ rules:
- configmaps - configmaps
- pods - pods
- secrets - secrets
- endpoints
verbs: verbs:
- get - get
- apiGroups: - apiGroups:
@ -32,8 +33,10 @@ rules:
verbs: verbs:
- create - create
- apiGroups: - apiGroups:
- "" - "coordination.k8s.io"
resources: resources:
- endpoints - leases
verbs: verbs:
- create
- get - get
- update

View File

@ -23,7 +23,7 @@ spec:
type: RuntimeDefault type: RuntimeDefault
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: k8s.gcr.io/ingress-nginx/controller:v1.2.1 image: k8s.gcr.io/ingress-nginx/controller:v1.3.0
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --controller-class=k8s.io/public - --controller-class=k8s.io/public

View File

@ -10,6 +10,7 @@ rules:
- configmaps - configmaps
- pods - pods
- secrets - secrets
- endpoints
verbs: verbs:
- get - get
- apiGroups: - apiGroups:
@ -32,8 +33,10 @@ rules:
verbs: verbs:
- create - create
- apiGroups: - apiGroups:
- "" - "coordination.k8s.io"
resources: resources:
- endpoints - leases
verbs: verbs:
- create
- get - get
- update

View File

@ -23,7 +23,7 @@ spec:
type: RuntimeDefault type: RuntimeDefault
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: k8s.gcr.io/ingress-nginx/controller:v1.2.1 image: k8s.gcr.io/ingress-nginx/controller:v1.3.0
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --controller-class=k8s.io/public - --controller-class=k8s.io/public

View File

@ -10,6 +10,7 @@ rules:
- configmaps - configmaps
- pods - pods
- secrets - secrets
- endpoints
verbs: verbs:
- get - get
- apiGroups: - apiGroups:
@ -32,8 +33,10 @@ rules:
verbs: verbs:
- create - create
- apiGroups: - apiGroups:
- "" - "coordination.k8s.io"
resources: resources:
- endpoints - leases
verbs: verbs:
- create
- get - get
- update

View File

@ -21,7 +21,7 @@ spec:
serviceAccountName: prometheus serviceAccountName: prometheus
containers: containers:
- name: prometheus - name: prometheus
image: quay.io/prometheus/prometheus:v2.36.2 image: quay.io/prometheus/prometheus:v2.37.0
args: args:
- --web.listen-address=0.0.0.0:9090 - --web.listen-address=0.0.0.0:9090
- --config.file=/etc/prometheus/prometheus.yaml - --config.file=/etc/prometheus/prometheus.yaml