We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a cluster that consist of master nodes only:
hosts.ini
[master] server1.mydomain.com server2.mydomain.com server3.mydomain.com [node] [k3s_cluster:children] master node
Node taints shouldn't be enabled if there are master nodes only. All the master nodes should be able to accept workload.
Taints are added to all master nodes, and since there are no regular nodes, it's not possible to run any workload on the cluster.
$ kubectl get nodes -o custom-columns=NAME:.metadata.name,TAINTS:.spec.taints --no-headers server1.mydomain.com [map[effect:NoExecute key:CriticalAddonsOnly value:true]] server2.mydomain.com [map[effect:NoExecute key:CriticalAddonsOnly value:true]] server3.mydomain.com [map[effect:NoExecute key:CriticalAddonsOnly value:true]]
The reason lies in one of the recent commits (4acbe91b6c3a25a8f693df7c11789e1947842425) that added this variable:
4acbe91b6c3a25a8f693df7c11789e1947842425
k3s_single_node: "{{ 'true' if groups['k3s_cluster'] | length == 1 else 'false' }}"
The text was updated successfully, but these errors were encountered:
I suppose that will be fixed with #95 - do you agree?
Sorry, something went wrong.
You're right, this issue can be closed. Thank you!
No branches or pull requests
Context
I have a cluster that consist of master nodes only:
hosts.ini
Expected Behavior
Node taints shouldn't be enabled if there are master nodes only. All the master nodes should be able to accept workload.
Current Behavior
Taints are added to all master nodes, and since there are no regular nodes, it's not possible to run any workload on the cluster.
The reason lies in one of the recent commits (
4acbe91b6c3a25a8f693df7c11789e1947842425
) that added this variable:The text was updated successfully, but these errors were encountered: