-
Notifications
You must be signed in to change notification settings - Fork 829
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
Why can't Karmada apiserver start #5105
Comments
Cluster created using kubeadm |
This is my initialization command: sudo KUBECONFIG=/home/rongqigang/.kube/config kubectl karmada init --kubeconfig=/home/rongqigang/.kube/config |
cc @chaosi-zju |
hi @Schwarao, could you please provided full karmada-apiserver logs? if current pod logs is not complete, maybe you can use |
besides, can you check the version of |
|
|
can you use |
This error is most likely because
|
kubectl describe po karmada-apiserver-8dfd9bcd7-8k5g4 -n karmada-system: Name: karmada-apiserver-8dfd9bcd7-8k5g4 Warning Unhealthy 28m (x208 over 7h33m) kubelet Readiness probe failed: Get "https://10.0.32.135:5443/readyz": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) |
May I ask if Kubernetes 1.30.2 is supported |
I tested replace karmada-apiserver image to $ kubectl get deploy karmada-apiserver -n karmada-system -o yaml | grep -C 3 image:
- --tls-cert-file=/etc/karmada/pki/apiserver.crt
- --tls-private-key-file=/etc/karmada/pki/apiserver.key
- --tls-min-version=VersionTLS13
image: registry.k8s.io/kube-apiserver:v1.30.2
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 8
$ kubectl get pods -o wide -n karmada-system | grep karmada-apiserver
karmada-apiserver-6d698678df-qfbsz 1/1 Running 0 2m35s 172.18.0.4 karmada-host-control-plane <none> <none> |
This should be a problem with your own kubernetes container network. There is a service named |
You can, but it will not make any difference~ You karmada-apiserver installed failed is because it cann't connect to etcd by serviceName. However, the reason for can not connect to etcd by serviceName is because there may be some problem with your own kubernetes container network, wihch result in dns resolution failure. Maybe you can a test to check whether your kubernetes container network has problem:
|
Same problem in #5143 (comment) May be the comment #5143 (comment) can help this problem. |
log:
describe:
The text was updated successfully, but these errors were encountered: