rancherfederal/rke2-ansible

Request for Clarification [setting proxy information]

Opened this issue · 6 comments

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?

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"

@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?

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.

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 ?

@Falltrades , you should see something on Monday

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