kind.sh - invalid portMapping: port mapping with same listen address, port and protocol already configured: 0.0.0.0:0/TCP
cmoulliard opened this issue · 0 comments
cmoulliard commented
Issue
Your latest changed pushed since this commit generates such an error invalid portMapping: port mapping with same listen address, port and protocol already configured: 0.0.0.0:0/TCP
It is mandatory that the kind.sh script pushed on main continues to work !
HowTo
curl -s -L "https://raw.githubusercontent.com/snowdrop/k8s-infra/main/kind/kind.sh" | bash -s install --registry-name kind-registry.local --delete-kind-cluster
Welcome to our
_____ _
/ ____| | |
| (___ _ __ ___ __ __ __| | _ __ ___ _ __
\___ \ | '_ \ / _ \ \ \ /\ / / / _ | | __| / _ \ | \ _ \
____) | | | | | | (_) | \ V V / | (_| | | | | (_) | | |_) |
|_____/ |_| |_| \___/ \_/\_/ \__,_| |_| \___/ | __/
| |
|_|
Script to create/delete a Kubernetes cluster using kind like a :
- ingress controller (nginx, kourier)
✔ Pre requisites check passed!
! Deleting Kind cluster...
✔ Removing kind cluster (kind)...
✔ ...done!
! Checking if kind cluster exists...
No kind clusters found.
ERROR: failed to create cluster: invalid configuration for node 0: invalid portMapping: port mapping with same listen address, port and protocol already configured: 0.0.0.0:0/TCP
Stack Trace:
sigs.k8s.io/kind/pkg/errors.Errorf
sigs.k8s.io/kind/pkg/errors/errors.go:41
sigs.k8s.io/kind/pkg/internal/apis/config.(*Cluster).Validate
sigs.k8s.io/kind/pkg/internal/apis/config/validate.go:77
sigs.k8s.io/kind/pkg/cluster/internal/create.Cluster
sigs.k8s.io/kind/pkg/cluster/internal/create/create.go:90
sigs.k8s.io/kind/pkg/cluster.(*Provider).Create
sigs.k8s.io/kind/pkg/cluster/provider.go:181
sigs.k8s.io/kind/pkg/cmd/kind/create/cluster.runE
sigs.k8s.io/kind/pkg/cmd/kind/create/cluster/createcluster.go:110
sigs.k8s.io/kind/pkg/cmd/kind/create/cluster.NewCommand.func1
sigs.k8s.io/kind/pkg/cmd/kind/create/cluster/createcluster.go:54
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.4.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.4.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.4.0/command.go:902
sigs.k8s.io/kind/cmd/kind/app.Run
sigs.k8s.io/kind/cmd/kind/app/main.go:53
sigs.k8s.io/kind/cmd/kind/app.Main
sigs.k8s.io/kind/cmd/kind/app/main.go:35
main.main
sigs.k8s.io/kind/main.go:25
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_arm64.s:1172