OpenShift Agent Based Installer Helper
- This repo holds some utilities to easily leverage the OpenShift Agent-Based Installer. Supports bare metal, vSphere, and platform=none deployments in SNO/3 Node/HA configurations.
Prerequisites
- OneDev - Kcli Pipelines - is configured and running.
Optional: ssh into baremetl server and run the following
$ sudo kcli download image rhel8
$ sudo kcli download image rhel9
Reference Git Repo: https://github.com/Red-Hat-SE-RTO/openshift-agent-install
Configure pipelines
Git Repo: https://github.com/tosin2013/kcli-pipelines.git
Click on import
Click on From URL
Click on Import
using kcli pipelines repo click on the tosin2013/kcli-pipelines.git
to view repos
Start Job
Click .onedev-buildspec.yml *Click on Internal - OpenShift Agent Based Installer Helper
When vyos router is waiting to be configured run the steps below Configure Networking on host Configure Networking on the Host SSH into the bastion node to complete configuration
ssh admin@baremetalhost.com
$ ls -lath vyos-config.sh
$ scp vyos-config.sh vyos@192.168.122.2:/tmp
$ ssh vyos@192.168.122.2
$ vbash /tmp/vyos-config.sh
Wait for deployment to complete it should take 45 minutes to 1 hour
SSH into the bastion node to get the kubeconfig
ssh admin@baremetalhost.com
To validate access to the cluster view the ha proxy stats page:
https://<your-hostname>:1936/haproxy?stats
username and password admin
:password
Optional: Deploy OpenShift Workloads
OpenShift Virtulization Ensure you are using Openshift version 4.15 for menu option equinix-cnv-virtualization
git clone https://github.com/tosin2013/sno-quickstarts.git
cd sno-quickstarts/gitops
# To deploy storage and tag infra nodes
./configure-redhat-labs.sh --configure-infra-nodes --configure-storage
# To deploy workloads
./configure-redhat-labs.sh
1) Exit 8) ./aap-instance
2) ./middleware-ocpv 9) ./acm-gitops-deployment
3) ./vmware-odf-deployment 10) ./equinix-developer-env
4) ./kafka-plus-db 11) ./device-edge-demos
5) ./rhel-edge-management 12) ./developer-env
6) ./sno-ocp-virt 13) ./standard-sno-deployment
7) ./equinix-cnv-virtualization
Check the status of the deployment in ArgoCD
NOTE: You may have to set the default stroage based on deployment Type
# oc patch storageclass ocs-storagecluster-cephfs -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
# Recommened for Openshift Virtualization
# oc patch storageclass ocs-storagecluster-ceph-rbd -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'