-
Notifications
You must be signed in to change notification settings - Fork 751
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
microk8s Off-line installation fails on RHEL 9.3 #4508
Comments
Hello, sudo snap set system proxy.http=http://proxy:port/sudo snap set system proxy.https=http://proxy:port/However I’m facing a new issue; Error from server: Get https://ufrparesb012:10250/containerLogs/default/lbs-appli-7b6c65bfd7-fgqmr/lbs-appli?follow=true: Tunnel or SSL Forbidden Could you help me on this issue ? Thanks a lot |
How do you create snap proxy server? |
Hello, sudo snap set system proxy.http=http://proxy:port/ to be able to install microk8s offline with "sudo snap ack microk8s.assert && sudo snap install ./microk8s.snap --classic". So the offline installation doesn't seem really offline. For the other error reported in that ticket : "Pods keep restarting" , it appears that the partition /var is full leading to error such as "The node was low on resource: ephemeral-storage" and pods eviction. I hope that the error "Tunnel or SSL Forbidden" is also a side-effect of this /var partition full. The /var partition should be sized up today to overcome this issue. Best regards |
Hello I did setup /etc/environment and /var/snap/microk8s/current/args/containerd-env to specify HTTP_PROXY, HTTPS_PROXY and NO_PROXY but this seems not sufficient to get coredns working properly. Have you any suggestion? BTW , I use microk8s 1.28.8 |
Hello, NO_PROXY=,,127.0.0.1,<nodes internal ip(s)>/24,,.svc,.local Anyway coredns is failing to resolv any name whatever the containerd-env configuration. Thanks for your help |
Sorry , bad copy/paste. The no_proxy setting is as below. Is that correct?
|
Hello Before “firewall-cmd --reload”
After “firewall-cmd --reload”
|
Summary
I followed the links https://microk8s.io/docs/install-offline to install microk8s on a VM with restricted internet access using core20 + microk8s 1.27
But I have the following result
[glass@UFRPARESB012 Install-microk8s]$ sudo snap ack core20.assert && sudo snap install ./core20.snap
[sudo] password for glass:
core20 20240227 from Canonical✓ installed
[glass@UFRPARESB012 Install-microk8s]$ sudo snap ack microk8s.assert && sudo snap install ./microk8s.snap --classic
error: cannot perform the following tasks:
It seems that there is still Internet access attempts even in an off-line installation.
I had similar failure with core18 + microk8s 1.26.
This instance is behind a proxy.
So I configured the proxy as required in the link https://microk8s.io/docs/install-proxy.
But this didn't allow to workaround the issue.
Thanks for your help.
Best regards
Hervé Pannetier
The text was updated successfully, but these errors were encountered: