Editing Minikube start

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lowercase}} __NOTOC__
+
{{lowercase}}
 
 
[[minikube]] start && [[minikube status]] && [[Minikube: kubectl get pods -A|kubectl get pods -A]]
 
[[minikube addons enable ingress]] [[csi-hostpath-driver]]
 
 
 
[[minikube addons enable]]
 
 
 
[[minikube delete]] && [[minikube start]]
 
  
 
== Mikikube start examples ==
 
== Mikikube start examples ==
Line 16: Line 9:
 
* <code>[[minikube start --driver=podman]]</code>
 
* <code>[[minikube start --driver=podman]]</code>
 
* <code>minikube start --memory 4096</code>
 
* <code>minikube start --memory 4096</code>
* <code>minikube start --cpus 3 --memory 3072</code>
+
* <code>[[minikube start --driver=podman]]</code>
 
* <code>[[minikube start --container-runtime containerd]]</code>
 
* <code>[[minikube start --container-runtime containerd]]</code>
* <code>[[minikube start --feature-gates]]</code>
 
* <code>[[minikube start --nodes]] 2 -p my-multinode-demo</code>
 
* <code>[[minikube start --listen-address]]=0.0.0.0</code>
 
* [[minikube start -p]] argocd --cpus=4 --disk-size=40gb --memory=8gb
 
  
 
== [[macOS]] ==
 
== [[macOS]] ==
 
😄  minikube v1.32.0 on Darwin 14.2.1 (arm64)
 
✨  Automatically selected the docker driver
 
📌  Using Docker Desktop driver with root privileges
 
👍  Starting control plane node minikube in cluster minikube
 
🚜  Pulling base image ...
 
💾  Downloading Kubernetes v1.28.3 preload ...
 
    > preloaded-images-k8s-v18-v1...:  341.16 MiB / 341.16 MiB  100.00% 18.27 M
 
    > gcr.io/k8s-minikube/kicbase...:  410.58 MiB / 410.58 MiB  100.00% 16.28 M
 
🔥  Creating docker container (CPUs=2, Memory=4000MB) ...
 
🐳  Preparing Kubernetes v1.28.3 on Docker 24.0.7 ...\ E0116 17:31:10.012729  79917 kubeadm.go:717] sudo env
 
PATH="/var/lib/minikube/binaries/v1.28.3:$PATH" [[kubeadm init phase certs all]] --config /var/tmp/minikube/kubeadm.yaml failed - will try once more: /bin/bash
 
-c "sudo env PATH="/var/lib/minikube/binaries/v1.28.3:$PATH" kubeadm init phase certs all --config /var/tmp/minikube/kubeadm.yaml": Process exited with
 
status 1
 
stdout:
 
[certs] Using certificateDir folder "[[/var/lib/minikube/certs]]"
 
[certs] Using existing ca certificate authority
 
[certs] Using existing apiserver certificate and key on disk
 
 
stderr:
 
error execution phase certs/apiserver-kubelet-client: [certs] [[certificate apiserver-kubelet-client not signed by CA certificate ca: x509]]: certificate
 
signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "minikubeCA")
 
To see the stack trace of this error execute with --v=5 or higher
 
 
🤦  Unable to restart cluster, will reset it: run: /bin/bash -c "sudo env PATH="/var/lib/minikube/binaries/v1.28.3:$PATH" kubeadm init phase certs all -- config /var/tmp/minikube/kubeadm.yaml": Process exited with status 1
 
stdout:
 
[certs] Using certificateDir folder "/var/lib/minikube/certs"
 
[certs] Using existing ca certificate authority
 
[certs] Using existing apiserver certificate and key on disk
 
 
Solution: [[minikube delete]]
 
 
=== Minikube 1.32.0 ===
 
😄  minikube v1.32.0 on Darwin 14.2.1 (arm64)
 
🆕  Kubernetes 1.28.3 is now available. If you would like to upgrade,
 
specify: --kubernetes-version=v1.28.3
 
✨  Using the docker driver based on existing profile
 
👍  Starting control plane node minikube in cluster minikube
 
🚜  Pulling base image ...
 
🤷  docker "minikube" container is missing, will recreate.
 
🔥  Creating docker container (CPUs=2, Memory=4000MB) ...
 
❗  Image was not built for the current minikube version. To resolve this you can delete and recreate your minikube cluster using the latest images. Expected minikube version: v1.31.0 -> Actual minikube version:
 
v1.32.0
 
🐳  Preparing Kubernetes v1.27.4 on Docker 24.0.4 ...
 
    ▪ Generating certificates and keys ...
 
    ▪ Booting up control plane ...
 
    ▪ Configuring RBAC rules ...
 
