You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to deploy a standalone cluster of k8s and with calico's ipv6, but I found index out of range [0] with length 0 error. May i ask does kubekey support ipv6? or is my configuration wrong? I would be delighted to receive a response,thx
Relevant log output
11:18:37 CST [InstallKubeBinariesModule] Enable kubelet service
11:18:37 CST success: [ubuntu]
11:18:37 CST [InstallKubeBinariesModule] Generate kubelet env
11:18:37 CST success: [ubuntu]
11:18:37 CST [InitKubernetesModule] Generate kubeadm config
panic: runtime error: index out of range [0] with length 0
goroutine 633 [running]:
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util.networkRange(0xc00063f890)
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util/ip.go:125 +0x14e
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util.GetAvailableIP({0xc00051bc50?, 0x11?})
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util/ip.go:79 +0x4a
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util.ParseIp({0xc00051bc50?, 0x11?})
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util/ip.go:40 +0xfd
github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2.(*ClusterSpec).GenerateCertSANs(0xc0002c3800)
github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2/cluster_types.go:157 +0x2b8
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/kubernetes.(*GenerateKubeadmConfig).Execute(0xc000a686e0, {0x2890ed0, 0xc0002e6a80})
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/kubernetes/tasks.go:294 +0x14bb
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task.(*RemoteTask).ExecuteWithRetry(0xc000afea80, {0x2890ed0, 0xc0002e6a80})
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task/remote_task.go:216 +0x119
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task.(*RemoteTask).Run(0xc000afea80, {0x2890ed0, 0xc0002e6a80}, {0x2897cb0, 0xc00071c9f0}, 0x9a3e06?, 0xc000534780?)
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task/remote_task.go:152 +0x1c5
created by github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task.(*RemoteTask).RunWithTimeout
github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task/remote_task.go:109 +0x16d
Additional information
No response
The text was updated successfully, but these errors were encountered:
What is version of KubeKey has the issue?
v3.1.7
What is your os environment?
Ubuntu22.04
KubeKey config file
A clear and concise description of what happend.
I want to deploy a standalone cluster of k8s and with calico's ipv6, but I found index out of range [0] with length 0 error. May i ask does kubekey support ipv6? or is my configuration wrong? I would be delighted to receive a response,thx
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: