πŸš€ DevOps & SRE Certification Program πŸ“… Starting: 1st of Every Month 🀝 +91 8409492687 πŸ” Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Kubernetes Error – minikube – A firewall is likely blocking minikube from reaching the internet

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/newCode language: JavaScript (javascript)

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 startCode language: JavaScript (javascript)

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 startCode language: JavaScript (javascript)

Reference

  • https://minikube.sigs.k8s.io/docs/reference/networking/proxy/

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.