-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not possible to install on windows via proxy #7952
Comments
As a workaround one could install powershell 7 on the host and use it to run the calico ps1 scripts: mkdir C:\powershell
curl.exe --connect-timeout 10 --ssl-no-revoke --retry 10 --retry-all-errors -L https://github.com/PowerShell/PowerShell/releases/download/v7.3.6/PowerShell-7.3.6-win-x64.zip -o C:\powershell\powershell.zip
Expand-Archive C:/powershell/powershell.zip C:/powershell | Out-Null;
Remove-Item C:/powershell/powershell.zip | Out-Null; initContainers:
- name: install
image: cr.siemens.com/cloud-platform-services/calico/calico/windows:v3.26.1
args:
- "C:\\powershell\\pwsh.exe .\\host-process-install.ps1" |
Hi @davidgiga1993, I see from the We are currently working on adding GA support to Calico for Windows on HPC (host process containers), the PRs are #7857 and tigera/operator#2732 if you'd like to check them out. This will considerably improve Calico maintainability on Windows, and will not need to use |
@davidgiga1993 I'm happy to announce that Calico v3.27.0 has been released with operator support for Windows!
This leverages Windows host process containers (HPC) so Calico for Windows runs in actual Kubernetes pods (that means |
Sorry for the (very late) reply, but I'm happy to report that it's all working now 👍 Still got some issues with pulling images through a http proxy, but that's outside of calico |
When trying to install calico on a windows node with restricted internet access (internet may only be accessed via http_proxy) the installation fails.
Expected Behavior
The installer should honor any set
HTTP_PROXY / HTTPS_PROXY
environment variables.Current Behavior
Possible Solution
Maybe using powershell >=7 (see https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.3)
Steps to Reproduce (for bugs)
host-process-install.ps1
Context
In a corporate environment direct internet access is often restricted. This issue is blocking our windows rollout.
Your Environment
The text was updated successfully, but these errors were encountered: