Skip to content

Commit

Permalink
Added node label for longhorn to provisioning.
Browse files Browse the repository at this point in the history
  • Loading branch information
calebgasser committed May 18, 2022
1 parent 69bba0c commit e61c209
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions provision/ansible/inventory/group_vars/worker/k3s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ k3s_agent:
kubelet-arg:
# Allow k8s services to contain TCP and UDP on the same port
- "feature-gates=MixedProtocolLBService=true"
# Add node-label for longhorn to create disks
# https://longhorn.io/docs/1.1.2/advanced-resources/default-disk-and-node-config/
# CLI: kubectl label nodes k8s-worker01 node.longhorn.io/create-default-disk=true
node-label:
- "node.longhorn.io/create-default-disk=true"

0 comments on commit e61c209

Please sign in to comment.