sno-quickstarts
Argo CD applicatioins to configure a SNO OpenShift cluster.
Deployment Types:
-
SNO (Single Node Openshift) witn OpenShift Virtualization
- RHACM (Red Hat Advanced Cluster Management)
- chronyc (chrony client)
- hostpath-provisioner (hostpath-provisioner)
- mutli-cluster engine
- Openshift gitops
- Openshift pipelines
- OpenShift Virtualization
-
SNO (Single Node Openshift) for Standard Deployments
- Openshift pipelines
- OpenShift Data Foundation
- OpenShift LVM Operator (for ODF)
-
RHEL Device Edge Manager
- Openshift pipelines
- Red Hat Quay
Prerequisites
- OpenShift 4.11 Cluster installed via the Assisted Installer
- kustomize for testing
Deploying the SNO Quickstart
Fork reposity to your own repo
curl -OL https://raw.githubusercontent.com/tosin2013/openshift-demos/master/quick-scripts/deploy-gitea.sh
chmod +x deploy-gitea.sh
./deploy-gitea.sh
Login into the OpenShift Cluster as a cluster-admin user
oc login -u kubeadmin -p <password> https://api.<cluster-name>.<domain>:6443
run deploy.sh script
git clone https://github.com/tosin2013/sno-quickstarts.git
cd sno-quickstarts/gitops
./deploy.sh
add registry to ArgoCD cluster
Standard GitOpsdeployment
RHACM 2.8
# oc create -f gitops/apps/acm-gitops-deployment/cluster-config.yaml
Configure Cluster
Review Argo CD Applications before deployment
SNO (Single Node Openshift) witn OpenShift Virtualization
you will have to make changes to the repos in the yaml files you will also need to remove any files that are not needed for your deployment.
cd gitops/cluster-config/apps/sno-ocp-virt
SNO (Single Node Openshift) for Standard Deployments
you will have to make changes to the repos in the yaml files you will also need to remove any files that are not needed for your deployment.
cd gitops/apps/standard-sno-deployment/
SNO (Single Node Openshift) witn OpenShift Virtualization
Change Repo path
vim gitops/apps/sn-ocp-virt/cluster-config.yaml
Apply Configuration to cluster
oc create -f gitops/apps/sn-ocp-virt/cluster-config.yaml
SNO (Single Node Openshift) for Standard Deployments
Change Repo path
vim gitops/apps/standard-sno-deployment/cluster-config.yaml
Apply Configuration to cluster
oc create -f gitops/apps/standard-sno-deployment/cluster-config.yaml