Last active
March 15, 2021 16:22
-
-
Save mariotpc/8ec5f8076dbf8a7d282c0db756f7e324 to your computer and use it in GitHub Desktop.
Minikube-ARM64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mandatory set it - very bottom of the sudoers file | |
******************************************************************************* | |
## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment) | |
#includedir /etc/sudoers.d | |
username (989sd898d ) ALL=(ALL) NOPASSWD: /usr/bin/podman | |
Was using podman instead docker backend. | |
****************************************** | |
minikube start --driver=podman | |
[989sd898d@rpi ~]$ minikube config set driver podman | |
β These changes will take effect upon a minikube delete and then a minikube start | |
[989sd898d@rpi ~]$ minikube delete | |
π₯ Deleting "minikube" in podman ... | |
π₯ Removing /home/989sd898d/.minikube/machines/minikube ... | |
π Removed all traces of the "minikube" cluster. | |
[989sd898d@rpi ~]$ minikube start --driver=podman | |
π minikube v1.18.1 on Oracle 8.3 (arm64) | |
β¨ Using the podman driver based on user configuration | |
π Starting control plane node minikube in cluster minikube | |
π₯ Creating podman container (CPUs=2, Memory=2200MB) ... | |
> kubelet.sha256: 64 B / 64 B [--------------------------] 100.00% ? p/s 0s | |
> kubectl.sha256: 64 B / 64 B [--------------------------] 100.00% ? p/s 0s | |
> kubeadm.sha256: 64 B / 64 B [--------------------------] 100.00% ? p/s 0s | |
> kubeadm: 34.50 MiB / 34.50 MiB [---------------] 100.00% 1.23 MiB p/s 29s | |
> kubectl: 35.44 MiB / 35.44 MiB [---------------] 100.00% 1.10 MiB p/s 33s | |
> kubelet: 100.57 MiB / 100.57 MiB [-------------] 100.00% 2.56 MiB p/s 40s | |
βͺ Generating certificates and keys ... | |
βͺ Booting up control plane ... | |
βͺ Configuring RBAC rules ... | |
π Verifying Kubernetes components... | |
β Executing "sudo -n podman container inspect minikube --format={{.State.Status}}" took an unusually long time: 2.644209147s | |
βͺ Using image gcr.io/k8s-minikube/storage-provisioner:v4 | |
π Enabled addons: storage-provisioner, default-storageclass | |
π‘ kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A' | |
π Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default | |
[989sd898d@rpi ~]$ | |
[989sd898d@rpi ~]$ kubectl get po -A | |
-bash: kubectl: command not found <---- ERROR | |
U can use | |
******************** | |
[989sd898d@rpi ~]$ minikube kubectl -- get po -A | |
NAMESPACE NAME READY STATUS RESTARTS AGE | |
kube-system coredns-74ff55c5b-l8qpb 1/1 Running 0 15m | |
kube-system etcd-minikube 1/1 Running 0 15m | |
kube-system kube-apiserver-minikube 1/1 Running 0 15m | |
kube-system kube-controller-manager-minikube 1/1 Running 0 15m | |
kube-system kube-proxy-bpm9m 1/1 Running 0 15m | |
kube-system kube-scheduler-minikube 1/1 Running 0 15m | |
kube-system storage-provisioner 1/1 Running 0 15m | |
[989sd898d@rpi ~]$ minikube dashboard | |
π Enabling dashboard ... | |
βͺ Using image kubernetesui/dashboard:v2.1.0 | |
βͺ Using image kubernetesui/metrics-scraper:v1.0.4 | |
π€ Verifying dashboard health ... | |
π Launching proxy ... | |
π€ Verifying proxy health ... | |
π Opening http://127.0.0.1:43877/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser... | |
π http://127.0.0.1:43877/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment