mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
BZ2054801: Changed agentLabelSelector instances to agentLabels
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
daddb86fd5
commit
30dcd2945b
@@ -79,12 +79,12 @@ spec:
|
||||
name: <cluster_name>
|
||||
namespace: <cluster_name>
|
||||
sshAuthorizedKey: <public_key>
|
||||
agentLabelSelector:
|
||||
matchLabels:
|
||||
cluster-name: <cluster_name>
|
||||
agentLabels: <1>
|
||||
location: "<label-name>"
|
||||
pullSecretRef:
|
||||
name: assisted-deployment-pull-secret
|
||||
nmStateConfigLabelSelector:
|
||||
matchLabels:
|
||||
sno-cluster-<cluster-name>: <cluster_name> # Match this label
|
||||
----
|
||||
<1> Sets a label to match. The labels apply when the agents boot.
|
||||
@@ -245,13 +245,13 @@ spec:
|
||||
name: <cluster_name>
|
||||
namespace: <cluster_name>
|
||||
sshAuthorizedKey: <public_key> <1>
|
||||
agentLabelSelector:
|
||||
matchLabels:
|
||||
cluster-name: <cluster_name>
|
||||
agentLabels: <2>
|
||||
location: "<label-name>"
|
||||
pullSecretRef:
|
||||
name: assisted-deployment-pull-secret
|
||||
----
|
||||
<1> Entered as plain text. You can use the public key to SSH into the target bare-metal host when it boots from the ISO.
|
||||
<2> Sets a label to match. The labels apply when the agents boot.
|
||||
|
||||
. Create the `BareMetalHost` custom resource:
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user