Comments (10)
thanks for the report! I wasn't able to reproduce this problem on my machine, but i don't see what's different between my env and your env. Can you try running:
minikube ssh -- find /etc/containerd -ls
on a running minikube cluster
and post the output?
from ctlptl.
$ minikube ssh
Last login: Tue Jul 11 17:04:51 2023 from 172.17.0.1
docker@minikube:~$ find /etc/containerd -ls
20398 4 drwxr-xr-x 1 root root 4096 Jul 11 17:04 /etc/containerd
31819 4 -rw-r--r-- 1 root root 1880 Jul 11 17:04 /etc/containerd/config.toml
20399 4 -rw-r--r-- 1 root root 886 Jan 9 2023 /etc/containerd/config.toml.dpkg-dist
15581 4 drwxr-xr-x 3 root root 4096 Jan 27 00:09 /etc/containerd/certs.d
15582 4 drwxr-xr-x 2 root root 4096 Jan 27 00:09 /etc/containerd/certs.d/docker.io
15583 4 -rw-r--r-- 1 root root 39 Jan 27 00:04 /etc/containerd/certs.d/docker.io/hosts.toml
It's a node created with just minikube
, do you need one that was specifically created using ctlptl
?
from ctlptl.
ah, one with created with ctlptl.
the docker network minikube
errors in your original logs look suspicious; my hunch is that it's not properly setting up the registry networking, so when ctlptl tries to verify that everything's working, it fails.
from ctlptl.
Errors related to networking weren't at thing before I updated minikube, but I can't recall which version I used 🤔, Error itself is present when I run minikube start
too to create a new cluster.
Node created with ctlptl:
$ minikube ssh
Last login: Tue Jul 11 17:20:27 2023 from 172.17.0.1
docker@minikube:~$ find /etc/containerd -ls
20398 8 drwxr-xr-x 1 root root 4096 Jul 11 17:20 /etc/containerd
33602 4 -rw-r--r-- 1 root root 1880 Jul 11 17:20 /etc/containerd/config.toml
15581 4 drwxr-xr-x 1 root root 4096 Jul 11 17:20 /etc/containerd/certs.d
15582 4 drwxr-xr-x 2 root root 4096 Jan 27 00:09 /etc/containerd/certs.d/docker.io
15583 4 -rw-r--r-- 1 root root 39 Jan 27 00:04 /etc/containerd/certs.d/docker.io/hosts.toml
33604 4 drwxr-xr-x 2 root root 4096 Jul 11 17:20 /etc/containerd/certs.d/ctlptl-registry:5000
33605 4 -rw-r--r-- 1 root root 98 Jul 11 17:20 /etc/containerd/certs.d/ctlptl-registry:5000/hosts.toml
20399 4 -rw-r--r-- 1 root root 886 Jan 9 2023 /etc/containerd/config.toml.dpkg-dist
from ctlptl.
can you file a bug upstream about the docker network minikube
error?
my concern is: we can try to fix this particular error message in ctlptl. but if the networking is fundamentally broken, i'm not sure we'll be able to fix your issue at our level, we'll just hit another error message further along.
from ctlptl.
Creating network manually solved issue with it: kubernetes/minikube#12950 (comment)
But it still can't configure registry 🤔
$ ctlptl create cluster minikube --registry ctlptl-registry
� minikube v1.30.1 on Microsoft Windows 10 Pro 10.0.19044.3086 Build 19044.3086
✨ Using the docker driver based on user configuration
� Using Docker Desktop driver with root privileges
� Starting control plane node minikube in cluster minikube
� Pulling base image ...
� Creating docker container (CPUs=2, Memory=16100MB) ...
� Preparing Kubernetes v1.26.3 on containerd 1.6.20 ...
▪ kubelet.max-pods=500
▪ Generating certificates and keys ...
▪ Booting up control plane ...
▪ Configuring RBAC rules ...
� Configuring CNI (Container Networking Interface) ...
▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
� Verifying Kubernetes components...
� Enabled addons: storage-provisioner, default-storageclass
� Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
cp: cannot stat '/etc/containerd/certs.d/172.17.0.2:5000': No such file or directory
ssh: Process exited with status 1
configuring minikube registry: exit status 1
from ctlptl.
hmmm still need a repro case though. do you have any local settings in minikube config view
?
from ctlptl.
No, it's empty
from ctlptl.
Very interesting, it seems to be working now, but I didn't change anything 😅
from ctlptl.
😅 🤷 ok, let's close for now, and we can re-open if we see it again
from ctlptl.
Related Issues (20)
- Support for ingress with kind HOT 1
- Registry support for htpasswd
- Support Kind v0.19.0 HOT 1
- K3D schema upgrade to v1alpha5 Simple. HOT 1
- Support minikube addons HOT 2
- ctlptl doesn't authenticate requests when creating registry HOT 2
- ctlptl get registries -oname do not return a list of registry names
- ctlptl get registries -oname do return prefixed names HOT 1
- Support MiniKube with different drivers HOT 1
- kind containerd config patch should be updated HOT 2
- K3d config file formating HOT 4
- Registry not reachable with fixed port HOT 2
- ctlptl v0.8.25 has broken cluster config with containerdConfigPatches HOT 3
- should kind be called as a library and not via exec HOT 2
- feat: another container image using ctlptl only HOT 1
- Update kind to 0.22.0 so Kubernetes 1.29 is available
- Support Kind v0.23.0
- Registry image is overridden when referencing registry from cluster HOT 1
- Persistent Storage for Registry
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 ctlptl.