-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minikube start
on M1 Mac failing with 'kubelet --version': exit status 255
#12274
Comments
Hey, |
Hi @rams3sh, thanks for reporting your issue with minikube! First recommendation, I'd suggest updating to the latest version of minikube (v1.23.2). Could you please try running |
Hi @rams3sh, we haven't heard back from you, do you still have this issue? I will close this issue for now but feel free to reopen when you feel ready to provide more information. |
Hi! I'm struggling with the same errors on macOS m1. I think that kubelet couldn't be installed on macos. is it related?
|
I was wrong. minikube doesn't start. I was confused with docker desktop k8s. |
I have this issue on m1 mac. |
I am also having the same issue. My host system is : Model Name: MacBook Pro And this is the complete output stderr: 💣 Error starting cluster: wait: /bin/bash -c "sudo env PATH="/var/lib/minikube/binaries/v1.22.3:$PATH" kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1 stderr: ╭───────────────────────────────────────────────────────────────────────────────────────────╮ ❌ Exiting due to GUEST_START: wait: /bin/bash -c "sudo env PATH="/var/lib/minikube/binaries/v1.22.3:$PATH" kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1 stderr: ╭───────────────────────────────────────────────────────────────────────────────────────────╮ |
minikube start
on M1 Mac failing with kubelet --version
minikube start
on M1 Mac failing with kubelet --version
minikube start
on M1 Mac failing with 'kubelet --version': exit status 255
I have the same issue for M1 Max Chip. Exactly as @vimalkansal. stderr: 💣 Error starting cluster: wait: /bin/bash -c "sudo env PATH="/var/lib/minikube/binaries/v1.22.3:$PATH" kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1 stderr: ╭───────────────────────────────────────────────────────────────────────────────────────────╮ ❌ Exiting due to GUEST_START: wait: /bin/bash -c "sudo env PATH="/var/lib/minikube/binaries/v1.22.3:$PATH" kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1 stderr: |
Thanks to @rsong0606 we found that we're downloading an amd64 version of kubelet, an arm64 binary would instead be looking for |
@sharifelgamal : the best fix would be to add the arch after the os in the cache. Same way that we fixed |
To anyone coming across this problem:
|
It is working now. Thanks @spowelljr
🔎 Verifying Kubernetes components... |
@spowelljr It works! Thanks 🙏 |
we could adde arch to file name in cache |
It works. Thanks. |
Thank you. I had this issue on Linux too and this solved it |
This solution worked for me. |
I also had to delete my minikube docker container and the docker image (these were for the old amd64 version of minikube that I was using before switching to arm64) |
I'm on minikube v1.33.1, and still facing this error I have tried and made sure that my Should I just give up on using minikube with docker driver? |
Hi @yousefhamza and anyone else that runs into this issue, this is resolved for future releases by #19205. The problem is you have an amd64 version of the kicbase in your Docker daemon. minikube uses this image to start the cluster, but downloads and uses arm64 binaries, causing an architecture mismatch, causing
If you run |
Thanks @spowelljr for the prompt response 🙏 I have tried this fix already, and now removed all images from my machine, and the command you provided returns
which is the correct architecture. However Upon closer inspection into Docker, I found that after running |
Are you using an amd64 version of the minikube binary @yousefhamza? Or is something on your machine configuring Docker to pull amd64 images? I am confused why an amd64 image is getting pulled... Could you run If you run the following what's the output?
|
My
running this returns I delete all images in docker, confirmed that docker is arm64, re-installed minikube, and I still have the same issue Below are some of the logs when I run logs``` I0716 23:50:15.268718 67496 out.go:177] 👍 Starting "minikube" primary control-plane node in "minikube" cluster 👍 Starting "minikube" primary control-plane node in "minikube" cluster I0716 23:50:15.268749 67496 cache.go:121] Beginning downloading kic base image for docker with docker I0716 23:50:15.268779 67496 out.go:177] 🚜 Pulling base image v0.0.44 ... 🚜 Pulling base image v0.0.44 ... I0716 23:50:15.268809 67496 preload.go:132] Checking if preload exists for k8s version v1.30.0 and runtime docker I0716 23:50:15.268846 67496 image.go:79] Checking for gcr.io/k8s-minikube/kicbase:v0.0.44@sha256:eb04641328b06c5c4a14f4348470e1046bbcf9c2cbc551486e343d3a49db557e in local docker daemon I0716 23:50:15.322665 67496 cache.go:149] Downloading gcr.io/k8s-minikube/kicbase:v0.0.44@sha256:eb04641328b06c5c4a14f4348470e1046bbcf9c2cbc551486e343d3a49db557e to local cache I0716 23:50:15.322856 67496 image.go:63] Checking for gcr.io/k8s-minikube/kicbase:v0.0.44@sha256:eb04641328b06c5c4a14f4348470e1046bbcf9c2cbc551486e343d3a49db557e in local cache directory I0716 23:50:15.322997 67496 image.go:118] Writing gcr.io/k8s-minikube/kicbase:v0.0.44@sha256:eb04641328b06c5c4a14f4348470e1046bbcf9c2cbc551486e343d3a49db557e to local cache I0716 23:50:15.465046 67496 preload.go:119] Found remote preload: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.30.0/preloaded-images-k8s-v18-v1.30.0-docker-overlay2-arm64.tar.lz4 I0716 23:50:15.465105 67496 cache.go:56] Caching tarball of preloaded images I0716 23:50:15.465288 67496 preload.go:132] Checking if preload exists for k8s version v1.30.0 and runtime docker I0716 23:50:15.465358 67496 out.go:177] 💾 Downloading Kubernetes v1.30.0 preload ... 💾 Downloading Kubernetes v1.30.0 preload ... I0716 23:50:15.465370 67496 preload.go:237] getting checksum for preloaded-images-k8s-v18-v1.30.0-docker-overlay2-arm64.tar.lz4 ... I0716 23:50:15.785194 67496 download.go:107] Downloading: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.30.0/preloaded-images-k8s-v18-v1.30.0-docker-overlay2-arm64.tar.lz4?checksum=md5:677034533668c42fec962cc52f9b3c42 -> /Users/yosefhamza/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.30.0-docker-overlay2-arm64.tar.lz4 > preloaded-images-k8s-v18-v1...: 319.81 MiB / 319.81 MiB 100.00% 4.08 Mi^[[1;2C > gcr.io/k8s-minikube/kicbase...: 262.03 MiB / 435.76 MiB 60.13% 3.54 MiBI0716 23:51:35.615149 67496 preload.go:248] saving checksum for preloaded-images-k8s-v18-v1.30.0-docker-overlay2-arm64.tar.lz4 ... I0716 23:51:35.615351 67496 preload.go:255] verifying checksum of /Users/yosefhamza/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.30.0-docker-overlay2-arm64.tar.lz4 ... > gcr.io/k8s-minikube/kicbase...: 264.63 MiB / 435.76 MiB 60.73% 3.59 MiBI0716 23:51:36.207412 67496 cache.go:59] Finished verifying existence of preloaded tar for v1.30.0 on docker I0716 23:51:36.207608 67496 profile.go:143] Saving config to /Users/yosefhamza/.minikube/profiles/minikube/config.json ... I0716 23:51:36.207629 67496 lock.go:35] WriteFile acquiring /Users/yosefhamza/.minikube/profiles/minikube/config.json: {Name:mkb86a173110334431e32d67c3a6d70e5e697929 Clock:{} Delay:500ms Timeout:1m0s Cancel:} > gcr.io/k8s-minikube/kicbase...: 435.76 MiB / 435.76 MiB 100.00% 4.18 Mi I0716 23:52:00.980190 67496 cache.go:152] successfully saved gcr.io/k8s-minikube/kicbase:v0.0.44@sha256:eb04641328b06c5c4a14f4348470e1046bbcf9c2cbc551486e343d3a49db557e as a tarball I0716 23:52:00.980212 67496 cache.go:162] Loading gcr.io/k8s-minikube/kicbase:v0.0.44@sha256:eb04641328b06c5c4a14f4348470e1046bbcf9c2cbc551486e343d3a49db557e from local cache I0716 23:53:28.235842 67496 cache.go:164] successfully loaded and using gcr.io/k8s-minikube/kicbase:v0.0.44@sha256:eb04641328b06c5c4a14f4348470e1046bbcf9c2cbc551486e343d3a49db557e from cached tarball I0716 23:53:28.235920 67496 cache.go:194] Successfully downloaded all kic artifacts I0716 23:53:28.236071 67496 start.go:360] acquireMachinesLock for minikube: {Name:mk91180e19378540b655fc9b0f5e674054c4ee32 Clock:{} Delay:500ms Timeout:10m0s Cancel:} I0716 23:53:28.236254 67496 start.go:364] duration metric: took 160.792µs to acquireMachinesLock for "minikube" I0716 23:53:28.236329 67496 start.go:93] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.44@sha256:eb04641328b06c5c4a14f4348470e1046bbcf9c2cbc551486e343d3a49db557e Memory:7792 CPUs:2 DiskSize:20000 Driver:docker HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:8443 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.30.0 ClusterName:minikube Namespace:default APIServerHAVIP: APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.30.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/Users:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath: SocketVMnetClientPath:/opt/homebrew/opt/socket_vmnet/bin/socket_vmnet_client SocketVMnetPath:/opt/homebrew/var/run/socket_vmnet StaticIP: SSHAuthSock: SSHAgentPID:0 GPUs: AutoPauseInterval:1m0s} &{Name: IP: Port:8443 KubernetesVersion:v1.30.0 ContainerRuntime:docker ControlPlane:true Worker:true} I0716 23:53:28.236695 67496 start.go:125] createHost starting for "" (driver="docker") I0716 23:53:28.237014 67496 out.go:204] 🔥 Creating docker container (CPUs=2, Memory=7792MB) ... 🔥 Creating docker container (CPUs=2, Memory=7792MB) ...| I0716 23:53:28.237331 67496 start.go:159] libmachine.API.Create for "minikube" (driver="docker") I0716 23:53:28.237363 67496 client.go:168] LocalClient.Create starting I0716 23:53:28.239167 67496 main.go:141] libmachine: Creating CA: /Users/yosefhamza/.minikube/certs/ca.pem / I0716 23:53:28.358628 67496 main.go:141] libmachine: Creating client certificate: /Users/yosefhamza/.minikube/certs/cert.pem I0716 23:53:28.393747 67496 cli_runner.go:164] Run: docker network inspect minikube --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}" W0716 23:53:28.438071 67496 cli_runner.go:211] docker network inspect minikube --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}" returned with exit code 1 I0716 23:53:28.438214 67496 network_create.go:281] running [docker network inspect minikube] to gather additional debugging logs... I0716 23:53:28.438229 67496 cli_runner.go:164] Run: docker network inspect minikube - W0716 23:53:28.482760 67496 cli_runner.go:211] docker network inspect minikube returned with exit code 1 I0716 23:53:28.482797 67496 network_create.go:284] error running [docker network inspect minikube]: docker network inspect minikube: exit status 1 stdout: []stderr: -- /stdout -- ** /stderr **
|
Thanks for the update and the information!
There's something wrong here, this is indicating that your Docker is pulling amd64 images by default and is essentially the root of the problem. If I run it on my M1 Mac I get:
I'm not sure if there's an option or config value you modified in Docker somewhere to cause that, but for other use cases outside of minikube you'd likely want to find the cause and resolve it. But back to the minikube front, this makes sense why it's happening given the above information. When you start minikube for the first time or after So like I mentioned above, if you're able to figure out why your Docker is pulling amd64 images by default and resolve that, it should also resolve this issue you're experiencing in minikube. Otherwise, you can download and use the binary I'll link below that has the https://storage.googleapis.com/minikube-builds/19205/minikube-darwin-arm64 |
@yousefhamza, I faced the same issue as well where the kicbase image was arm64, but
|
Thanks @spowelljr for explaining the issue 🙏 Thanks @revathyrams for the docker reference 🙏 , I found that it was |
Steps to reproduce the issue:
minikube start --driver=docker
Full output of failed command:
stderr:
Error: No such network: minikube
I0816 14:07:42.888801 202041 network_create.go:260] output of [docker network inspect minikube]: -- stdout --
[]
-- /stdout --
** stderr **
Error: No such network: minikube
** /stderr **
I0816 14:07:42.888853 202041 cli_runner.go:115] Run: docker network inspect bridge --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}"
I0816 14:07:42.922837 202041 network.go:288] reserving subnet 192.168.49.0 for 1m0s: &{mu:{state:0 sema:0} read:{v:{m:map[] amended:true}} dirty:map[192.168.49.0:0xc0000c7028] misses:0}
I0816 14:07:42.922863 202041 network.go:235] using free private subnet 192.168.49.0/24: &{IP:192.168.49.0 Netmask:255.255.255.0 Prefix:24 CIDR:192.168.49.0/24 Gateway:192.168.49.1 ClientMin:192.168.49.2 ClientMax:192.168.49.254 Broadcast:192.168.49.255 Interface:{IfaceName: IfaceIPv4: IfaceMTU:0 IfaceMAC:}}
I0816 14:07:42.922878 202041 network_create.go:106] attempt to create docker network minikube 192.168.49.0/24 with gateway 192.168.49.1 and MTU of 1500 ...
I0816 14:07:42.922912 202041 cli_runner.go:115] Run: docker network create --driver=bridge --subnet=192.168.49.0/24 --gateway=192.168.49.1 -o --ip-masq -o --icc -o com.docker.network.driver.mtu=1500 --label=created_by.minikube.sigs.k8s.io=true minikube
I0816 14:07:43.039016 202041 network_create.go:90] docker network minikube 192.168.49.0/24 created
I0816 14:07:43.039040 202041 kic.go:106] calculated static IP "192.168.49.2" for the "minikube" container
I0816 14:07:43.039085 202041 cli_runner.go:115] Run: docker ps -a --format {{.Names}}
I0816 14:07:43.083367 202041 cli_runner.go:115] Run: docker volume create minikube --label name.minikube.sigs.k8s.io=minikube --label created_by.minikube.sigs.k8s.io=true
I0816 14:07:43.124482 202041 oci.go:102] Successfully created a docker volume minikube
I0816 14:07:43.124534 202041 cli_runner.go:115] Run: docker run --rm --name minikube-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --entrypoint /usr/bin/test -v minikube:/var gcr.io/k8s-minikube/kicbase:v0.0.25@sha256:6f936e3443b95cd918d77623bf7b595653bb382766e280290a02b4a349e88b79 -d /var/lib
I0816 14:07:44.139895 202041 cli_runner.go:168] Completed: docker run --rm --name minikube-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --entrypoint /usr/bin/test -v minikube:/var gcr.io/k8s-minikube/kicbase:v0.0.25@sha256:6f936e3443b95cd918d77623bf7b595653bb382766e280290a02b4a349e88b79 -d /var/lib: (1.01533568s)
I0816 14:07:44.139907 202041 oci.go:106] Successfully prepared a docker volume minikube
W0816 14:07:44.139928 202041 oci.go:135] Your kernel does not support swap limit capabilities or the cgroup is not mounted.
W0816 14:07:44.139934 202041 oci.go:119] Your kernel does not support memory limit capabilities or the cgroup is not mounted.
I0816 14:07:44.139978 202041 cli_runner.go:115] Run: docker info --format "'{{json .SecurityOptions}}'"
I0816 14:07:44.140000 202041 preload.go:134] Checking if preload exists for k8s version v1.21.2 and runtime docker
I0816 14:07:44.140012 202041 kic.go:179] Starting extracting preloaded images to volume ...
I0816 14:07:44.140049 202041 cli_runner.go:115] Run: docker run --rm --entrypoint /usr/bin/tar -v /home/rseshadri/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v11-v1.21.2-docker-overlay2-amd64.tar.lz4:/preloaded.tar:ro -v minikube:/extractDir gcr.io/k8s-minikube/kicbase:v0.0.25@sha256:6f936e3443b95cd918d77623bf7b595653bb382766e280290a02b4a349e88b79 -I lz4 -xf /preloaded.tar -C /extractDir
I0816 14:07:44.202540 202041 cli_runner.go:115] Run: docker run -d -t --privileged --security-opt seccomp=unconfined --tmpfs /tmp --tmpfs /run -v /lib/modules:/lib/modules:ro --hostname minikube --name minikube --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --label role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s.io=minikube --network minikube --ip 192.168.49.2 --volume minikube:/var --security-opt apparmor=unconfined --cpus=2 -e container=docker --expose 8443 --publish=127.0.0.1::8443 --publish=127.0.0.1::22 --publish=127.0.0.1::2376 --publish=127.0.0.1::5000 --publish=127.0.0.1::32443 gcr.io/k8s-minikube/kicbase:v0.0.25@sha256:6f936e3443b95cd918d77623bf7b595653bb382766e280290a02b4a349e88b79
I0816 14:07:44.920110 202041 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Running}}
I0816 14:07:44.979887 202041 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Status}}
I0816 14:07:45.054012 202041 cli_runner.go:115] Run: docker exec minikube stat /var/lib/dpkg/alternatives/iptables
I0816 14:07:45.258524 202041 oci.go:278] the created container "minikube" has a running status.
I0816 14:07:45.258546 202041 kic.go:210] Creating ssh key for kic: /home/rseshadri/.minikube/machines/minikube/id_rsa...
I0816 14:07:45.316482 202041 kic_runner.go:188] docker (temp): /home/rseshadri/.minikube/machines/minikube/id_rsa.pub --> /home/docker/.ssh/authorized_keys (381 bytes)
I0816 14:07:45.541289 202041 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Status}}
I0816 14:07:45.626588 202041 kic_runner.go:94] Run: chown docker:docker /home/docker/.ssh/authorized_keys
I0816 14:07:45.626598 202041 kic_runner.go:115] Args: [docker exec --privileged minikube chown docker:docker /home/docker/.ssh/authorized_keys]
I0816 14:07:54.673465 202041 cli_runner.go:168] Completed: docker run --rm --entrypoint /usr/bin/tar -v /home/rseshadri/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v11-v1.21.2-docker-overlay2-amd64.tar.lz4:/preloaded.tar:ro -v minikube:/extractDir gcr.io/k8s-minikube/kicbase:v0.0.25@sha256:6f936e3443b95cd918d77623bf7b595653bb382766e280290a02b4a349e88b79 -I lz4 -xf /preloaded.tar -C /extractDir: (10.533332284s)
I0816 14:07:54.673497 202041 kic.go:188] duration metric: took 10.533478 seconds to extract preloaded images to volume
I0816 14:07:54.673648 202041 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Status}}
I0816 14:07:54.728192 202041 machine.go:88] provisioning docker machine ...
I0816 14:07:54.728223 202041 ubuntu.go:169] provisioning hostname "minikube"
I0816 14:07:54.728269 202041 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0816 14:07:54.771078 202041 main.go:130] libmachine: Using SSH client type: native
I0816 14:07:54.771223 202041 main.go:130] libmachine: &{{{ 0 [] [] []} docker [0x8022e0] 0x8022a0 [] 0s} 127.0.0.1 49177 }
I0816 14:07:54.771231 202041 main.go:130] libmachine: About to run SSH command:
sudo hostname minikube && echo "minikube" | sudo tee /etc/hostname
I0816 14:07:55.025683 202041 main.go:130] libmachine: SSH cmd err, output: : minikube
I0816 14:07:55.025731 202041 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0816 14:07:55.073434 202041 main.go:130] libmachine: Using SSH client type: native
I0816 14:07:55.073550 202041 main.go:130] libmachine: &{{{ 0 [] [] []} docker [0x8022e0] 0x8022a0 [] 0s} 127.0.0.1 49177 }
I0816 14:07:55.073561 202041 main.go:130] libmachine: About to run SSH command:
I0816 14:07:55.242160 202041 main.go:130] libmachine: SSH cmd err, output: :
I0816 14:07:55.242175 202041 ubuntu.go:175] set auth options {CertDir:/home/rseshadri/.minikube CaCertPath:/home/rseshadri/.minikube/certs/ca.pem CaPrivateKeyPath:/home/rseshadri/.minikube/certs/ca-key.pem CaCertRemotePath:/etc/docker/ca.pem ServerCertPath:/home/rseshadri/.minikube/machines/server.pem ServerKeyPath:/home/rseshadri/.minikube/machines/server-key.pem ClientKeyPath:/home/rseshadri/.minikube/certs/key.pem ServerCertRemotePath:/etc/docker/server.pem ServerKeyRemotePath:/etc/docker/server-key.pem ClientCertPath:/home/rseshadri/.minikube/certs/cert.pem ServerCertSANs:[] StorePath:/home/rseshadri/.minikube}
I0816 14:07:55.242186 202041 ubuntu.go:177] setting up certificates
I0816 14:07:55.242192 202041 provision.go:83] configureAuth start
I0816 14:07:55.242236 202041 cli_runner.go:115] Run: docker container inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}" minikube
I0816 14:07:55.296162 202041 provision.go:137] copyHostCerts
I0816 14:07:55.296205 202041 exec_runner.go:145] found /home/rseshadri/.minikube/key.pem, removing ...
I0816 14:07:55.296209 202041 exec_runner.go:190] rm: /home/rseshadri/.minikube/key.pem
I0816 14:07:55.296261 202041 exec_runner.go:152] cp: /home/rseshadri/.minikube/certs/key.pem --> /home/rseshadri/.minikube/key.pem (1675 bytes)
I0816 14:07:55.296327 202041 exec_runner.go:145] found /home/rseshadri/.minikube/ca.pem, removing ...
I0816 14:07:55.296331 202041 exec_runner.go:190] rm: /home/rseshadri/.minikube/ca.pem
I0816 14:07:55.296354 202041 exec_runner.go:152] cp: /home/rseshadri/.minikube/certs/ca.pem --> /home/rseshadri/.minikube/ca.pem (1086 bytes)
I0816 14:07:55.296404 202041 exec_runner.go:145] found /home/rseshadri/.minikube/cert.pem, removing ...
I0816 14:07:55.296407 202041 exec_runner.go:190] rm: /home/rseshadri/.minikube/cert.pem
I0816 14:07:55.296428 202041 exec_runner.go:152] cp: /home/rseshadri/.minikube/certs/cert.pem --> /home/rseshadri/.minikube/cert.pem (1131 bytes)
I0816 14:07:55.296468 202041 provision.go:111] generating server cert: /home/rseshadri/.minikube/machines/server.pem ca-key=/home/rseshadri/.minikube/certs/ca.pem private-key=/home/rseshadri/.minikube/certs/ca-key.pem org=rseshadri.minikube san=[192.168.49.2 127.0.0.1 localhost 127.0.0.1 minikube minikube]
I0816 14:07:55.463290 202041 provision.go:171] copyRemoteCerts
I0816 14:07:55.463363 202041 ssh_runner.go:149] Run: sudo mkdir -p /etc/docker /etc/docker /etc/docker
I0816 14:07:55.463407 202041 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0816 14:07:55.510555 202041 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49177 SSHKeyPath:/home/rseshadri/.minikube/machines/minikube/id_rsa Username:docker}
I0816 14:07:55.647288 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/certs/ca.pem --> /etc/docker/ca.pem (1086 bytes)
I0816 14:07:55.776337 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/machines/server.pem --> /etc/docker/server.pem (1208 bytes)
I0816 14:07:55.874150 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/machines/server-key.pem --> /etc/docker/server-key.pem (1679 bytes)
I0816 14:07:55.971601 202041 provision.go:86] duration metric: configureAuth took 729.401524ms
I0816 14:07:55.971613 202041 ubuntu.go:193] setting minikube options for container-runtime
I0816 14:07:55.971750 202041 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0816 14:07:56.006771 202041 main.go:130] libmachine: Using SSH client type: native
I0816 14:07:56.006887 202041 main.go:130] libmachine: &{{{ 0 [] [] []} docker [0x8022e0] 0x8022a0 [] 0s} 127.0.0.1 49177 }
I0816 14:07:56.006894 202041 main.go:130] libmachine: About to run SSH command:
df --output=fstype / | tail -n 1
I0816 14:07:56.260434 202041 main.go:130] libmachine: SSH cmd err, output: : overlay
I0816 14:07:56.260456 202041 ubuntu.go:71] root file system type: overlay
I0816 14:07:56.260885 202041 provision.go:308] Updating docker unit: /lib/systemd/system/docker.service ...
I0816 14:07:56.260997 202041 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0816 14:07:56.320806 202041 main.go:130] libmachine: Using SSH client type: native
I0816 14:07:56.320953 202041 main.go:130] libmachine: &{{{ 0 [] [] []} docker [0x8022e0] 0x8022a0 [] 0s} 127.0.0.1 49177 }
I0816 14:07:56.321029 202041 main.go:130] libmachine: About to run SSH command:
sudo mkdir -p /lib/systemd/system && printf %s "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60
[Service]
Type=notify
Restart=on-failure
This file is a systemd drop-in unit that inherits from the base dockerd configuration.
The base configuration already specifies an 'ExecStart=...' command. The first directive
here is to clear out that command inherited from the base configuration. Without this,
the command from the base configuration and the command specified here are treated as
a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
will catch this invalid input and refuse to start the service with an error like:
Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP $MAINPID
Having non-zero Limit*s causes performance problems due to accounting overhead
in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
Uncomment TasksMax if your systemd version supports it.
Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0
set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
kill only the docker process, not all processes in the cgroup
KillMode=process
[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
I0816 14:07:56.596635 202041 main.go:130] libmachine: SSH cmd err, output: : [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60
[Service]
Type=notify
Restart=on-failure
This file is a systemd drop-in unit that inherits from the base dockerd configuration.
The base configuration already specifies an 'ExecStart=...' command. The first directive
here is to clear out that command inherited from the base configuration. Without this,
the command from the base configuration and the command specified here are treated as
a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
will catch this invalid input and refuse to start the service with an error like:
Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP $MAINPID
Having non-zero Limit*s causes performance problems due to accounting overhead
in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
Uncomment TasksMax if your systemd version supports it.
Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0
set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
kill only the docker process, not all processes in the cgroup
KillMode=process
[Install]
WantedBy=multi-user.target
I0816 14:07:56.596704 202041 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0816 14:07:56.644217 202041 main.go:130] libmachine: Using SSH client type: native
I0816 14:07:56.644370 202041 main.go:130] libmachine: &{{{ 0 [] [] []} docker [0x8022e0] 0x8022a0 [] 0s} 127.0.0.1 49177 }
I0816 14:07:56.644386 202041 main.go:130] libmachine: About to run SSH command:
sudo diff -u /lib/systemd/system/docker.service /lib/systemd/system/docker.service.new || { sudo mv /lib/systemd/system/docker.service.new /lib/systemd/system/docker.service; sudo systemctl -f daemon-reload && sudo systemctl -f enable docker && sudo systemctl -f restart docker; }
I0816 14:07:59.417023 202041 main.go:130] libmachine: SSH cmd err, output: : --- /lib/systemd/system/docker.service 2021-06-02 11:54:50.000000000 +0000
+++ /lib/systemd/system/docker.service.new 2021-08-16 08:37:56.594056366 +0000
@@ -1,30 +1,32 @@
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
+BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
-Requires=docker.socket containerd.service
+Requires=docker.socket
+StartLimitBurst=3
+StartLimitIntervalSec=60
[Service]
Type=notify
-# the default is not to use systemd for cgroups because the delegate issues still
-# exists and systemd currently does not support the cgroup feature set required
-# for containers run by docker
-ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
-ExecReload=/bin/kill -s HUP $MAINPID
-TimeoutSec=0
-RestartSec=2
-Restart=always
-# Note that StartLimit* options were moved from "Service" to "Unit" in systemd 229.
-# Both the old, and new location are accepted by systemd 229 and up, so using the old location
-# to make them work for either version of systemd.
-StartLimitBurst=3
+Restart=on-failure
-# Note that StartLimitInterval was renamed to StartLimitIntervalSec in systemd 230.
-# Both the old, and new name are accepted by systemd 230 and up, so using the old name to make
-# this option work for either version of systemd.
-StartLimitInterval=60s
+
+
+# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
+# The base configuration already specifies an 'ExecStart=...' command. The first directive
+# here is to clear out that command inherited from the base configuration. Without this,
+# the command from the base configuration and the command specified here are treated as
+# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
+# will catch this invalid input and refuse to start the service with an error like:
+# Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
+
+# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
+# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
+ExecStart=
+ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
+ExecReload=/bin/kill -s HUP $MAINPID
Having non-zero Limit*s causes performance problems due to accounting overhead
in the kernel. We recommend using cgroups to do container-local accounting.
@@ -32,16 +34,16 @@
LimitNPROC=infinity
LimitCORE=infinity
-# Comment TasksMax if your systemd version does not support it.
-# Only systemd 226 and above support this option.
+# Uncomment TasksMax if your systemd version supports it.
+# Only systemd 226 and above support this version.
TasksMax=infinity
+TimeoutStartSec=0
set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
kill only the docker process, not all processes in the cgroup
KillMode=process
-OOMScoreAdjust=-500
[Install]
WantedBy=multi-user.target
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
I0816 14:07:59.417063 202041 machine.go:91] provisioned docker machine in 4.688859388s$'\thost.minikube.internal$ ' "/etc/hosts"; echo "192.168.49.1 host.minikube.internal"; } > /tmp/h.$$; sudo cp /tmp/h.$$ "/etc/hosts""
I0816 14:07:59.417070 202041 client.go:171] LocalClient.Create took 16.598515625s
I0816 14:07:59.417078 202041 start.go:168] duration metric: libmachine.API.Create for "minikube" took 16.598540305s
I0816 14:07:59.417082 202041 start.go:267] post-start starting for "minikube" (driver="docker")
I0816 14:07:59.417085 202041 start.go:277] creating required directories: [/etc/kubernetes/addons /etc/kubernetes/manifests /var/tmp/minikube /var/lib/minikube /var/lib/minikube/certs /var/lib/minikube/images /var/lib/minikube/binaries /tmp/gvisor /usr/share/ca-certificates /etc/ssl/certs]
I0816 14:07:59.417136 202041 ssh_runner.go:149] Run: sudo mkdir -p /etc/kubernetes/addons /etc/kubernetes/manifests /var/tmp/minikube /var/lib/minikube /var/lib/minikube/certs /var/lib/minikube/images /var/lib/minikube/binaries /tmp/gvisor /usr/share/ca-certificates /etc/ssl/certs
I0816 14:07:59.417170 202041 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0816 14:07:59.459843 202041 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49177 SSHKeyPath:/home/rseshadri/.minikube/machines/minikube/id_rsa Username:docker}
I0816 14:07:59.629652 202041 ssh_runner.go:149] Run: cat /etc/os-release
I0816 14:07:59.654861 202041 main.go:130] libmachine: Couldn't set key PRIVACY_POLICY_URL, no corresponding struct field found
I0816 14:07:59.654886 202041 main.go:130] libmachine: Couldn't set key VERSION_CODENAME, no corresponding struct field found
I0816 14:07:59.654892 202041 main.go:130] libmachine: Couldn't set key UBUNTU_CODENAME, no corresponding struct field found
I0816 14:07:59.654896 202041 info.go:137] Remote host: Ubuntu 20.04.2 LTS
I0816 14:07:59.654902 202041 filesync.go:126] Scanning /home/rseshadri/.minikube/addons for local assets ...
I0816 14:07:59.654940 202041 filesync.go:126] Scanning /home/rseshadri/.minikube/files for local assets ...
I0816 14:07:59.654966 202041 start.go:270] post-start completed in 237.879908ms
I0816 14:07:59.655225 202041 cli_runner.go:115] Run: docker container inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}" minikube
I0816 14:07:59.689534 202041 profile.go:148] Saving config to /home/rseshadri/.minikube/profiles/minikube/config.json ...
I0816 14:07:59.689720 202041 ssh_runner.go:149] Run: sh -c "df -h /var | awk 'NR==2{print $5}'"
I0816 14:07:59.689745 202041 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0816 14:07:59.724134 202041 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49177 SSHKeyPath:/home/rseshadri/.minikube/machines/minikube/id_rsa Username:docker}
I0816 14:07:59.867093 202041 start.go:129] duration metric: createHost completed in 17.052340655s
I0816 14:07:59.867103 202041 start.go:80] releasing machines lock for "minikube", held for 17.052415539s
I0816 14:07:59.867174 202041 cli_runner.go:115] Run: docker container inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}" minikube
I0816 14:07:59.900775 202041 ssh_runner.go:149] Run: systemctl --version
I0816 14:07:59.900807 202041 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0816 14:07:59.900853 202041 ssh_runner.go:149] Run: curl -sS -m 2 https://k8s.gcr.io/
I0816 14:07:59.900892 202041 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0816 14:07:59.987285 202041 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49177 SSHKeyPath:/home/rseshadri/.minikube/machines/minikube/id_rsa Username:docker}
I0816 14:07:59.987307 202041 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49177 SSHKeyPath:/home/rseshadri/.minikube/machines/minikube/id_rsa Username:docker}
I0816 14:08:00.110564 202041 ssh_runner.go:149] Run: sudo systemctl is-active --quiet service containerd
I0816 14:08:00.519782 202041 ssh_runner.go:149] Run: sudo systemctl cat docker.service
I0816 14:08:00.567551 202041 cruntime.go:249] skipping containerd shutdown because we are bound to it
I0816 14:08:00.567616 202041 ssh_runner.go:149] Run: sudo systemctl is-active --quiet service crio
I0816 14:08:00.607289 202041 ssh_runner.go:149] Run: /bin/bash -c "sudo mkdir -p /etc && printf %s "runtime-endpoint: unix:///var/run/dockershim.sock
image-endpoint: unix:///var/run/dockershim.sock
" | sudo tee /etc/crictl.yaml"
I0816 14:08:00.686613 202041 ssh_runner.go:149] Run: sudo systemctl unmask docker.service
I0816 14:08:00.929231 202041 ssh_runner.go:149] Run: sudo systemctl enable docker.socket
I0816 14:08:01.199685 202041 ssh_runner.go:149] Run: sudo systemctl cat docker.service
I0816 14:08:01.246120 202041 ssh_runner.go:149] Run: sudo systemctl daemon-reload
I0816 14:08:01.525694 202041 ssh_runner.go:149] Run: sudo systemctl start docker
I0816 14:08:01.578797 202041 ssh_runner.go:149] Run: docker version --format {{.Server.Version}}
I0816 14:08:01.666758 202041 ssh_runner.go:149] Run: docker version --format {{.Server.Version}}
I0816 14:08:01.759831 202041 out.go:192] 🐳 Preparing Kubernetes v1.21.2 on Docker 20.10.7 ...
I0816 14:08:01.760032 202041 cli_runner.go:115] Run: docker network inspect minikube --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}"
I0816 14:08:01.818969 202041 ssh_runner.go:149] Run: grep 192.168.49.1 host.minikube.internal$ /etc/hosts
I0816 14:08:01.842549 202041 ssh_runner.go:149] Run: /bin/bash -c "{ grep -v
I0816 14:08:01.906115 202041 preload.go:134] Checking if preload exists for k8s version v1.21.2 and runtime docker
I0816 14:08:01.906156 202041 ssh_runner.go:149] Run: docker images --format {{.Repository}}:{{.Tag}}
I0816 14:08:01.962834 202041 docker.go:535] Got preloaded images: -- stdout --
k8s.gcr.io/kube-apiserver:v1.21.2
k8s.gcr.io/kube-proxy:v1.21.2
k8s.gcr.io/kube-scheduler:v1.21.2
k8s.gcr.io/kube-controller-manager:v1.21.2
gcr.io/k8s-minikube/storage-provisioner:v5
k8s.gcr.io/pause:3.4.1
kubernetesui/dashboard:v2.1.0
k8s.gcr.io/coredns/coredns:v1.8.0
k8s.gcr.io/etcd:3.4.13-0
kubernetesui/metrics-scraper:v1.0.4
-- /stdout --
I0816 14:08:01.962844 202041 docker.go:466] Images already preloaded, skipping extraction
I0816 14:08:01.962881 202041 ssh_runner.go:149] Run: docker images --format {{.Repository}}:{{.Tag}}
I0816 14:08:02.020272 202041 docker.go:535] Got preloaded images: -- stdout --
k8s.gcr.io/kube-apiserver:v1.21.2
k8s.gcr.io/kube-controller-manager:v1.21.2
k8s.gcr.io/kube-scheduler:v1.21.2
k8s.gcr.io/kube-proxy:v1.21.2
gcr.io/k8s-minikube/storage-provisioner:v5
k8s.gcr.io/pause:3.4.1
kubernetesui/dashboard:v2.1.0
k8s.gcr.io/coredns/coredns:v1.8.0
k8s.gcr.io/etcd:3.4.13-0
kubernetesui/metrics-scraper:v1.0.4
-- /stdout --
I0816 14:08:02.020282 202041 cache_images.go:74] Images are preloaded, skipping loading
I0816 14:08:02.020320 202041 ssh_runner.go:149] Run: docker info --format {{.CgroupDriver}}
I0816 14:08:02.155333 202041 cni.go:93] Creating CNI manager for ""
I0816 14:08:02.155342 202041 cni.go:167] CNI unnecessary in this configuration, recommending no CNI
I0816 14:08:02.155347 202041 kubeadm.go:87] Using pod CIDR: 10.244.0.0/16
I0816 14:08:02.155356 202041 kubeadm.go:153] kubeadm options: {CertDir:/var/lib/minikube/certs ServiceCIDR:10.96.0.0/12 PodSubnet:10.244.0.0/16 AdvertiseAddress:192.168.49.2 APIServerPort:8443 KubernetesVersion:v1.21.2 EtcdDataDir:/var/lib/minikube/etcd EtcdExtraArgs:map[] ClusterName:minikube NodeName:minikube DNSDomain:cluster.local CRISocket:/var/run/dockershim.sock ImageRepository: ComponentOptions:[{Component:apiServer ExtraArgs:map[enable-admission-plugins:NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota] Pairs:map[certSANs:["127.0.0.1", "localhost", "192.168.49.2"]]} {Component:controllerManager ExtraArgs:map[allocate-node-cidrs:true leader-elect:false] Pairs:map[]} {Component:scheduler ExtraArgs:map[leader-elect:false] Pairs:map[]}] FeatureArgs:map[] NoTaintMaster:true NodeIP:192.168.49.2 CgroupDriver:cgroupfs ClientCAFile:/var/lib/minikube/certs/ca.crt StaticPodPath:/etc/kubernetes/manifests ControlPlaneAddress:control-plane.minikube.internal KubeProxyOptions:map[]}
I0816 14:08:02.155440 202041 kubeadm.go:157] kubeadm config:
apiVersion: kubeadm.k8s.io/v1beta2
kind: InitConfiguration
localAPIEndpoint:
advertiseAddress: 192.168.49.2
bindPort: 8443
bootstrapTokens:
ttl: 24h0m0s
usages:
nodeRegistration:
criSocket: /var/run/dockershim.sock
name: "minikube"
kubeletExtraArgs:
node-ip: 192.168.49.2
taints: []
apiVersion: kubeadm.k8s.io/v1beta2
kind: ClusterConfiguration
apiServer:
certSANs: ["127.0.0.1", "localhost", "192.168.49.2"]
extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
controllerManager:
extraArgs:
allocate-node-cidrs: "true"
leader-elect: "false"
scheduler:
extraArgs:
leader-elect: "false"
certificatesDir: /var/lib/minikube/certs
clusterName: mk
controlPlaneEndpoint: control-plane.minikube.internal:8443
dns:
type: CoreDNS
etcd:
local:
dataDir: /var/lib/minikube/etcd
extraArgs:
proxy-refresh-interval: "70000"
kubernetesVersion: v1.21.2
networking:
dnsDomain: cluster.local
podSubnet: "10.244.0.0/16"
serviceSubnet: 10.96.0.0/12
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
authentication:
x509:
clientCAFile: /var/lib/minikube/certs/ca.crt
cgroupDriver: cgroupfs
clusterDomain: "cluster.local"
disable disk resource management by default
imageGCHighThresholdPercent: 100
evictionHard:
nodefs.available: "0%"
nodefs.inodesFree: "0%"
imagefs.available: "0%"
failSwapOn: false
staticPodPath: /etc/kubernetes/manifests
apiVersion: kubeproxy.config.k8s.io/v1alpha1
kind: KubeProxyConfiguration
clusterCIDR: "10.244.0.0/16"
metricsBindAddress: 0.0.0.0:10249
conntrack:
maxPerCore: 0
I0816 14:08:02.155498 202041 kubeadm.go:909] kubelet [Unit]
Wants=docker.socket
[Service]
ExecStart=
ExecStart=/var/lib/minikube/binaries/v1.21.2/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --config=/var/lib/kubelet/config.yaml --container-runtime=docker --hostname-override=minikube --kubeconfig=/etc/kubernetes/kubelet.conf --node-ip=192.168.49.2
[Install]$'\tcontrol-plane.minikube.internal$ ' "/etc/hosts"; echo "192.168.49.2 control-plane.minikube.internal"; } > /tmp/h.$$; sudo cp /tmp/h.$$ "/etc/hosts""
config:
{KubernetesVersion:v1.21.2 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:}
I0816 14:08:02.155535 202041 ssh_runner.go:149] Run: sudo ls /var/lib/minikube/binaries/v1.21.2
I0816 14:08:02.196445 202041 binaries.go:44] Found k8s binaries, skipping transfer
I0816 14:08:02.196483 202041 ssh_runner.go:149] Run: sudo mkdir -p /etc/systemd/system/kubelet.service.d /lib/systemd/system /var/tmp/minikube
I0816 14:08:02.233094 202041 ssh_runner.go:316] scp memory --> /etc/systemd/system/kubelet.service.d/10-kubeadm.conf (334 bytes)
I0816 14:08:02.301884 202041 ssh_runner.go:316] scp memory --> /lib/systemd/system/kubelet.service (352 bytes)
I0816 14:08:02.371809 202041 ssh_runner.go:316] scp memory --> /var/tmp/minikube/kubeadm.yaml.new (1867 bytes)
I0816 14:08:02.435891 202041 ssh_runner.go:149] Run: grep 192.168.49.2 control-plane.minikube.internal$ /etc/hosts
I0816 14:08:02.459067 202041 ssh_runner.go:149] Run: /bin/bash -c "{ grep -v
I0816 14:08:02.522363 202041 certs.go:52] Setting up /home/rseshadri/.minikube/profiles/minikube for IP: 192.168.49.2
I0816 14:08:02.522397 202041 certs.go:179] skipping minikubeCA CA generation: /home/rseshadri/.minikube/ca.key
I0816 14:08:02.522412 202041 certs.go:179] skipping proxyClientCA CA generation: /home/rseshadri/.minikube/proxy-client-ca.key
I0816 14:08:02.522446 202041 certs.go:294] generating minikube-user signed cert: /home/rseshadri/.minikube/profiles/minikube/client.key
I0816 14:08:02.522450 202041 crypto.go:69] Generating cert /home/rseshadri/.minikube/profiles/minikube/client.crt with IP's: []
I0816 14:08:02.742439 202041 crypto.go:157] Writing cert to /home/rseshadri/.minikube/profiles/minikube/client.crt ...
I0816 14:08:02.742477 202041 lock.go:36] WriteFile acquiring /home/rseshadri/.minikube/profiles/minikube/client.crt: {Name:mka25b8dfe6da1dd652fd59311787990fd05efd3 Clock:{} Delay:500ms Timeout:1m0s Cancel:}
I0816 14:08:02.742670 202041 crypto.go:165] Writing key to /home/rseshadri/.minikube/profiles/minikube/client.key ...
I0816 14:08:02.742681 202041 lock.go:36] WriteFile acquiring /home/rseshadri/.minikube/profiles/minikube/client.key: {Name:mk7e9ceedb068f2b0d0843bed28e8546418acedb Clock:{} Delay:500ms Timeout:1m0s Cancel:}
I0816 14:08:02.742780 202041 certs.go:294] generating minikube signed cert: /home/rseshadri/.minikube/profiles/minikube/apiserver.key.dd3b5fb2
I0816 14:08:02.742784 202041 crypto.go:69] Generating cert /home/rseshadri/.minikube/profiles/minikube/apiserver.crt.dd3b5fb2 with IP's: [192.168.49.2 10.96.0.1 127.0.0.1 10.0.0.1]
I0816 14:08:02.863474 202041 crypto.go:157] Writing cert to /home/rseshadri/.minikube/profiles/minikube/apiserver.crt.dd3b5fb2 ...
I0816 14:08:02.863484 202041 lock.go:36] WriteFile acquiring /home/rseshadri/.minikube/profiles/minikube/apiserver.crt.dd3b5fb2: {Name:mk60d063bec22fa616627410348563d568dcc50f Clock:{} Delay:500ms Timeout:1m0s Cancel:}
I0816 14:08:02.863601 202041 crypto.go:165] Writing key to /home/rseshadri/.minikube/profiles/minikube/apiserver.key.dd3b5fb2 ...
I0816 14:08:02.863607 202041 lock.go:36] WriteFile acquiring /home/rseshadri/.minikube/profiles/minikube/apiserver.key.dd3b5fb2: {Name:mkb5799fb1f22e98e82cb75c6852708ea2b88868 Clock:{} Delay:500ms Timeout:1m0s Cancel:}
I0816 14:08:02.863663 202041 certs.go:305] copying /home/rseshadri/.minikube/profiles/minikube/apiserver.crt.dd3b5fb2 -> /home/rseshadri/.minikube/profiles/minikube/apiserver.crt
I0816 14:08:02.863710 202041 certs.go:309] copying /home/rseshadri/.minikube/profiles/minikube/apiserver.key.dd3b5fb2 -> /home/rseshadri/.minikube/profiles/minikube/apiserver.key
I0816 14:08:02.863750 202041 certs.go:294] generating aggregator signed cert: /home/rseshadri/.minikube/profiles/minikube/proxy-client.key
I0816 14:08:02.863753 202041 crypto.go:69] Generating cert /home/rseshadri/.minikube/profiles/minikube/proxy-client.crt with IP's: []
I0816 14:08:02.957187 202041 crypto.go:157] Writing cert to /home/rseshadri/.minikube/profiles/minikube/proxy-client.crt ...
I0816 14:08:02.957197 202041 lock.go:36] WriteFile acquiring /home/rseshadri/.minikube/profiles/minikube/proxy-client.crt: {Name:mke4e49b3d8ccd8d8b01db8f87825bbff4624c24 Clock:{} Delay:500ms Timeout:1m0s Cancel:}
I0816 14:08:02.957306 202041 crypto.go:165] Writing key to /home/rseshadri/.minikube/profiles/minikube/proxy-client.key ...
I0816 14:08:02.957311 202041 lock.go:36] WriteFile acquiring /home/rseshadri/.minikube/profiles/minikube/proxy-client.key: {Name:mk8edbe22e8858e7690765fc132af2735d30dccb Clock:{} Delay:500ms Timeout:1m0s Cancel:}
I0816 14:08:02.957439 202041 certs.go:369] found cert: /home/rseshadri/.minikube/certs/home/rseshadri/.minikube/certs/ca-key.pem (1675 bytes)
I0816 14:08:02.957464 202041 certs.go:369] found cert: /home/rseshadri/.minikube/certs/home/rseshadri/.minikube/certs/ca.pem (1086 bytes)
I0816 14:08:02.957482 202041 certs.go:369] found cert: /home/rseshadri/.minikube/certs/home/rseshadri/.minikube/certs/cert.pem (1131 bytes)
I0816 14:08:02.957500 202041 certs.go:369] found cert: /home/rseshadri/.minikube/certs/home/rseshadri/.minikube/certs/key.pem (1675 bytes)
I0816 14:08:02.958184 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/profiles/minikube/apiserver.crt --> /var/lib/minikube/certs/apiserver.crt (1399 bytes)
I0816 14:08:03.045735 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/profiles/minikube/apiserver.key --> /var/lib/minikube/certs/apiserver.key (1675 bytes)
I0816 14:08:03.135713 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/profiles/minikube/proxy-client.crt --> /var/lib/minikube/certs/proxy-client.crt (1147 bytes)
I0816 14:08:03.226138 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/profiles/minikube/proxy-client.key --> /var/lib/minikube/certs/proxy-client.key (1679 bytes)
I0816 14:08:03.314632 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/ca.crt --> /var/lib/minikube/certs/ca.crt (1111 bytes)
I0816 14:08:03.401961 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/ca.key --> /var/lib/minikube/certs/ca.key (1679 bytes)
I0816 14:08:03.494163 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/proxy-client-ca.crt --> /var/lib/minikube/certs/proxy-client-ca.crt (1119 bytes)
I0816 14:08:03.591570 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/proxy-client-ca.key --> /var/lib/minikube/certs/proxy-client-ca.key (1679 bytes)
I0816 14:08:03.680700 202041 ssh_runner.go:316] scp /home/rseshadri/.minikube/ca.crt --> /usr/share/ca-certificates/minikubeCA.pem (1111 bytes)
I0816 14:08:03.774548 202041 ssh_runner.go:316] scp memory --> /var/lib/minikube/kubeconfig (738 bytes)
I0816 14:08:03.843380 202041 ssh_runner.go:149] Run: openssl version
I0816 14:08:03.867972 202041 ssh_runner.go:149] Run: sudo /bin/bash -c "test -s /usr/share/ca-certificates/minikubeCA.pem && ln -fs /usr/share/ca-certificates/minikubeCA.pem /etc/ssl/certs/minikubeCA.pem"
I0816 14:08:03.917171 202041 ssh_runner.go:149] Run: ls -la /usr/share/ca-certificates/minikubeCA.pem
I0816 14:08:03.940902 202041 certs.go:410] hashing: -rw-r--r-- 1 root root 1111 Jul 8 04:17 /usr/share/ca-certificates/minikubeCA.pem
I0816 14:08:03.940944 202041 ssh_runner.go:149] Run: openssl x509 -hash -noout -in /usr/share/ca-certificates/minikubeCA.pem
I0816 14:08:03.969153 202041 ssh_runner.go:149] Run: sudo /bin/bash -c "test -L /etc/ssl/certs/b5213941.0 || ln -fs /etc/ssl/certs/minikubeCA.pem /etc/ssl/certs/b5213941.0"
I0816 14:08:04.018313 202041 kubeadm.go:390] StartCluster: {Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.25@sha256:6f936e3443b95cd918d77623bf7b595653bb382766e280290a02b4a349e88b79 Memory:3900 CPUs:2 DiskSize:20000 VMDriver: Driver:docker HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.21.2 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP:192.168.49.2 Port:8443 KubernetesVersion:v1.21.2 ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false}
I0816 14:08:04.018385 202041 ssh_runner.go:149] Run: docker ps --filter status=paused --filter=name=k8s_.*(kube-system) --format={{.ID}}
I0816 14:08:04.070214 202041 ssh_runner.go:149] Run: sudo ls /var/lib/kubelet/kubeadm-flags.env /var/lib/kubelet/config.yaml /var/lib/minikube/etcd
I0816 14:08:04.110014 202041 ssh_runner.go:149] Run: sudo cp /var/tmp/minikube/kubeadm.yaml.new /var/tmp/minikube/kubeadm.yaml
I0816 14:08:04.147255 202041 kubeadm.go:220] ignoring SystemVerification for kubeadm because of docker driver
I0816 14:08:04.147306 202041 ssh_runner.go:149] Run: sudo ls -la /etc/kubernetes/admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf
I0816 14:08:04.183312 202041 kubeadm.go:151] config check failed, skipping stale config cleanup: sudo ls -la /etc/kubernetes/admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf: Process exited with status 2
stdout:
stderr:
ls: cannot access '/etc/kubernetes/admin.conf': No such file or directory
ls: cannot access '/etc/kubernetes/kubelet.conf': No such file or directory
ls: cannot access '/etc/kubernetes/controller-manager.conf': No such file or directory
ls: cannot access '/etc/kubernetes/scheduler.conf': No such file or directory
I0816 14:08:04.183332 202041 ssh_runner.go:240] Start: /bin/bash -c "sudo env PATH=/var/lib/minikube/binaries/v1.21.2:$PATH kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables"
W0816 14:09:06.217236 202041 out.go:230] 💢 initialization failed, will try again: wait: /bin/bash -c "sudo env PATH=/var/lib/minikube/binaries/v1.21.2:$PATH kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1
stdout:
[init] Using Kubernetes version: v1.21.2
[preflight] Running pre-flight checks
[preflight] The system verification failed. Printing the output from the verification:
KERNEL_VERSION: 5.11.0-25-generic
DOCKER_VERSION: 20.10.7
DOCKER_GRAPH_DRIVER: overlay2
OS: Linux
CGROUPS_CPU: enabled
CGROUPS_CPUACCT: enabled
CGROUPS_CPUSET: enabled
CGROUPS_DEVICES: enabled
CGROUPS_FREEZER: enabled
CGROUPS_MEMORY: enabled
CGROUPS_PIDS: enabled
CGROUPS_HUGETLB: enabled
stderr:
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
[WARNING Swap]: running with swap on is not supported. Please disable swap
[WARNING SystemVerification]: failed to parse kernel config: unable to load kernel module: "configs", output: "modprobe: FATAL: Module configs not found in directory /lib/modules/5.11.0-25-generic\n", err: exit status 1
[WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR KubeletVersion]: couldn't get kubelet version: cannot execute 'kubelet --version': signal: killed
[preflight] If you know what you are doing, you can make a check non-fatal with
--ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher
I0816 14:09:06.217350 202041 ssh_runner.go:149] Run: /bin/bash -c "sudo env PATH=/var/lib/minikube/binaries/v1.21.2:$PATH kubeadm reset --cri-socket /var/run/dockershim.sock --force"
I0816 14:09:06.398485 202041 ssh_runner.go:149] Run: sudo systemctl stop -f kubelet
I0816 14:09:06.437162 202041 ssh_runner.go:149] Run: docker ps -a --filter=name=k8s_.*(kube-system) --format={{.ID}}
I0816 14:09:06.489333 202041 kubeadm.go:220] ignoring SystemVerification for kubeadm because of docker driver
I0816 14:09:06.489367 202041 ssh_runner.go:149] Run: sudo ls -la /etc/kubernetes/admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf
I0816 14:09:06.526594 202041 kubeadm.go:151] config check failed, skipping stale config cleanup: sudo ls -la /etc/kubernetes/admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf: Process exited with status 2
stdout:
stderr:
ls: cannot access '/etc/kubernetes/admin.conf': No such file or directory
ls: cannot access '/etc/kubernetes/kubelet.conf': No such file or directory
ls: cannot access '/etc/kubernetes/controller-manager.conf': No such file or directory
ls: cannot access '/etc/kubernetes/scheduler.conf': No such file or directory
I0816 14:09:06.526625 202041 ssh_runner.go:240] Start: /bin/bash -c "sudo env PATH=/var/lib/minikube/binaries/v1.21.2:$PATH kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables"
I0816 14:10:07.650951 202041 kubeadm.go:392] StartCluster complete in 2m3.632639842s
I0816 14:10:07.651002 202041 ssh_runner.go:149] Run: docker ps -a --filter=name=k8s_kube-apiserver --format={{.ID}}
I0816 14:10:07.716785 202041 logs.go:270] 0 containers: []
W0816 14:10:07.716797 202041 logs.go:272] No container was found matching "kube-apiserver"
I0816 14:10:07.716836 202041 ssh_runner.go:149] Run: docker ps -a --filter=name=k8s_etcd --format={{.ID}}
I0816 14:10:07.769475 202041 logs.go:270] 0 containers: []
W0816 14:10:07.769483 202041 logs.go:272] No container was found matching "etcd"
I0816 14:10:07.769517 202041 ssh_runner.go:149] Run: docker ps -a --filter=name=k8s_coredns --format={{.ID}}
I0816 14:10:07.822992 202041 logs.go:270] 0 containers: []
W0816 14:10:07.823027 202041 logs.go:272] No container was found matching "coredns"
I0816 14:10:07.823073 202041 ssh_runner.go:149] Run: docker ps -a --filter=name=k8s_kube-scheduler --format={{.ID}}
I0816 14:10:07.891713 202041 logs.go:270] 0 containers: []
W0816 14:10:07.891722 202041 logs.go:272] No container was found matching "kube-scheduler"
I0816 14:10:07.891794 202041 ssh_runner.go:149] Run: docker ps -a --filter=name=k8s_kube-proxy --format={{.ID}}
I0816 14:10:07.947744 202041 logs.go:270] 0 containers: []
W0816 14:10:07.947753 202041 logs.go:272] No container was found matching "kube-proxy"
I0816 14:10:07.947830 202041 ssh_runner.go:149] Run: docker ps -a --filter=name=k8s_kubernetes-dashboard --format={{.ID}}
I0816 14:10:07.999969 202041 logs.go:270] 0 containers: []
W0816 14:10:07.999978 202041 logs.go:272] No container was found matching "kubernetes-dashboard"
I0816 14:10:08.000014 202041 ssh_runner.go:149] Run: docker ps -a --filter=name=k8s_storage-provisioner --format={{.ID}}
I0816 14:10:08.058055 202041 logs.go:270] 0 containers: []
W0816 14:10:08.058064 202041 logs.go:272] No container was found matching "storage-provisioner"
I0816 14:10:08.058098 202041 ssh_runner.go:149] Run: docker ps -a --filter=name=k8s_kube-controller-manager --format={{.ID}}
I0816 14:10:08.112316 202041 logs.go:270] 0 containers: []
W0816 14:10:08.112324 202041 logs.go:272] No container was found matching "kube-controller-manager"
I0816 14:10:08.112330 202041 logs.go:123] Gathering logs for kubelet ...
I0816 14:10:08.112336 202041 ssh_runner.go:149] Run: /bin/bash -c "sudo journalctl -u kubelet -n 400"
I0816 14:10:08.162297 202041 logs.go:123] Gathering logs for dmesg ...
I0816 14:10:08.162308 202041 ssh_runner.go:149] Run: /bin/bash -c "sudo dmesg -PH -L=never --level warn,err,crit,alert,emerg | tail -n 400"
I0816 14:10:08.232431 202041 logs.go:123] Gathering logs for describe nodes ...
I0816 14:10:08.232442 202041 ssh_runner.go:149] Run: /bin/bash -c "sudo /var/lib/minikube/binaries/v1.21.2/kubectl describe nodes --kubeconfig=/var/lib/minikube/kubeconfig"
W0816 14:10:08.409936 202041 logs.go:130] failed describe nodes: command: /bin/bash -c "sudo /var/lib/minikube/binaries/v1.21.2/kubectl describe nodes --kubeconfig=/var/lib/minikube/kubeconfig" /bin/bash -c "sudo /var/lib/minikube/binaries/v1.21.2/kubectl describe nodes --kubeconfig=/var/lib/minikube/kubeconfig": Process exited with status 1
stdout:
stderr:
The connection to the server localhost:8443 was refused - did you specify the right host or port?
output:
** stderr **
The connection to the server localhost:8443 was refused - did you specify the right host or port?
** /stderr **
I0816 14:10:08.409945 202041 logs.go:123] Gathering logs for Docker ...
I0816 14:10:08.409952 202041 ssh_runner.go:149] Run: /bin/bash -c "sudo journalctl -u docker -n 400"
I0816 14:10:08.464919 202041 logs.go:123] Gathering logs for container status ...
I0816 14:10:08.464930 202041 ssh_runner.go:149] Run: /bin/bash -c "sudo
which crictl || echo crictl
ps -a || sudo docker ps -a"I0816 14:10:10.616627 202041 ssh_runner.go:189] Completed: /bin/bash -c "sudo
which crictl || echo crictl
ps -a || sudo docker ps -a": (2.15168587s)W0816 14:10:10.616756 202041 out.go:359] Error starting cluster: wait: /bin/bash -c "sudo env PATH=/var/lib/minikube/binaries/v1.21.2:$PATH kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1
stdout:
[init] Using Kubernetes version: v1.21.2
[preflight] Running pre-flight checks
[preflight] The system verification failed. Printing the output from the verification:
KERNEL_VERSION: 5.11.0-25-generic
DOCKER_VERSION: 20.10.7
DOCKER_GRAPH_DRIVER: overlay2
OS: Linux
CGROUPS_CPU: enabled
CGROUPS_CPUACCT: enabled
CGROUPS_CPUSET: enabled
CGROUPS_DEVICES: enabled
CGROUPS_FREEZER: enabled
CGROUPS_MEMORY: enabled
CGROUPS_PIDS: enabled
CGROUPS_HUGETLB: enabled
stderr:
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
[WARNING Swap]: running with swap on is not supported. Please disable swap
[WARNING SystemVerification]: failed to parse kernel config: unable to load kernel module: "configs", output: "modprobe: FATAL: Module configs not found in directory /lib/modules/5.11.0-25-generic\n", err: exit status 1
[WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR KubeletVersion]: couldn't get kubelet version: cannot execute 'kubelet --version': signal: killed
[preflight] If you know what you are doing, you can make a check non-fatal with
--ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher
W0816 14:10:10.616766 202041 out.go:230]
W0816 14:10:10.616870 202041 out.go:230] 💣 Error starting cluster: wait: /bin/bash -c "sudo env PATH=/var/lib/minikube/binaries/v1.21.2:$PATH kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1
stdout:
[init] Using Kubernetes version: v1.21.2
[preflight] Running pre-flight checks
[preflight] The system verification failed. Printing the output from the verification:
KERNEL_VERSION: 5.11.0-25-generic
DOCKER_VERSION: 20.10.7
DOCKER_GRAPH_DRIVER: overlay2
OS: Linux
CGROUPS_CPU: enabled
CGROUPS_CPUACCT: enabled
CGROUPS_CPUSET: enabled
CGROUPS_DEVICES: enabled
CGROUPS_FREEZER: enabled
CGROUPS_MEMORY: enabled
CGROUPS_PIDS: enabled
CGROUPS_HUGETLB: enabled
stderr:
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
[WARNING Swap]: running with swap on is not supported. Please disable swap
[WARNING SystemVerification]: failed to parse kernel config: unable to load kernel module: "configs", output: "modprobe: FATAL: Module configs not found in directory /lib/modules/5.11.0-25-generic\n", err: exit status 1
[WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR KubeletVersion]: couldn't get kubelet version: cannot execute 'kubelet --version': signal: killed
[preflight] If you know what you are doing, you can make a check non-fatal with
--ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher
W0816 14:10:10.616903 202041 out.go:230]
W0816 14:10:10.617560 202041 out.go:230] ╭────────────────────────────────────────────────────────────────────╮
│ │
│ 😿 If the above advice does not help, please let us know: │
│ 👉 https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ Please attach the following file to the GitHub issue: │
│ - /home/rseshadri/.minikube/logs/lastStart.txt │
│ │
╰────────────────────────────────────────────────────────────────────╯
I0816 14:10:10.624257 202041 out.go:165]
W0816 14:10:10.624388 202041 out.go:230] ❌ Exiting due to GUEST_START: wait: /bin/bash -c "sudo env PATH=/var/lib/minikube/binaries/v1.21.2:$PATH kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1
stdout:
[init] Using Kubernetes version: v1.21.2
[preflight] Running pre-flight checks
[preflight] The system verification failed. Printing the output from the verification:
KERNEL_VERSION: 5.11.0-25-generic
DOCKER_VERSION: 20.10.7
DOCKER_GRAPH_DRIVER: overlay2
OS: Linux
CGROUPS_CPU: enabled
CGROUPS_CPUACCT: enabled
CGROUPS_CPUSET: enabled
CGROUPS_DEVICES: enabled
CGROUPS_FREEZER: enabled
CGROUPS_MEMORY: enabled
CGROUPS_PIDS: enabled
CGROUPS_HUGETLB: enabled
stderr:
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
[WARNING Swap]: running with swap on is not supported. Please disable swap
[WARNING SystemVerification]: failed to parse kernel config: unable to load kernel module: "configs", output: "modprobe: FATAL: Module configs not found in directory /lib/modules/5.11.0-25-generic\n", err: exit status 1
[WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR KubeletVersion]: couldn't get kubelet version: cannot execute 'kubelet --version': signal: killed
[preflight] If you know what you are doing, you can make a check non-fatal with
--ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher
W0816 14:10:10.624415 202041 out.go:230]
W0816 14:10:10.625059 202041 out.go:230] ╭────────────────────────────────────────────────────────────────────╮
│ │
│ 😿 If the above advice does not help, please let us know: │
│ 👉 https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ Please attach the following file to the GitHub issue: │
│ - /home/rseshadri/.minikube/logs/lastStart.txt │
│ │
╰────────────────────────────────────────────────────────────────────╯
Let me know if any other details are required from my end.
The text was updated successfully, but these errors were encountered: