-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example of deployment. Clean up unused params. Signed-off-by: Serge Logvinov <[email protected]>
- Loading branch information
1 parent
09a5b9e
commit 01145da
Showing
13 changed files
with
499 additions
and
32 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,61 @@ | ||
|
||
# Use latest Talos image | ||
image: | ||
pullPolicy: Always | ||
tag: edge | ||
|
||
# Logging details | ||
logVerbosityLevel: 4 | ||
|
||
# Allow node CSR approval and cloud-node controllers | ||
enabledControllers: | ||
- cloud-node | ||
- node-csr-approval | ||
- node-ipam-controller | ||
|
||
# Define the CIDR allocator type and mask sizes (for node-ipam-controller only) | ||
extraArgs: | ||
- --allocate-node-cidrs | ||
- --cidr-allocator-type=CloudAllocator | ||
- --node-cidr-mask-size-ipv4=24 | ||
- --node-cidr-mask-size-ipv6=80 | ||
|
||
# Add extra labels to nodes based on their hostname | ||
transformations: | ||
- name: web | ||
nodeSelector: | ||
- matchExpressions: | ||
- key: hostname | ||
operator: Regexp | ||
values: | ||
- ^web-.+$ | ||
labels: | ||
node-role.kubernetes.io/web: "" | ||
|
||
- name: worker | ||
nodeSelector: | ||
- matchExpressions: | ||
- key: hostname | ||
operator: Regexp | ||
values: | ||
- ^worker-.+$ | ||
labels: | ||
node-role.kubernetes.io/worker: "" | ||
|
||
- name: db | ||
nodeSelector: | ||
- matchExpressions: | ||
- key: hostname | ||
operator: Regexp | ||
values: | ||
- ^db-.+$ | ||
labels: | ||
node-role.kubernetes.io/db: "" | ||
|
||
# Deploy the Talos Cloud Controller Manager as a DaemonSet | ||
useDaemonSet: true | ||
|
||
# Tolerate all taints | ||
tolerations: | ||
- effect: NoSchedule | ||
operator: Exists |
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
Oops, something went wrong.