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

Request for Clarification [setting proxy information] #169

Open
ghost opened this issue Nov 1, 2023 · 6 comments · May be fixed by #242
Open

Request for Clarification [setting proxy information] #169

ghost opened this issue Nov 1, 2023 · 6 comments · May be fixed by #242

Comments

@ghost
Copy link

ghost commented Nov 1, 2023

According to the advanced configuration documentation: https://docs.rke2.io/advanced proxy configurations should be set in /etc/default/rke2-[server,agent].

Is that supported using either settings in group_vars/... or hosts.ini?

@jcox10
Copy link
Contributor

jcox10 commented Nov 3, 2023

I don't see anything in the roles that sets the the systemd proxy vars. However, you can set containerd to use a mirror to get to docker.io (see here). That file can contain your internal mirror (artifactory, nexus, etc. if you have one).

mirrors:
  docker.io:
    endpoint:
      - "https://your-docker-registry.something.com"

@ghost
Copy link
Author

ghost commented Nov 6, 2023

@jcox10 Thanks for that pointer.
I wonder if a PR with the added functionality of adding a proxy would be accepted and fall within the scope of this project?

@jcox10
Copy link
Contributor

jcox10 commented Nov 10, 2023

I would think anything listed in the documentation is acceptable to add to the ansible. For example, disabling firewalld is in the documentation and there is support for it in the ansible roles.

ghost pushed a commit to benhosmer/rke2-ansible that referenced this issue Nov 17, 2023
@ghost ghost mentioned this issue Nov 17, 2023
3 tasks
@Falltrades
Copy link

I tested #174 on my clusters and overall it is working as expected.
Unfortunately the guy who opened the PR deleted his account. Are there any maintainers who can help proceeding this PR ? @aleiner ?

@aleiner
Copy link
Contributor

aleiner commented Jun 1, 2024

@Falltrades , you should see something on Monday

@aleiner aleiner linked a pull request Jun 3, 2024 that will close this issue
4 tasks
@aleiner
Copy link
Contributor

aleiner commented Jun 3, 2024

Due to changes made, a new PR was submitted to address this request. #242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants