Playbook #1 |
/root/kubeinit/ci/builds/6mbKNrxD/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml |
Task result details
- Play: Run the deployment on the target infrastructure (OpenStack/libvirt hypervisors)
- Task: kubeinit.kubeinit.kubeinit_eks : Allow schedule workloads in controller nodes if there are no compute nodes
- Action: ansible.builtin.shell
- Path: /root/.ansible/collections/ansible_collections/kubeinit/kubeinit/roles/kubeinit_eks/tasks/main.yml:280
- Host: localhost ( task delegated to service )
- Status: changed
- Started: 26 Oct 2023 20:20:58 +0000
- Ended: 26 Oct 2023 20:20:59 +0000
- Duration: 00:00:00.80
- Tags:
- task_deploy_cluster
Field | Value |
---|---|
changed |
True |
cmd |
set -o pipefail # Deprecated in 1.24 for node in $(kubectl get nodes -o json | jq -r '.items[] | select(.spec.taints[]?.key=="node-role.kubernetes.io/master") | .metadata.labels."kubernetes.io/hostname"'); do kubectl taint node ${node} node-role.kubernetes.io/master:NoSchedule- done # Working starting on 1.24 for node in $(kubectl get nodes -o json | jq -r '.items[] | select(.spec.taints[]?.key=="node-role.kubernetes.io/control-plane") | .metadata.labels."kubernetes.io/hostname"'); do kubectl taint node ${node} node-role.kubernetes.io/control-plane:NoSchedule- done |
delta |
0:00:00.538777 |
end |
2023-10-26 20:20:59.019657 |
invocation |
{ "module_args": { "_raw_params": "set -o pipefail\n# Deprecated in 1.24\nfor node in $(kubectl get nodes -o json | jq -r '.items[] | select(.spec.taints[]?.key==\"node-role.kubernetes.io/master\") | .metadata.labels.\"kubernetes.io/hostname\"');\ndo\n kubectl taint node ${node} node-role.kubernetes.io/master:NoSchedule-\ndone\n# Working starting on 1.24\nfor node in $(kubectl get nodes -o json | jq -r '.items[] | select(.spec.taints[]?.key==\"node-role.kubernetes.io/control-plane\") | .metadata.labels.\"kubernetes.io/hostname\"');\ndo\n kubectl taint node ${node} node-role.kubernetes.io/control-plane:NoSchedule-\ndone\n", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": "/bin/bash", "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } } |
msg |
|
rc |
0 |
start |
2023-10-26 20:20:58.480880 |
stderr |
|
stderr_lines |
[]
|
stdout |
node/controller-01.ekscluster.kubeinit.local untainted node/controller-02.ekscluster.kubeinit.local untainted node/controller-03.ekscluster.kubeinit.local untainted |
stdout_lines |
[ "node/controller-01.ekscluster.kubeinit.local untainted", "node/controller-02.ekscluster.kubeinit.local untainted", "node/controller-03.ekscluster.kubeinit.local untainted" ] |