If you are trying a start in minikube behind a firewall and getting following errors
C:\WINDOWS\system32>minikube start
* minikube v1.2.0 on windows (amd64)
* Downloading Minikube ISO ...
X Failed to cache ISO
* Error: [ISO_DOWNLOAD_FAILED] https://storage.googleapis.com/minikube/iso/minikube-v1.2.0.iso: failed to download: failed to download to temp file: download failed: 5 error(s) occurred:
* Temporary download error: Get https://storage.googleapis.com/minikube/iso/minikube-v1.2.0.iso: proxyconnect tcp: tls: first record does not look like a TLS handshake
* Temporary download error: Get https://storage.googleapis.com/minikube/iso/minikube-v1.2.0.iso: proxyconnect tcp: tls: first record does not look like a TLS handshake
* Temporary download error: Get https://storage.googleapis.com/minikube/iso/minikube-v1.2.0.iso: proxyconnect tcp: tls: first record does not look like a TLS handshake
* Temporary download error: Get https://storage.googleapis.com/minikube/iso/minikube-v1.2.0.iso: proxyconnect tcp: tls: first record does not look like a TLS handshake
* Temporary download error: Get https://storage.googleapis.com/minikube/iso/minikube-v1.2.0.iso: proxyconnect tcp: tls: first record does not look like a TLS handshake
* Advice: A firewall is likely blocking minikube from reaching the internet. You may need to configure minikube to use a proxy.
* Documentation: https://github.com/kubernetes/minikube/blob/master/docs/http_proxy.md
* Related issues:
- https://github.com/kubernetes/minikube/issues/3922
* If the above advice does not help, please let us know:
- https://github.com/kubernetes/minikube/issues/new
Solutions
You need to set a proxy on a command line.
macOS and Linux
export HTTP_PROXY=http://<proxy hostname:port>
export HTTPS_PROXY=https://<proxy hostname:port>
export NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.99.0/24,192.168.39.0/24
minikube start
Windows
set HTTP_PROXY=http://<proxy hostname:port>
set HTTPS_PROXY=https://<proxy hostname:port>
set NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.99.1/24,192.168.39.0/24
minikube start
Reference
- https://minikube.sigs.k8s.io/docs/reference/networking/proxy/
Kubernetes – CKA Certification Overview – By DevOpsSchool.com
Kubernetes – CKA Certification | Part 1 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 2 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 3 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 4 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 5 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 6 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 7 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 8 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 9 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 10 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 11 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 12 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 13 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 14 out 14 | — By DevOpsSchool
Latest posts by Rajesh Kumar (see all)
- Top 10 Website Development Companies in Ludhiana - December 5, 2024
- Exploring Career Options: Why Trade Schools Are a Great Alternative - December 5, 2024
- Announcing the Launch of DevOpsSchool.jp Services in Japan: Transforming IT Operations in Tokyo and Beyond - December 3, 2024