I am new to Kubernetes. I have created a Kubernetes cluster with one Master node and 2 worker nodes. I have installer helm for the deployment of apps. I am getting the following error while starting the tiller pod
tiller-deploy-5b4685ffbf-znbdc 0/1 ContainerCreating 0 23h
After describing the pod I got the following result
[root@master-node flannel]# kubectl --namespace kube-system describe pod tiller-deploy-5b4685ffbf-znbdc
Events: Type Reason Age From Message
Warning FailedCreatePodSandBox 10m (x34020 over 22h) kubelet, worker-node1 (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "cdda0a8ae9200668a2256e8c7b41904dce604f73f0282b0443d972f5e2846059" network for pod "tiller-deploy-5b4685ffbf-znbdc": networkPlugin cni failed to set up pod "tiller-deploy-5b4685ffbf-znbdc_kube-system" network: open /run/flannel/subnet.env: no such file or directory Normal SandboxChanged 25s (x34556 over 22h) kubelet, worker-node1 Pod sandbox changed, it will be killed and re-created.
Any hint of how can I get away with this error.
helm
3.x doesn't require tiller anymore. – JGK