-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
The internal IP is 192.168.1.100, and the external IP is 1.2.3.4. The internal network uses port 8080, mapped to port 10303 on the external network. The initialization is performed with the command karmadactl init -p 8080 --cert-external-ip='1.2.3.4'. After initialization, within the local network, you can use karmadactl register 1.2.3.4:10303 --token xxx --discovery-token-ca-cert-hash xxxx --cluster-name="aaa". However, for servers outside the local network, curl -k https://1.2.3.4:10303/healthz returns "ok," but running karmadactl register 1.2.3.4:10303 --token xxx --discovery-token-ca-cert-hash xxxx --cluster-name="aaa" results in the message [karmada-agent-start] Waiting to perform the TLS Bootstrap and the error Unable to connect to the server: context deadline exceeded.
