...
- BMC address define control plane that has a url to communicate to the BMC controller. ICN uses IPMI for communication with BMC controller and has Net C for that control plane traffic
- image field usually has image ins .img and .qcow2 format with their md5sum details
- User Data field is used give k8s secret that hold key information for the OS such as SSH authorization key, hostname or any start-up scripts
Code Block | ||
---|---|---|
| ||
---
apiVersion: v1
kind: Secret
metadata:
name: demo-bmc-secret
type: Opaque
data:
username: cnllbGVzd2E=
password: Y2hhbmdlbWUx
---
apiVersion: metal3.io/v1alpha1
kind: BareMetalHost
metadata:
name: demo
spec:
online: true
bmc:
address: ipmi://172.31.1.17
credentialsName: demo-bmc-secret
image:
url: "http://172.22.0.1/images/bionic-server-cloudimg-amd64.img"
checksum: "http://172.22.0.1/images/bionic-server-cloudimg-amd64.md5sum"
userData:
name: demo-user-data
namespace: metal3 |