Comments (6)
ctr t delete kubelet && ctr t start kubelet
starts successfully. The risk that kubelet starts before var/run/cri-containerd.sock
is there seems much higher without kubeadm after first boot.
from kubernetes.
Does this still happen with Kube 1.9 (just merged via #33)? I think I saw some improvements in this area.
If not then please open an issue against kubernetes or cri-containerd (whichever seems more appropriate, and assuming there isn't already one) since they should be more robust at startup time. My guy feeling is that it is kubernetes which should be more robust to waiting for CRI than vice versa, so a kube issue would seem the way to go.
from kubernetes.
I just built and booted current master (d39e6ba), booted and ran kubeadm-init.sh
waited for the pods to all come up then powered off with poweroff
. I then booted again with the same persistent disk and again waited for the pods (they did).
I repeated the poweroff
, boot and check 5 times and was successful each time (compared with your previous <10% success rate). I also did one iteration with poweroff -f
and one with reboot
for good measure, still no failures.
So either this is fixed in 1.9.0 or the odds of hitting the problem have changed dramatically, or perhaps something is different in your environment (perhaps just timings).
from kubernetes.
I tried restarting the master 3 times with no problems but could reproduce it after setting up some nodes and pods :/. From what I know Systemd usually handles Socket Activation.
from kubernetes.
LinuxKit doesn't use systemd.
As said in #26 (comment) I think this is an upstream issue.
from kubernetes.
Sure, but the upstream implementations use systemd which does socket activation. I will check if i can solve it with manually waiting until the socket is there.
from kubernetes.
Related Issues (20)
- To start the already installed kubernetes cluster HOT 2
- kubelet reports version and v1.9.0-dirty HOT 7
- Upgrade to new version HOT 3
- make update-hashes is not portable HOT 5
- cri-containerd: hostpath mounted read only HOT 1
- WARN[0003] certificate with CN ABC DEF is near expiry HOT 1
- Flakey rtf tests HOT 1
- Switch from cli configuration to kubelet.conf
- Use noTaintMaster in kubeadm.conf HOT 1
- Investigate and remove rootfsPropagation workaround HOT 1
- Switch to cri as containerd plugin
- Can not boot with head version of linuxkit on macOS HOT 2
- How to set up a development environment? HOT 3
- Kernel panic with "BUG: unable to handle kernel NULL pointer dereference at (null)"
- Use non-hub images
- How to boot automatically ? HOT 1
- containerised kubelet going away HOT 3
- ./ssh_into_kubelet.sh <masterIP> gives /root/.ssh/config: terminating, 1 bad configuration options
- Linuxkit/Kubernetes & Raspberry Pi HOT 2
- Request: update k8s HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes.