NO-ISSUE: Update docs for BMAC deployment
@@ -23,14 +23,21 @@ Dev Scripts
===
```bash
-# One worker, with enough memory and CPU, should be enough.
-# Use more if resources are not a problem
-export NUM_WORKERS=1
+# Giving Master nodes some extra CPU since we won't be
+# depoloying any workers
+export MASTER_VCPU=4
+export MASTER_MEMORY=20000
+
+# No workers are needed to test BMAC
+export NUM_WORKERS=0
+
# Add extra workers so we can use it for the deployment
export NUM_EXTRA_WORKERS=1
+
# At the time of this writing, this requires the 1195 PR
# mentioned below.
export PROVISIONING_NETWORK_PROFILE=Disabled
+
# By default dev-scripts uses the metal3 BMO image
# clone the downstream version and set the path here.
export BAREMETAL_OPERATOR_LOCAL_IMAGE=/path/to/your/local/clone
@@ -117,18 +124,27 @@ prepared the manifest for us already.
less ocp/ostest/extra_host_manifests.yaml
```
-BMAC will disable inspection for this `BareMetalHost` resource automatically but, if you want to get
-ahead and save some time, you can disable it by modifying the manifest generated by `dev-scripts`
-and adding the following annotation:
+You can modify this manifest to disable inspection, and cleaning. Here's an example on what it would look like:
```
- labels:
- # optionally add the infraenvs annotation, if needed for BMAC
- infraenvs.agent-install.openshift.io: "bmac-test"
-
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: ostest-worker-0
+ namespace: assisted-installer
annotations:
# BMAC will add this annotation if not present
inspect.metal3.io: disabled
+ labels:
+ infraenvs.agent-install.openshift.io: "bmac-test"
+spec:
+ online: true
+ bootMACAddress: 00:ec:ee:f8:5a:ba
+ # Disable automated cleaning mode
+ automatedCleaningMode: disabled
+ bmc:
+ address: ....
+ credentialsName: bmc-secret
```
The above is an optional step. If skipped, the `BareMetalHost` will boot IPA and spend some time in
