-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7331 from stolostron/swope-move-content3
https://issues.redhat.com/browse/ACM-15363--infra nodes file for 2.13…
- Loading branch information
Showing
8 changed files
with
67 additions
and
15 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[#config-infra-node-acm] | ||
= Configuring infrastructure nodes for {acm-short} | ||
|
||
Configure your {ocp-short} cluster to contain infrastructure nodes to run approved {acm-short} management components. Running components on infrastructure nodes avoids allocating {ocp-short} subscription quota for the nodes that are running {acm-short} management components. | ||
|
||
After adding infrastructure nodes to your {ocp-short} cluster, follow the xref:../install/install_connected.adoc#installing-from-the-cli[Installing from the {ocp-short} CLI] instructions and add configurations to the {olm} subscription and `MultiClusterHub` custom resource. | ||
|
||
[#config-infra-nodes-ocp] | ||
== Configuring infrastructure nodes to the {ocp-short} cluster | ||
|
||
Follow the procedures that are described in link:https://docs.redhat.com/documentation/en-us/openshift_container_platform/4.15/html/machine_management/creating-infrastructure-machinesets[Creating infrastructure machine sets] in the {ocp-short} documentation. Infrastructure nodes are configured with a Kubernetes `taints` and `labels` to keep non-management workloads from running on them. | ||
|
||
. To be compatible with the infrastructure node enablement provided by {acm-short}, ensure your infrastructure nodes have the following `taints` and `labels` applied: | ||
|
||
+ | ||
[source,yaml] | ||
---- | ||
metadata: | ||
labels: | ||
node-role.kubernetes.io/infra: "" | ||
spec: | ||
taints: | ||
- effect: NoSchedule | ||
key: node-role.kubernetes.io/infra | ||
---- | ||
|
||
. Add the following additional configuration before applying the {olm} Subscription: | ||
|
||
+ | ||
[source,yaml] | ||
---- | ||
spec: | ||
config: | ||
nodeSelector: | ||
node-role.kubernetes.io/infra: "" | ||
tolerations: | ||
- key: node-role.kubernetes.io/infra | ||
effect: NoSchedule | ||
operator: Exists | ||
---- | ||
|
||
. Add the following additional configuration before you apply the `MultiClusterHub` custom resource: | ||
|
||
+ | ||
[source,yaml] | ||
---- | ||
spec: | ||
nodeSelector: | ||
node-role.kubernetes.io/infra: "" | ||
---- |
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