rancherfederal / rke2-ansible

RKE2 cluster provisioning via Ansible.
Apache License 2.0
228 stars 127 forks source link

Request for Clarification [setting proxy information] #169

Open ghost opened 1 year ago

ghost commented 1 year ago

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 commented 1 year ago

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 commented 12 months ago

@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 commented 11 months ago

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.

Falltrades commented 5 months ago

I tested https://github.com/rancherfederal/rke2-ansible/pull/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 commented 5 months ago

@Falltrades , you should see something on Monday

aleiner commented 5 months ago

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