-
Notifications
You must be signed in to change notification settings - Fork 19
kim for osx kind-backed clusters? #85
Comments
@djcp I left this functionality hidden because I only expected Rancher Desktop to need it: https://github.com/rancher/kim/blob/v0.1.0-beta.7/pkg/client/builder/install.go#L30 You will need to make sure that you have a port-forward setup from the host to the builder node container in the guest (automatic on localhost I think with docker-desktop) and then you can run |
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
extraPortMappings:
- containerPort: 1233
hostPort: 1233
protocol: TCP
- containerPort: 1234
hostPort: 1234
protocol: TCP
|
So, as an experiment I've integrated
kim
with tilt using a kind backend. This works perfectly on ubuntu, and has allowed us to shave a pretty hefty chunk off build times (25 to 40%) by avoiding the image registry one would normally need for a tilt / kind / docker project.However, on osx using kind and docker-desktop-for-mac, kim fails with the error:
I know
Smarter automatic-ish bootstrap for non-k3s installations (think EKS support)
is on the roadmap, and I assume this would fall into that bucket.It appears to install the infrastructure needed by
kim
correctly, but when it comes to actually interacting with it - builds,kim image ls
, etc, it fails with the error above. Any suggestions about how to get beyond this error are very welcome!The text was updated successfully, but these errors were encountered: