-
Notifications
You must be signed in to change notification settings - Fork 697
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
k8s apiserver not running on RPi 4 model B #1558
Comments
@Ignat99 Photon OS repository contains the packages Mixes from options is actually a challenge. The user guide chapters Running Kubernetes on Photon OS and Kubeadm Cluster on Photon OS with configuring a Master Node do not help in any constellation.
Port 8080 is used if no configuration is found/specified. Does Does minikube work?
|
Yes, minikube work.
I added RAM to the virtual machine and changed the number of CPUs from 1 to 4.
But 3 pods not running... |
Yes, the issue is reproducible on x86_64 as well. On issue is the flag |
Thanks for pointing out. Will work on fixes starting week. |
edited July 3rd: @prashant1221 Kubernetes does not start with default configuration. Default in a typical constellation means, the system receives an ipv4 address e.g. on network adapter eth0. But that ipv4 address isn't inserted during installation e.g. in
I try to clarify this. This is the code snippet I use for docker-rootless.
Process test 1.
Result: It doesn't work without sudo. Process test 2.
Result: In privileged security context, it works flawlessly. |
Kubeadm documentation should work And doing service files configuration like defined here So proper configuration files changes are needed which can start in default configuration |
Describe the bug
I have VMware ESXi 7.0.0 over RPi 4 mod. B with Photon OS 5.0 GA Binaries OVA with virtual hardware v14 arm64
Linux photon-ova 6.1.94-1.ph5-esx # 1-photon SMP Sat Jun 29 03:04:00 UTC 2024 aarch64 GNU/Linux.
But
systemctl restart kube-apiserver
not sturted apiserverAnd i try use Photon OS 4.0 Rev2 OVA with virtual hardware v13 arm64 with the same errors
Reproduction steps
tdnf install kubernetes
systemctl restart kube-apiserver
'Job for kube-apiserver.service failed because the control process exited with error code.
See "systemctl status kube-apiserver.service" and "journalctl -xeu kube-apiserver.service" for details.'
`systemctl status kube-apiserver.service
× kube-apiserver.service - Kubernetes API Server
Loaded: loaded (/usr/lib/systemd/system/kube-apiserver.service; disabled; preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-07-01 08:41:10 UTC; 1min 13s ago
Docs: https://github.com/GoogleCloudPlatform/kubernetes
Process: 801 ExecStart=/usr/bin/kube-apiserver $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBE_ETCD_SERVERS $KUBE_API_ADDRESS $KUBE_API>
Main PID: 801 (code=exited, status=1/FAILURE)
CPU: 182ms
Jul 01 08:41:10 photon-ova systemd[1]: kube-apiserver.service: Main process exited, code=exited, status=1/FAILURE
Jul 01 08:41:10 photon-ova systemd[1]: kube-apiserver.service: Failed with result 'exit-code'.
Jul 01 08:41:10 photon-ova systemd[1]: Failed to start Kubernetes API Server.
Jul 01 08:41:10 photon-ova systemd[1]: kube-apiserver.service: Scheduled restart job, restart counter is at 5.
Jul 01 08:41:10 photon-ova systemd[1]: Stopped Kubernetes API Server.
Jul 01 08:41:10 photon-ova systemd[1]: kube-apiserver.service: Start request repeated too quickly.
Jul 01 08:41:10 photon-ova systemd[1]: kube-apiserver.service: Failed with result 'exit-code'.
Jul 01 08:41:10 photon-ova systemd[1]: Failed to start Kubernetes API Server.
`
...
Expected behavior
k8s does not start. Also the documentation is not true in the following files
As you can see, the name of the API --address flag has changed to --insecure-bind-address, the etcd port number is not correct. Need 2379
Additional context
I found numerous complaints about similar problems with keys on the internet.
kube-apiserver fails init. receive "--service-account-signing-key-file and --service-account-issuer are required flag"
I rebuilt apiserver directly on my RPi device with the same result. So the problem is definitely in the configuration, not the software.
The text was updated successfully, but these errors were encountered: