mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add arch node selector for hybrid clusters
Currently, all of the lens-metrics components are multi-arch except for kube-state-metrics. On a hybrid cluster this can be scheduled for arm, arm64 or other nodes so the pod will never come up. - kube-state-metrics image only supports amd64 - https://github.com/kubernetes/kube-state-metrics/issues/1037. There is a PR for this, but it hasn't been merged yet and seems to be held up. Alternatively we could switch to use a different image: https://hub.docker.com/r/carlosedp/kube-state-metrics/tags but just limiting the state metrics to amd64 is the easier option Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com>
This commit is contained in:
parent
50dfd4fa63
commit
3593207d99
@ -28,6 +28,11 @@ spec:
|
|||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- linux
|
- linux
|
||||||
|
- matchExpressions:
|
||||||
|
- key: beta.kubernetes.io/arch
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- amd64
|
||||||
serviceAccountName: kube-state-metrics
|
serviceAccountName: kube-state-metrics
|
||||||
containers:
|
containers:
|
||||||
- name: kube-state-metrics
|
- name: kube-state-metrics
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user