Skip to content

Commit

Permalink
Add missing labels for scheduler and controller manager (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBisson authored Dec 13, 2022
1 parent f0252af commit 041d3e7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add missing labels for `kube-scheduler` and `controller-manager`.

### Fixed

- Fix `kube-scheduler` healthcheck.

## [14.7.0] - 2022-11-15

### Fixed
Expand Down
7 changes: 5 additions & 2 deletions templates/files/manifests/controller-manager.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: k8s-controller-manager
namespace: kube-system
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
labels:
component: kube-controller-manager
tier: control-plane
name: k8s-controller-manager
namespace: kube-system
spec:
hostNetwork: true
priorityClassName: system-node-critical
Expand Down
9 changes: 6 additions & 3 deletions templates/files/manifests/scheduler.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: k8s-scheduler
namespace: kube-system
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
labels:
component: kube-scheduler
tier: control-plane
name: k8s-scheduler
namespace: kube-system
spec:
hostNetwork: true
priorityClassName: system-node-critical
Expand All @@ -29,7 +32,7 @@ spec:
httpGet:
host: 127.0.0.1
path: /healthz
port: 10257
port: 10259
scheme: HTTPS
initialDelaySeconds: 15
timeoutSeconds: 15
Expand Down

0 comments on commit 041d3e7

Please sign in to comment.