🔗  Configuring bridge CNI (Container Networking Interface) ...
 
💡  After the addon is enabled, please run "minikube tunnel" and your
 
ingress resources would be available at "127.0.0.1"
 
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
 
    ▪ Using image registry.k8s.io/metrics-server/metrics-server:v0.6.4
 
    ▪ Using image registry.k8s.io/ingress-nginx/kube-webhook- certgen:v20231011-8b53cabe0
 
    ▪ Using image docker.io/kubernetesui/dashboard:v2.7.0
 
    ▪ Using image registry.k8s.io/sig-storage/csi-attacher:v4.0.0
 
    ▪ Using image registry.k8s.io/sig-storage/snapshot- controller:v6.1.0
 
🔎  Verifying Kubernetes components...
 
    ▪ Using image docker.io/kubernetesui/metrics-scraper:v1.0.8
 
    ▪ Using image registry.k8s.io/ingress-nginx/kube-webhook-certgen:v20231011-8b53cabe0
 
    ▪ Using image registry.k8s.io/sig-storage/csi-external-health- monitor-controller:v0.7.0
 
    ▪ Using image registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.6.0
 
    ▪ Using image registry.k8s.io/sig-storage/hostpathplugin:v1.9.0
 
    ▪ Using image registry.k8s.io/ingress-nginx/controller:v1.9.4
 
    ▪ Using image registry.k8s.io/sig-storage/livenessprobe:v2.8.0
 
    ▪ Using image registry.k8s.io/sig-storage/csi-resizer:v1.6.0
 
    ▪ Using image registry.k8s.io/sig-storage/csi-snapshotter:v6.1.0
 
    ▪ Using image registry.k8s.io/sig-storage/csi-provisioner:v3.3.0
 
🔎  Verifying ingress addon...
 
💡  Some dashboard features require the metrics-server addon. To enable all features please run:
 
 
minikube addons enable metrics-server
 
 
 
🔎  Verifying [[csi-hostpath-driver]] addon...
 
  
 
=== Minikube 1.31.2 ===
 
=== Minikube 1.31.2 ===
Line 106: Line 21:
 
  🚜  Pulling base image ...
 
  🚜  Pulling base image ...
 
  💾  [[Downloading Kubernetes]] [[v1.27]].4 [[preload]] ...
 
  💾  [[Downloading Kubernetes]] [[v1.27]].4 [[preload]] ...
    > preloaded-images-k8s-v18-v1...:  327.74 MiB / 327.74 MiB  100.00% 492.53 §§
 
    > gcr.io/k8s-minikube/kicbase...:  404.50 MiB / 404.50 MiB  100.00% 490.36
 
🔥  Creating docker container (CPUs=2, Memory=4000MB) ...
 
🐳  Preparing Kubernetes v1.27.4 on Docker 24.0.4 ...
 
    ▪ Generating certificates and keys ...
 
    ▪ Booting up control plane ...
 
    ▪ Configuring RBAC rules ...
 
🔗  Configuring bridge [[CNI]] (Container Networking Interface) ...
 
    ▪ Using image [[gcr.io/k8s-minikube/]]storage-provisioner:v5
 
🔎  Verifying Kubernetes components...
 
🌟  Enabled [[addons]]: [[default-storageclass]], [[storage-provisioner]]
 
🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
 
  
 
=== Minikube [[1.27]].1 ===
 
=== Minikube [[1.27]].1 ===
Line 463: Line 366:
 
* <code>[[minikube config]]</code>
 
* <code>[[minikube config]]</code>
 
* <code>[[snap install docker]]</code>
 
* <code>[[snap install docker]]</code>
* <code>[[docker start]], [[docker stop]]</code>
+
* <code>[[docker start]]</code>
 +
* <code>[[docker stop]]</code>
 
* [[VirtualBox]]
 
* [[VirtualBox]]
 
* <code>[[kubectl cluster-info]]</code>
 
* <code>[[kubectl cluster-info]]</code>
Line 471: Line 375:
 
* <code>[[kubectl get pods -A]]</code>
 
* <code>[[kubectl get pods -A]]</code>
 
* <code>[[minikube profile list]]</code>
 
* <code>[[minikube profile list]]</code>
* <code>[[minikube addons enable metrics-server]]</code>
 
* <code>[[brew uninstall minikube]]</code>
 
* <code>[[kind create cluster]]</code>
 
  
 
== See also ==
 
== See also ==
* {{minikube start}}
 
 
* {{minikube}}
 
* {{minikube}}
 +
* {{K8s}}
  
 +
[[Category:Kubernetes]]
 
[[Category:Minikube]]
 
[[Category:Minikube]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: