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

As of Kubernetes v1.28.3 the --apiserver-count flag should be removed from the kube-apiserver.service unit file #793

Open
benjaminapetersen opened this issue Jul 7, 2024 · 0 comments

Comments

@benjaminapetersen
Copy link

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 \
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

No branches or pull requests

1 participant