enzyme icon indicating copy to clipboard operation
enzyme copied to clipboard

`./scripts/deploy/kind.sh` doesn't work when `http_proxy` is defined

Open anmyachev opened this issue 2 years ago â€ĸ 0 comments

./scripts/deploy/kind.sh
[PASS] docker installed
[FAIL] kind is not installed
See https://kind.sigs.k8s.io/docs/user/quick-start#installation
Will attempt to install kind to /home/default/bin
[PASS] curl installed
[PASS] kind installed
No kind clusters found.
[PASS] Cluster x1 is not up, will attempt to create a new cluster
Creating cluster "x1" ...
 ✓ Ensuring node image (kindest/node:v1.25.9) đŸ–ŧ
 ✓ Preparing nodes đŸ“Ļ
 ✓ Writing configuration 📜
 ✓ Starting control-plane đŸ•šī¸
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-x1"
You can now use your cluster with:

kubectl cluster-info --context kind-x1

Not sure what to do next? 😅  Check out https://kind.sigs.k8s.io/docs/user/quick-start/
[PASS] Using https_proxy: [PROXY_NAME]:[HTTPS_PROXY_PORT]
Ign:1 http://deb.debian.org/debian bullseye InRelease
Ign:2 http://deb.debian.org/debian-security bullseye-security InRelease
Ign:3 http://deb.debian.org/debian bullseye-updates InRelease
Err:4 http://deb.debian.org/debian bullseye Release
  Unsupported proxy configured: [PROXY_NAME]://[HTTP_PROXY_PORT]
Err:5 http://deb.debian.org/debian-security bullseye-security Release
  Unsupported proxy configured: [PROXY_NAME]://[HTTP_PROXY_PORT]
Err:6 http://deb.debian.org/debian bullseye-updates Release
  Unsupported proxy configured: [PROXY_NAME]://[HTTP_PROXY_PORT]
Reading package lists... Done
E: The repository 'http://deb.debian.org/debian bullseye Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.debian.org/debian-security bullseye-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.debian.org/debian bullseye-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package redsocks

Following ./scripts/deploy/kind.sh call without http_proxy is working.

cc @pbchekin

anmyachev avatar Jul 13 '23 15:07 anmyachev