-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Ansible don't apply Deployments so the Affernity rule are not removed if they deactivated by an flag. So the solution is to set the affinity rule to kubernetes.io/os then all Worker nodes have the same number again.
- Loading branch information
Showing
8 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
AFFINITY_ENABLE: true | ||
AFFINITY_MONGO_TOPOLOGY_KEY: kubernetes.io/hostname | ||
AFFINITY_POSTGRES_TOPOLOGY_KEY: kubernetes.io/hostname | ||
AFFINITY_REDIS_TOPOLOGY_KEY: kubernetes.io/hostname | ||
AFFINITY_STORAGE_TOPOLOGY_KEY: kubernetes.io/hostname | ||
ANIT_AFFINITY_NODEPOOL_ENABLE: true | ||
ANIT_AFFINITY_NODEPOOL_TOPOLOGY_KEY: "cloud.ionos.com/nodepool-name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
AFFINITY_MONGO_TOPOLOGY_KEY: kubernetes.io/os | ||
AFFINITY_POSTGRES_TOPOLOGY_KEY: kubernetes.io/os | ||
AFFINITY_REDIS_TOPOLOGY_KEY: kubernetes.io/os | ||
AFFINITY_STORAGE_TOPOLOGY_KEY: kubernetes.io/os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters