As of Kubernetes v1.28.3 the API server no longer recognizes --apiserver-count.
So on the server, the /etc/systemd/system/kube-apiserver.service should be edited to remove it:
[Unit]
Description=Kubernetes API Server
Documentation=https://github.com/kubernetes/kubernetes
ExecStart=/usr/local/bin/kube-apiserver \
--allow-privileged=true \
--apiserver-count=1 \ # <-- eliminate this or the kube-apiserver will not start
--audit-log-maxage=30 \
--audit-log-maxbackup=3 \
--audit-log-maxsize=100 \
As of
Kubernetes v1.28.3
the API server no longer recognizes--apiserver-count
.So on the
server
, the/etc/systemd/system/kube-apiserver.service
should be edited to remove it: