From e078f7ecface1fb835d4116959413175f96c2787 Mon Sep 17 00:00:00 2001 From: Dale Smith Date: Mon, 23 Jan 2023 16:56:50 +1300 Subject: [PATCH] Support k8s 1.26: remove logtostderr klog args have been removed from kubernetes in 1.26, and deprecated since 1.23. https://github.com/kubernetes/kubernetes/pull/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 --- .../fragments/configure-kubernetes-master.sh | 11 +++++------ .../fragments/configure-kubernetes-minion.sh | 5 ++--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh b/magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh index 56d166937..241c4a74b 100644 --- a/magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh +++ b/magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh @@ -49,7 +49,6 @@ fi KUBE_MASTER_URI="https://127.0.0.1:$KUBE_API_PORT" mkdir -p /srv/magnum/kubernetes/ cat > /etc/kubernetes/config < /etc/kubernetes/kubelet < /etc/kubernetes/config < /etc/kubernetes/kubelet <