-
Notifications
You must be signed in to change notification settings - Fork 840
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
[Epic] k3s_server and k3s_agent tasks are not idempotent #264
Comments
I assume most of this was me blindly putting in |
Signed-off-by: Jon S. Stumpf <[email protected]>
GH being dumb and autoclosing this issue. |
FYI. I have been busy on other things and will be getting back to this after Christmas. |
In step "Change server to API endpoint instead of localhost", kubeconfig must be set to "/etc/rancher/k3s/k3s.yaml". "~{{ ansible_user }}/.kube/config" is not used in the servers. |
- [Agent : Download artefact only if needed](roles/k3s_agent/tasks/main.yml#L13) - [Server : Download artefact only if needed](roles/k3s_server/tasks/main.yml#L13) - [Upgrade : Upgrade node only if needed](roles/k3s_upgrade/tasks/main.yml#L14) Linked issue k3s-io#264 k3s_server and k3s_agent tasks are not idempotent
- [Agent : Download artefact only if needed](roles/k3s_agent/tasks/main.yml#L13) - [Server : Download artefact only if needed](roles/k3s_server/tasks/main.yml#L13) - [Upgrade : Upgrade node only if needed](roles/k3s_upgrade/tasks/main.yml#L14) Linked issue k3s-io#264 k3s_server and k3s_agent tasks are not idempotent
- [Agent : Download artefact only if needed](roles/k3s_agent/tasks/main.yml#L13) - [Server : Download artefact only if needed](roles/k3s_server/tasks/main.yml#L13) - [Upgrade : Upgrade node only if needed](roles/k3s_upgrade/tasks/main.yml#L14) Linked issue k3s-io#264 k3s_server and k3s_agent tasks are not idempotent Signed-off-by: Loïc Dubard <[email protected]>
- [Agent : Download artefact only if needed](roles/k3s_agent/tasks/main.yml#L13) - [Server : Download artefact only if needed](roles/k3s_server/tasks/main.yml#L13) - [Upgrade : Upgrade node only if needed](roles/k3s_upgrade/tasks/main.yml#L14) Linked issue k3s-io#264 k3s_server and k3s_agent tasks are not idempotent Signed-off-by: Loïc Dubard <[email protected]>
- [Agent : Download artefact only if needed](roles/k3s_agent/tasks/main.yml#L13) - [Server : Download artefact only if needed](roles/k3s_server/tasks/main.yml#L13) - [Upgrade : Upgrade node only if needed](roles/k3s_upgrade/tasks/main.yml#L14) Linked issue k3s-io#264 k3s_server and k3s_agent tasks are not idempotent Signed-off-by: Loïc Dubard <[email protected]>
- [Agent : Download artefact only if needed](roles/k3s_agent/tasks/main.yml#L13) - [Server : Download artefact only if needed](roles/k3s_server/tasks/main.yml#L13) - [Upgrade : Upgrade node only if needed](roles/k3s_upgrade/tasks/main.yml#L14) Linked issue k3s-io#264 k3s_server and k3s_agent tasks are not idempotent Signed-off-by: Loïc Dubard <[email protected]>
- [Agent : Download artefact only if needed](roles/k3s_agent/tasks/main.yml#L13) - [Server : Download artefact only if needed](roles/k3s_server/tasks/main.yml#L13) - [Upgrade : Upgrade node only if needed](roles/k3s_upgrade/tasks/main.yml#L14) Linked issue #264 k3s_server and k3s_agent tasks are not idempotent Signed-off-by: Loïc Dubard <[email protected]>
Several more were addressed in #288 |
@dereknola now that #347 is merged, I believe all tasks are idempotent. I think this issue can be closed. |
The below tasks are repeated even when they are not needed. Fixes are forthcoming.
k3s_server
k3s-ansible/roles/k3s_server/tasks/main.yml
Line 13 in 19c206d
k3s-ansible/roles/k3s_server/tasks/main.yml
Line 26 in 19c206d
k3s-ansible/roles/k3s_server/tasks/main.yml
Line 70 in 19c206d
k3s-ansible/roles/k3s_server/tasks/main.yml
Line 78 in 19c206d
k3s-ansible/roles/k3s_server/tasks/main.yml
Line 86 in 19c206d
k3s_agent
k3s-ansible/roles/k3s_agent/tasks/main.yml
Line 13 in 19c206d
k3s-ansible/roles/k3s_agent/tasks/main.yml
Line 23 in 19c206d
The text was updated successfully, but these errors were encountered: