Update kube-apiserver.service to remove --apiserver-count flag
As of at least Kubernetes v1.28.3 (perhaps older) the --apiserver-count is no longer documented in the [api server flags](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/) list. It's presence in the `/etc/systemd/system/kube-apiserver.service` file prevents the API server from starting properly.pull/794/head
parent
a9cb5f7ba5
commit
3b50b20d1b
|
@ -5,7 +5,6 @@ Documentation=https://github.com/kubernetes/kubernetes
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/local/bin/kube-apiserver \
|
ExecStart=/usr/local/bin/kube-apiserver \
|
||||||
--allow-privileged=true \
|
--allow-privileged=true \
|
||||||
--apiserver-count=1 \
|
|
||||||
--audit-log-maxage=30 \
|
--audit-log-maxage=30 \
|
||||||
--audit-log-maxbackup=3 \
|
--audit-log-maxbackup=3 \
|
||||||
--audit-log-maxsize=100 \
|
--audit-log-maxsize=100 \
|
||||||
|
@ -33,4 +32,4 @@ Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue