Giter Site home page Giter Site logo

Comments (4)

ericpromislow avatar ericpromislow commented on August 20, 2024
  1. Make ~/Library//Preferences/rancher-desktop/settings.json non-writable while rd is running. Try to change the version of k8s.

  2. Put a non-existent k8s version in ~/Library//Preferences/rancher-desktop/settings.json . Handle the Kubernetes was unable to start with the following exit code message

from rancher-desktop.

ericpromislow avatar ericpromislow commented on August 20, 2024

2.1: The Minikube messages need to be processed to fit in to the current paradigm:

  • export MINIKUBE_HOME="$HOME/Library/Application Support/rancher-desktop"
  • Use the hyperkit driver, not the docker driver
  • Don't dump all the minikube suggestions, just the ones for rebuilding the rancher-desktop profile

Eventually, the app should have a menu command to rebuild it, and the dialog box should point to it, maybe offer a button to fix it right away.

from rancher-desktop.

ericpromislow avatar ericpromislow commented on August 20, 2024
  1. Deal with this error message (triggered by setting version to "v1.20.4"):
 E0107 10:31:59.898683   97388 cache.go:63] save image to file "k8s.gcr.io/kube-controller-manager:v1.20.3" -> "/Users/ericp/Library/Application Support/rancher-desktop/.minikube/cache/images/k8s.gcr.io/kube-controller-manager_v1.20.3" failed: nil image for k8s.gcr.io/kube-controller-manager:v1.20.3: GET https://k8s.gcr.io/v2/kube-controller-manager/manifests/v1.20.3: MANIFEST_UNKNOWN: Failed to fetch "v1.20.3" from request "/v2/kube-controller-manager/manifests/v1.20.3".
[1]
[1] E0107 10:31:59.923106   97388 cache.go:63] save image to file "k8s.gcr.io/kube-proxy:v1.20.3" -> "/Users/ericp/Library/Application Support/rancher-desktop/.minikube/cache/images/k8s.gcr.io/kube-proxy_v1.20.3" failed: nil image for k8s.gcr.io/kube-proxy:v1.20.3: GET https://k8s.gcr.io/v2/kube-proxy/manifests/v1.20.3: MANIFEST_UNKNOWN: Failed to fetch "v1.20.3" from request "/v2/kube-proxy/manifests/v1.20.3".
[1] E0107 10:31:59.923123   97388 cache.go:63] save image to file "k8s.gcr.io/kube-apiserver:v1.20.3" -> "/Users/ericp/Library/Application Support/rancher-desktop/.minikube/cache/images/k8s.gcr.io/kube-apiserver_v1.20.3" failed: nil image for k8s.gcr.io/kube-apiserver:v1.20.3: GET https://k8s.gcr.io/v2/kube-apiserver/manifests/v1.20.3: MANIFEST_UNKNOWN: Failed to fetch "v1.20.3" from request "/v2/kube-apiserver/manifests/v1.20.3".
[1] E0107 10:31:59.923126   97388 cache.go:63] save image to file "k8s.gcr.io/kube-scheduler:v1.20.3" -> "/Users/ericp/Library/Application Support/rancher-desktop/.minikube/cache/images/k8s.gcr.io/kube-scheduler_v1.20.3" failed: nil image for k8s.gcr.io/kube-scheduler:v1.20.3: GET https://k8s.gcr.io/v2/kube-scheduler/manifests/v1.20.3: MANIFEST_UNKNOWN: Failed to fetch "v1.20.3" from request "/v2/kube-scheduler/manifests/v1.20.3".
[1]
[1] E0107 10:32:00.283825   97388 cache.go:191] Error caching images:  Caching images for kubeadm: caching images: caching image "/Users/ericp/Library/Application Support/rancher-desktop/.minikube/cache/images/k8s.gcr.io/kube-controller-manager_v1.20.3": nil image for k8s.gcr.io/kube-controller-manager:v1.20.3: GET https://k8s.gcr.io/v2/kube-controller-manager/manifests/v1.20.3: MANIFEST_UNKNOWN: Failed to fetch "v1.20.3" from request "/v2/kube-controller-manager/manifests/v1.20.3".
[1]
[1] * Preparing Kubernetes v1.20.3 on containerd 1.3.7 ...
[1]
[1] X Unable to load cached images: loading cached images: stat /Users/ericp/Library/Application Support/rancher-desktop/.minikube/cache/images/k8s.gcr.io/kube-scheduler_v1.20.3: no such file or directory

from rancher-desktop.

ericpromislow avatar ericpromislow commented on August 20, 2024

Done in PRs https://github.com/mattfarina/rd/pull/36 https://github.com/mattfarina/rd/pull/40 https://github.com/mattfarina/rd/pull/42

from rancher-desktop.

Related Issues (20)

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.