Skip to content

Commit

Permalink
[NOPR] suite: rpardini's lab suite/values.yaml stuff [NOPR]
Browse files Browse the repository at this point in the history
[NOPR] suite: lab values reorg
[NOPR] suite: disable a few & add odroidm1
  • Loading branch information
rpardini committed Jul 20, 2024
1 parent a3f9aae commit b81cd78
Showing 1 changed file with 49 additions and 37 deletions.
86 changes: 49 additions & 37 deletions tinkerbell/suite/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,49 @@ nodePort:
enabled: true
port: 32013

smee:
hostNetwork: true # no proxies, loadbalancers, or anything: it just runs as if directly on the k8s host.
logLevel: "debug"
# @TODO bug in smee chart, the values is under http: but the usage is not
trustedProxies: [ "0.0.0.0/0" ] # Trust _all_ proxies, insecure
imagePullPolicy: Always # I re-push it there sometimes
deployment:
strategy:
type: Recreate # stop old pod before creating a new one

hegel:
trustedProxies: [ "0.0.0.0/0" ] # Trust _all_ proxies, insecure

tink:
controller:
imagePullPolicy: Always
server:
imagePullPolicy: Always


#### SHOWCASE. Needs to know coordinates to where Hegel / Smee (syslog, etc) and HookOS vmlinux and OS images are.
showcase:
enabled: true

jobs:
enabled: true # false to completely skip generating jobs
nodeSelector: null # must match where hookImageServer runs

tinkerbell:
hostDirectory: "/opt/hook-jolly-roger" # This will be needed in smee one day as well, to serve DTB files over TFTP for u-boot
# These two should point to hookImageServer
hookURL: "http://192.168.99.2:32083"
imagesURL: "http://192.168.99.2:32083"
# points to smee at :514
syslogHost: "192.168.99.2"
# tink's grpc nodeport
grpcAuthority: "192.168.99.2:32013"
# Hegel nodeport
hegelURL: "http://192.168.99.2:32061"




hardware:
common:
uefi: true
Expand Down Expand Up @@ -82,8 +123,8 @@ showcase:
ipv4:
address: "192.168.99.59"
extraKernelCommandLine: "console=ttyS0"
imageRef: "fatso-ubuntu-noble-local-amd64"
#imageRef: "fatso-ubuntu-noble-baremetal-amd64"
#imageRef: "fatso-ubuntu-noble-local-amd64"
imageRef: "fatso-ubuntu-noble-baremetal-amd64"
hookRef: "default-hook-amd64"
userData: |
#include https://cloud-init.pardini.net/rpardini/oldskool-rpardini/master/base
Expand All @@ -110,12 +151,10 @@ showcase:
#mac: "3c:18:a0:15:9a:9f" # thinkpad 100mbit/s?
#mac: "8c:ae:4c:dd:10:78" # 2.5gbit plugable
mac: "3c:18:a0:95:69:f7" # amazonbasics white usb3
rootDisk: "/dev/sda"
rootDisk: "/dev/disk/by-id/ata-TS120GMTS420S_naa.57c3548212839d88" # which is sda
ipv4:
address: "192.168.99.70"
#extraKernelCommandLine: "console=ttyUSB0,115200"
#extraKernelCommandLine: "console=tty0 "
extraKernelCommandLine: "console=tty0 " # console=ttyUSB0,115200 # n8 breaks getty?
extraKernelCommandLine: "console=ttyUSB0,115200 console=tty0" #
#hookOverride:
# bootMode: kexec
userData: |
Expand All @@ -133,8 +172,8 @@ showcase:
#imageRef: "fatso-ubuntu-noble-local-amd64"
#imageRef: "fatso-rocky8-baremetal-amd64"
#imageRef: "fatso-rocky8-local-amd64"
#imageRef: "fatso-ubuntu-noble-baremetal-amd64"
imageRef: "fatso-ubuntu-noble-baremetal-amd64"
#imageRef: "fatso-ubuntu-noble-local-amd64"


###
Expand Down Expand Up @@ -185,6 +224,9 @@ showcase:
ipv4:
address: "192.168.99.53"

"odroidm1":
enabled: true

# Raspberry Pi 4B (bcm2711), using edk2 UEFI firmware on an SD card, and an external NVMe-USB disk
"rpi4b":
enabled: false
Expand All @@ -203,33 +245,3 @@ showcase:
rootDisk: "/dev/disk/by-id/nvme-WD_Blue_SN570_1TB_231421807346" # Gooo!


tinkerbell:
hostDirectory: "/opt/hook-jolly-roger" # This will be needed in smee one day as well, to serve DTB files over TFTP for u-boot
# These two should point to hookImageServer
hookURL: "http://192.168.99.2:32083"
imagesURL: "http://192.168.99.2:32083"
# points to smee at :514
syslogHost: "192.168.99.2"
# tink's grpc nodeport
grpcAuthority: "192.168.99.2:32013"
# Hegel nodeport
hegelURL: "http://192.168.99.2:32061"

smee:
hostNetwork: true # no proxies, loadbalancers, or anything: it just runs as if directly on the k8s host.
logLevel: "debug"
# @TODO bug in smee chart, the values is under http: but the usage is not
trustedProxies: [ "0.0.0.0/0" ] # Trust _all_ proxies, insecure
imagePullPolicy: Always # I re-push it there sometimes
deployment:
strategy:
type: Recreate # stop old pod before creating a new one

hegel:
trustedProxies: [ "0.0.0.0/0" ] # Trust _all_ proxies, insecure

tink:
controller:
imagePullPolicy: Always
server:
imagePullPolicy: Always

0 comments on commit b81cd78

Please sign in to comment.