M4: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
Created page with "{{howto_header}} {{warning|1=This is little more than a collection of notes at this point. Do not consider anything here to be complete or accurate.}} How to build an offline, minimal, highly available Open Shift cluster. {{footer}}"
 
No edit summary
 
Line 3: Line 3:
{{warning|1=This is little more than a collection of notes at this point. Do not consider anything here to be complete or accurate.}}
{{warning|1=This is little more than a collection of notes at this point. Do not consider anything here to be complete or accurate.}}


How to build an offline, minimal, highly available Open Shift cluster.
How to build an offline/ait-gapped, minimal, highly available Open Shift cluster.


= Notes =


* Bare iron OS is hardly relevant, it gets rebuilt.
*


<syntaxhighlight lang="bash">
defaultimg=""
ctlplanes="1"
kcli create plan --inputfile "$(dirname $0)/deployers/kcli-plan.yml" --threaded --param image=$defaultimg --param ctlplanes=$controllers --param workers=$workers $extregparam "$1"
parameters:
  info: kubesan kcli test plan
  cluster: kubesan-test
  ctlplanes: 3
  workers: 3
  image: fedora40
kubesan-test:  # replace with 'an-anvil-01'
  type: kube
  ctlplanes: {{ ctlplanes }}
  workers: {{ workers }}
  image: {{ image }}    # remove this
  domain: ''           
  <add pull-secret file>
mycluster:
  type: cluster
  kubetype: openshift
  okd: true
  ctlplanes: 3
  workers: 3
</syntaxhighlight>
= References =
* [https://console.redhat.com/openshift/overview RHN OpenShift]
* [https://kcli.readthedocs.io/en/latest/#deploying-openshift-clusters kcli os deploy]
* [https://www.redhat.com/en/blog/deploying-red-hat-openshift-operators-disconnected-environment Deploying Red Hat OpenShift Operators in a disconnected environment]
* [https://kcli.readthedocs.io/en/latest/ kcli]
* [https://gitlab.com/kubesan/kubesan/-/blob/main/tests/deployers/kcli-plan.yml?ref_type=heads example]
* [https://github.com/krnetworktraining1/ocp4-metal-install Aman's link]


{{footer}}
{{footer}}

Latest revision as of 18:29, 18 August 2025

 Alteeve Wiki :: How To :: M4

Warning: This is little more than a collection of notes at this point. Do not consider anything here to be complete or accurate.

How to build an offline/ait-gapped, minimal, highly available Open Shift cluster.

Notes

  • Bare iron OS is hardly relevant, it gets rebuilt.
defaultimg=""
ctlplanes="1"

kcli create plan --inputfile "$(dirname $0)/deployers/kcli-plan.yml" --threaded --param image=$defaultimg --param ctlplanes=$controllers --param workers=$workers $extregparam "$1"

parameters:
  info: kubesan kcli test plan
  cluster: kubesan-test
  ctlplanes: 3
  workers: 3
  image: fedora40


kubesan-test:   # replace with 'an-anvil-01'
  type: kube
  ctlplanes: {{ ctlplanes }}
  workers: {{ workers }}
  image: {{ image }}     # remove this
  domain: ''             
  <add pull-secret file>

mycluster:
  type: cluster
  kubetype: openshift
  okd: true
  ctlplanes: 3
  workers: 3

References

 

Any questions, feedback, advice, complaints or meanderings are welcome.
Alteeve's Niche! Alteeve Enterprise Support Community Support
© 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions.