GitHub user kiranchavala added a comment to the discussion: Struggling on 
setting up the endpoint.url for Kubernetes clusters to have a Running state.

@n4l5u0r Can 

If you observe the logs Cloudstack server continuously poll the Kubernetes API 
server to check if the nodes are in ready state 


```


2025-11-10 10:30:17,583 WARN  [c.c.k.c.u.KubernetesClusterUtil] 
(API-Job-Executor-6:[ctx-9327fb18, job-654, ctx-d46c3384]) (logid:7af1ba96) API 
endpoint for Kubernetes cluster KubernetesCluster 
{"id":7,"name":"cks-csi2","uuid":"ff12e45d-fb72-4736-b3e2-558fcdb3448a"} not 
available javax.net.ssl.SSLHandshakeException: Remote host terminated the 
handshake
        at 
java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1719)
        at 
java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1518)
        at 
java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1425)

        
Caused by: java.io.EOFException: SSL peer shut down incorrectly
        at 
java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:489)
        

2025-11-10 10:31:32,632 INFO  [c.c.k.c.u.KubernetesClusterUtil] 
(API-Job-Executor-6:[ctx-9327fb18, job-654, ctx-d46c3384]) (logid:7af1ba96) 
Kubernetes cluster KubernetesCluster 
{"id":7,"name":"cks-csi2","uuid":"ff12e45d-fb72-4736-b3e2-558fcdb3448a"} API 
has been successfully provisioned, {  "major": "1",  "minor": "33",  
"emulationMajor": "1",  "emulationMinor": "33",  "minCompatibilityMajor": "1",  
"minCompatibilityMinor": "32",  "gitVersion": "v1.33.1",  "gitCommit": 
"8adc0f041b8e7ad1d30e29cc59c6ae7a15e19828",  "gitTreeState": "clean",  
"buildDate": "2025-05-15T08:19:08Z",  "goVersion": "go1.24.2",  "compiler": 
"gc",  "platform": "linux/amd64"}

        
2025-11-10 10:31:32,641 DEBUG [c.c.k.c.u.KubernetesClusterUtil] 
(API-Job-Executor-6:[ctx-9327fb18, job-654, ctx-d46c3384]) (logid:7af1ba96) 
Checking ready nodes for the Kubernetes cluster KubernetesCluster 
{"id":7,"name":"cks-csi2","uuid":"ff12e45d-fb72-4736-b3e2-558fcdb3448a"} with 
total 2 provisioned nodes
        
```

You can also check the values for  reduce it  if you need  shorter timeout 
values

cloud.kubernetes.cluster.start.timeout
cloud.kubernetes.cluster.add.node.timeout


GitHub link: 
https://github.com/apache/cloudstack/discussions/12037#discussioncomment-14923385

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to