Skip to content
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

Proxy not handled properly in combination with RKE2 #548

Open
koendelaat opened this issue Aug 27, 2024 · 0 comments
Open

Proxy not handled properly in combination with RKE2 #548

koendelaat opened this issue Aug 27, 2024 · 0 comments
Assignees
Labels
bug Something isn't working triaged The team has reviewed the issue

Comments

@koendelaat
Copy link

When configuring a HTTP(S)_PROXY in EIB, this configures the OS proxy settings and works for K3s to pull images

However, when using RKE2 this is not the case.

According to the two sections in the docs there is a different behavior during installation

K3s

The K3s installation script will automatically take the HTTP_PROXY, HTTPS_PROXY and NO_PROXY, as well as the CONTAINERD_HTTP_PROXY, CONTAINERD_HTTPS_PROXY and CONTAINERD_NO_PROXY variables from the current shell, if they are present, and write them to the environment file of your systemd service, usually:

/etc/systemd/system/k3s.service.env
/etc/systemd/system/k3s-agent.service.env
Of course, you can also configure the proxy by editing these files.

RKE2

Add the necessary HTTP_PROXY, HTTPS_PROXY and NO_PROXY variables to the environment file of your systemd service, usually:

/etc/default/rke2-server
/etc/default/rke2-agent

@jdob jdob self-assigned this Oct 11, 2024
@jdob jdob added bug Something isn't working triaged The team has reviewed the issue labels Oct 11, 2024
@jdob jdob added this to the v1.2 milestone Oct 11, 2024
@atanasdinov atanasdinov removed this from the v1.2 milestone Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged The team has reviewed the issue
Projects
None yet
Development

No branches or pull requests

3 participants