weaveworks / wks-quickstart-firekube

Example configuration to create Kubernetes clusters powered by ignite and gitops
342 stars 372 forks source link

How to reassign ports for a server? bind: address already in use #76

Open aleksey005 opened 4 years ago

aleksey005 commented 4 years ago

I get an error during installation, another cluster is running on the same server. How to reassign ports for a server?

FATA[0196] command "ignite run weaveworks/ignite-centos:firekube-pre3 --name=firekube-node0 --cpus=2 --memory=1GB --size=5GB --kernel-image=weaveworks/ignite-kernel:4.19.47 --ssh=/root/wks-quickstart-firekube/cluster-key.pub --ports=2222:22 --ports=6443:6443 --ports=30443:30443 --ports=30080:30080" exited with "time=\"2020-03-08T18:11:18+03:00\" level=info msg=\"Starting image import...\"\ntime=\"2020-03-08T18:12:23+03:00\" level=info msg=\"Imported OCI image \\\"weaveworks/ignite-centos:firekube-pre3\\\" (1.6 GB) to base image with UID \\\"91856a7cd06ce2d8\\\"\"\ntime=\"2020-03-08T18:12:23+03:00\" level=info msg=\"Docker image \\\"weaveworks/ignite-kernel:4.19.47\\\" not found locally, pulling...\"\ntime=\"2020-03-08T18:12:30+03:00\" level=info msg=\"Imported OCI image \\\"weaveworks/ignite-kernel:4.19.47\\\" (49.1 MB) to kernel image with UID \\\"2c3ed95150e84fcf\\\"\"\ntime=\"2020-03-08T18:12:32+03:00\" level=info msg=\"Created VM with ID \\\"21e267d932f6ca4f\\\" and name \\\"firekube-node0\\\"\"\ntime=\"2020-03-08T18:12:32+03:00\" level=info msg=\"Pulling image \\\"weaveworks/ignite:v0.5.5\\\"...\"\ntime=\"2020-03-08T18:12:48+03:00\" level=fatal msg=\"failed to start container for VM \\\"21e267d932f6ca4f\\\": Error response from daemon: driver failed programming external connectivity on endpoint ignite-21e267d932f6ca4f (fe04ef14dd6ae62d91fea283952b8e04230e812e42b634cad1a3df1c03d743e5): Error starting userland proxy: listen tcp 0.0.0.0:6443: bind: address already in use\"\n": exit status 1