GithubHelp home page GithubHelp logo

Comments (3)

vignan-devops avatar vignan-devops commented on July 25, 2024

root@kubeadm-master:~# kubeadm init --pod-network-cidr=10.244.0.0/16
I0502 08:12:08.289522 4204 version.go:255] remote version is much newer: v1.27.1; falling back to: stable-1.24
[init] Using Kubernetes version: v1.24.13
[preflight] Running pre-flight checks
[WARNING SystemVerification]: missing optional cgroups: blkio
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR CRI]: container runtime is not running: output: E0502 08:12:08.411082 4213 remote_runtime.go:925] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService"
time="2023-05-02T08:12:08Z" level=fatal msg="getting status of runtime: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService"
, error: exit status 1
[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

from certified-kubernetes-security-specialist.

vignan-devops avatar vignan-devops commented on July 25, 2024

root@kubeadm-master:/run/containerd# crictl ps -a
WARN[0000] runtime connect using default endpoints: [unix:///var/run/dockershim.sock unix:///run/containerd/containerd.sock unix:///run/crio/crio.sock unix:///var/run/cri-dockerd.sock]. As the default settings are now deprecated, you should set the endpoint instead.
ERRO[0000] unable to determine runtime API version: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix /var/run/dockershim.sock: connect: no such file or directory"
WARN[0000] image connect using default endpoints: [unix:///var/run/dockershim.sock unix:///run/containerd/containerd.sock unix:///run/crio/crio.sock unix:///var/run/cri-dockerd.sock]. As the default settings are now deprecated, you should set the endpoint instead.
ERRO[0000] unable to determine image API version: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix /var/run/dockershim.sock: connect: no such file or directory"
CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID POD
e1c6b7a653f47 97b8277912b10 49 seconds ago Running kube-controller-manager 5 ce2df798f69b1 kube-controller-manager-kubeadm-master
b8873f5990a15 45e1452244b77 About a minute ago Exited kube-apiserver 4 b567cea51bb70 kube-apiserver-kubeadm-master
fedc97fbc9529 dd23e01bac419 About a minute ago Exited kube-proxy 5 a2ae7a907536e kube-proxy-hwrsn
f12813310cda5 043417219315f 2 minutes ago Running kube-scheduler 4 f5ecfd8922ec2 kube-scheduler-kubeadm-master
6b0f05e29e537 97b8277912b10 2 minutes ago Exited kube-controller-manager 4 b8022131d8291 kube-controller-manager-kubeadm-master
f6fdfe440116b aebe758cef4cd 2 minutes ago Exited etcd 6 999104c622f0c etcd-kubeadm-master
daf2cee45fd93 043417219315f 3 minutes ago Exited kube-scheduler 3 8b39253101d3d kube-scheduler-kubeadm-master

from certified-kubernetes-security-specialist.

vignan-devops avatar vignan-devops commented on July 25, 2024

The etcd pods keep failing with the below issue:

{"level":"info","ts":"2023-05-02T08:32:51.335Z","caller":"embed/etcd.go:368","msg":"closing etcd server","name":"kubeadm-master","data-dir":"/var/lib/etcd","advertise-peer-urls":["https://159.223.189.10:2380"],"advertise-client-urls":["https://159.223.189.10:2379"]}
WARNING: 2023/05/02 08:32:51 [core] grpc: addrConn.createTransport failed to connect to {127.0.0.1:2379 127.0.0.1:2379 0 }. Err: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:2379: connect: connection refused". Reconnecting...
WARNING: 2023/05/02 08:32:51 [core] grpc: addrConn.createTransport failed to connect to {159.223.189.10:2379 159.223.189.10:2379 0 }. Err: connection error: desc = "transport: Error while dialing dial tcp 159.223.189.10:2379: connect: connection refused". Reconnecting...

from certified-kubernetes-security-specialist.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.