fix(forgejo): remove nodeSelector now that Longhorn runs on all nodes
With Longhorn now running on all 3 control-plane nodes (commitbe7881d), Forgejo pods no longer need to be pinned to talos-cp-1. The gitea-shared-storage PVC can attach on any node, and the scheduler will properly co-locate pod + volume via WaitForFirstConsumer + 3-replica Longhorn volumes. Removes the kubernetes.io/hostname: talos-cp-1 nodeSelector added in commitdde4b60(which was a workaround for single-node storage).
This commit is contained in:
@@ -117,8 +117,6 @@ spec:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: 1Gi
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: talos-cp-1
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: Exists
|
||||
|
||||
Reference in New Issue
Block a user