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
Ben Petersen 2024-07-07 15:02:44 -04:00 committed by GitHub
parent a9cb5f7ba5
commit 3b50b20d1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ Documentation=https://github.com/kubernetes/kubernetes
[Service]
ExecStart=/usr/local/bin/kube-apiserver \
--allow-privileged=true \
--apiserver-count=1 \
--audit-log-maxage=30 \
--audit-log-maxbackup=3 \
--audit-log-maxsize=100 \
@ -33,4 +32,4 @@ Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target