-
Install kcli
https://kcli.readthedocs.io/en/latest/index.html#deploying-kubernetes-openshift-clusters-and-applications-on-top -
Get a pull secret, save as
openshift-pull-secret.json
https://console.redhat.com/openshift/create/local -
Create a secondary network
kcli create network -c 192.168.20.0/24 secondary -
Create this yaml, save as
parameters.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -ex | |
| # Enabling OpenShift FeatureSet on KCLI makes the cluster unstable, hence lets enable specifically just what needed. | |
| # Make sure you have the desired KCLI / HCO nighly deployed (this doc doesnt cover it). | |
| # See https://access.redhat.com/articles/6070641 | |
| # This script enables only OCP features, not HCO ones. | |
| oc patch network.operator.openshift.io cluster --type='merge' -p='{"spec":{"managementState":"Unmanaged"}}' |