Skip to content

Instantly share code, notes, and snippets.

@rmb938
Created May 12, 2020 18:16
Show Gist options
  • Save rmb938/358a824292b6500f8b5b66016e8d8643 to your computer and use it in GitHub Desktop.
Save rmb938/358a824292b6500f8b5b66016e8d8643 to your computer and use it in GitHub Desktop.
apiVersion: baremetal.com.rmb938/v1alpha1
kind: BareMetalHardware
metadata:
name: baremetalhardware-sample
namespace: default
spec:
canProvision: true
imageDrive: nvme0n1
nics:
- name: eth0
networkRef:
group: baremetal.com.rmb938
kind: BareMetalNetwork
name: baremetalnetwork-sample
primary: true
systemUUID: 00000000-0000-0000-0000-f3ee00f0f3ee
status:
conditions:
- lastTransitionTime: "2020-05-11T20:48:31Z"
message: hardware information is set
reason: HardwareIsSet
status: "True"
type: HardwareSet
- lastTransitionTime: "2020-05-11T20:48:31Z"
message: nics are found
reason: ValidNics
status: "True"
type: NicsValid
- lastTransitionTime: "2020-05-11T20:48:31Z"
message: found image drive
reason: ValidImageDrive
status: "True"
type: ImageDriveValid
hardware:
cpu:
architecture: amd64
cpus: "16"
modelName: AMD Ryzen 7 2700 Eight-Core Processor
nics:
- mac: d0:50:99:d3:47:d1
name: eth0
speed: 1G
- mac: d0:50:99:d3:47:d2
name: eth1
speed: 1G
ram: "67377283072"
storage:
- name: nvme0n1
rotational: false
serial: C723076C020835020898
size: "120034123776"
trim: true
instanceRef:
name: baremetalinstance-sample
namespace: default
uid: 2fb5f840-34b0-4fb1-bdfc-e9487c49e2f8
apiVersion: baremetal.com.rmb938/v1alpha1
kind: BareMetalInstance
metadata:
name: baremetalinstance-sample
namespace: default
spec: {}
status:
conditions:
- lastTransitionTime: "2020-05-12T13:27:17Z"
status: "True"
type: InstanceScheduled
- lastTransitionTime: "2020-05-12T13:27:17Z"
status: "True"
type: InstanceNetworkConfigured
- lastTransitionTime: "2020-05-12T13:30:47Z"
status: "True"
type: InstanceImaged
hardwareName: baremetalhardware-sample
phase: Running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment