nforgeio / neonKUBE

Public NeonKUBE Kubernetes distribution related projects
https://neonkube.io
Apache License 2.0
76 stars 13 forks source link

Allow user to specify default CRI-O alias and default to docker.io #1310

Closed jefflill closed 2 years ago

jefflill commented 2 years ago

I'm starting to play around with the Bridge to Kubernetes Sample tutorial in a neonKUBE cluster and after applying the manifests, the pods aren't starting due to ImageInspectError.

After poking around a bit, I realized that the problem is that the pod container images are hosted on docker.io and these are referenced like azdspublic/bikesharing-reservationengine instead of docker.io/azdspublic/bikesharing-reservationengine. Other samples use Helm charts to deploy which means image repository references will be all over the place,

The problem here is that neonDESKTOP is intended for beginning Kubernetes users and many of them will go looking for tutorials about doing Kubernetes stuff on the web and it's very likely that many or most of these tutorials won't work out-of-the-box because they assume docker.io is the default registry and I assume that this will likely be the case for most other Kubernetes distributions because docker has been the default CRI for so long.

@marcusbooyah: I know you had configured CRI-O with default aliases several months ago and then we decided to drop that for some reason. I don't remember exactly why, but it may have been due to the chaos Docker caused when they start imposing rate limits a year ago.

I think we'll probably need to address this, we don't want many user's first experience with neonKUBE to be disappointing and then require them to modify Kubernetes manifests and Helm charts right before anything will work and before they have much of a clue about what those things even are.

jefflill commented 2 years ago

Here's how this is landing:

jefflill commented 2 years ago

DONE