Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync stackhpc/2023.1 with stackhpc/zed backports #165

Merged
merged 17 commits into from
Mar 28, 2024

Conversation

mnasiadka
Copy link
Member

No description provided.

This allows users to add extra network interface to cluster nodes, e.g.
storage network.

Story: 2002448
Task: 21983
Co-Authored-By: Bharat Kunwar <[email protected]>

Change-Id: I10a6a4d72e9ec635f2c73d9fe64a8d136228f532
(cherry picked from commit bea8c72)
(cherry picked from commit 8260f11)
(cherry picked from commit d6c0a2d)
(cherry picked from commit 6227555)
@mnasiadka mnasiadka requested a review from a team as a code owner March 28, 2024 09:36
Diogo Guerra and others added 16 commits March 28, 2024 10:37
* Prometheus-server now runs only on master nodes.
* Update prometheus-operator helm chart and tag.
* Update prometheus-adapter version.
* Deprecation notice for prometheus_monitoring component.

task: 41569
story: 2006765

Signed-off-by: Diogo Guerra <[email protected]>
Change-Id: I05e8c2be4e4c8e66a166b485ec7851875dca8b1c
(cherry picked from commit 0934160)
(cherry picked from commit 9a47696)
(cherry picked from commit 3041908)
(cherry picked from commit 5f786f0)
Story: 2009874

Change-Id: Ibaa3b150e024918b6fc963eb6ca62bd18690a3c4
(cherry picked from commit 15c2bc2)
(cherry picked from commit bf7fd64)
(cherry picked from commit d7a502e)
(cherry picked from commit eaaa762)
* Prometheus-server now runs only on master nodes.
* Update prometheus-operator helm chart and tag.
* Update prometheus-adapter version.
* Deprecation notice for prometheus_monitoring component.

Since v1.20 (changes are gradually introduced in next versions)
k8s components are exposing (by default) metrics on 127.0.0.1
and are changing expose port.

* Fix metrics address and ports post 1.20
* Extended memory limits to 64M
* Changed expose addr to 127.0.0.1
* Changed expose ports

task: 41569
story: 2006765

Signed-off-by: Diogo Guerra <[email protected]>
Co-authored-by: Grzegorz Bialas <[email protected]>
Change-Id: I05e8c2be4e4c8e66a166b485ec7851875dca8b1c
(cherry picked from commit c92f605)
(cherry picked from commit 32b22e5)
(cherry picked from commit 5b56182)
(cherry picked from commit 25e3bdc)
Change-Id: I5b4c55307acd822168645871bebe0a31eee0ee27
(cherry picked from commit e3561684dcc2508df69d271bc5d9666b48e3c86e)
(cherry picked from commit a351884)
(cherry picked from commit 29c99e9)
In FCOS36 and later coredns started failing with loops.
/etc/resolv.conf will not work with coredns (see [1]).

Tested on FC35/36/37.

[1]: https://github.com/coredns/coredns/blob/master/plugin/loop/README.md#troubleshooting

Change-Id: I3a0700046bade7bd0b3a1b319f66b8f675f0c8fb
(cherry picked from commit 037a71aaf8664a7f6a8926dceb294592d73da591)
(cherry picked from commit bf99035)
(cherry picked from commit 0f3ff1a)
This argument has been defined for containerd clusters in Magnum, and is set to
the default (and only valid) value of 'remote'.

Kubelet warning in 1.26:
  * Flag --container-runtime has been deprecated, will be removed in 1.27 as the only valid value is 'remote'
Kubelet error in 1.27:
  * E0801 03:10:26.723998    8889 run.go:74] "command failed" err="failed to parse kubelet flag: unknown flag: --container-runtime"

Change-Id: I072fab1342593941414b86e28b8a76edf2b19a6f
(cherry picked from commit dc2b372)
klog args have been removed from kubernetes in 1.26, and
deprecated since 1.23. kubernetes/kubernetes#112120

The argument --logtostderr has defaulted to true for a long time, so
this removal on older versions should have no impact.

Change-Id: I64f934a9bbc39c5e054d8a83b3f6edee061469e6
(cherry picked from commit 16baf85)
PodSecurityPolicy has been removed in Kubernetes v1.25 [1]. To allow Magnum
to support Kubernetes v1.25 and above, PodSecurityPolicy Admission
Controller has has been removed.

[1] https://kubernetes.io/docs/concepts/security/pod-security-policy/

Change-Id: I0fb0c372b484275b0677114193289469ee788b84
(cherry picked from commit 1b1c212)
(cherry picked from commit d589f0f)
(cherry picked from commit 3f901a5)
(cherry picked from commit cb52da1)
(cherry picked from commit 560855c)
(cherry picked from commit c13a91e)
(cherry picked from commit 5cbc471)
PodDisruptionBudget is `policy/v1` since 1.21.

projectcalico/calico#4570

Change-Id: I07786095a30ae15fe856fd3966fc073267d2ae9d
(cherry picked from commit 5abcab4)
Removed legacy Calico v3.3 manifest and conditional.
 -

Change-Id: Ica52a670452e65c5ae012012895080c9c8d9abf7
(cherry picked from commit fde7f8e)
Removed Tiller support from Helm modules install kubernetes fragment.

Change-Id: I81db0055ae82c64218498ae3e2a4fcc802f8d0e4
(cherry picked from commit e3aaa89)
To deploy Calico with Tigera Operator helm charts it was necessary
to move Helm client install to separate script for earlier execution.

Change-Id: Iab738b4120c0ac823b247b04f0cd750de0147779
(cherry picked from commit b6e2aa8)
* Renames calico script to match the version it was intended for: 3.21.
* Match calico_tag 3.26.* with the new manifest. All other versions will
  continue to use manifest intended for 3.21.*
* Calico manifest for 3.26[1] is tested for K8s versions v1.24 through v1.28[2].

[1] https://raw.githubusercontent.com/projectcalico/calico/v3.26.4/manifests/calico.yaml
[2] https://docs.tigera.io/calico/3.26/getting-started/kubernetes/requirements

Change-Id: I548e831c13be9b732303c945b2a7ba97a245b0df
(cherry picked from commit 0fdec72)
@mnasiadka mnasiadka merged commit 0d4d88b into stackhpc/2023.1 Mar 28, 2024
3 checks passed
@mnasiadka mnasiadka deleted the antelope_sync branch March 28, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants