Skip to content

Commit 1c0c86e

Browse files
committed
CSPL-3558 Fix metrics-server installation issues after k8s version upgrade
1 parent 027c039 commit 1c0c86e

16 files changed

+16
-16
lines changed

.github/workflows/arm-AL2023-build-test-push-workflow-AL2023.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ jobs:
221221
make cluster-up
222222
- name: install metric server
223223
run: |
224-
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
224+
kubectl apply --server-side=true --force-conflicts -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
225225
- name: install k8s dashboard
226226
run: |
227227
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

.github/workflows/arm-AL2023-int-test-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
make cluster-up
172172
- name: install metric server
173173
run: |
174-
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
174+
kubectl apply --server-side=true --force-conflicts -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
175175
- name: install k8s dashboard
176176
run: |
177177
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

.github/workflows/arm-RHEL-build-test-push-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
make cluster-up
172172
- name: install metric server
173173
run: |
174-
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
174+
kubectl apply --server-side=true --force-conflicts -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
175175
- name: install k8s dashboard
176176
run: |
177177
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

.github/workflows/arm-RHEL-int-test-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
make cluster-up
172172
- name: install metric server
173173
run: |
174-
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
174+
kubectl apply --server-side=true --force-conflicts -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
175175
- name: install k8s dashboard
176176
run: |
177177
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

.github/workflows/arm-Ubuntu-build-test-push-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ jobs:
221221
make cluster-up
222222
- name: install metric server
223223
run: |
224-
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
224+
kubectl apply --server-side=true --force-conflicts -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
225225
- name: install k8s dashboard
226226
run: |
227227
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

.github/workflows/arm-Ubuntu-int-test-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
make cluster-up
172172
- name: install metric server
173173
run: |
174-
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
174+
kubectl apply --server-side=true --force-conflicts -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
175175
- name: install k8s dashboard
176176
run: |
177177
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

.github/workflows/build-test-push-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ jobs:
268268
make cluster-up
269269
- name: install metric server
270270
run: |
271-
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
271+
kubectl apply --server-side=true --force-conflicts -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
272272
- name: install k8s dashboard
273273
run: |
274274
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

.github/workflows/distroless-build-test-push-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ jobs:
267267
make cluster-up
268268
- name: install metric server
269269
run: |
270-
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
270+
kubectl apply --server-side=true --force-conflicts -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
271271
- name: install k8s dashboard
272272
run: |
273273
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

.github/workflows/distroless-int-test-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
make cluster-up
165165
- name: install metric server
166166
run: |
167-
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
167+
kubectl apply --server-side=true --force-conflicts -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
168168
- name: install k8s dashboard
169169
run: |
170170
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

.github/workflows/helm-test-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
make cluster-up
166166
- name: install metric server
167167
run: |
168-
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
168+
kubectl apply --server-side=true --force-conflicts -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
169169
- name: install k8s dashboard
170170
run: |
171171
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

0 commit comments

Comments
 (0)