Perform the below commands one by one to install OpenShift
1
2
3
4
crc setup
crc config set cpus 4crc config set memory 10000crc start -p pull-secret
HAProxy installation procedure
Perform this procedure only on a local network. Exposing an insecure server on the internet has many security implications.
Ensure that the cluster remains running during this procedure.
Install the haproxy package and other utilities by running the script haproxy.sh from here:
haproxy.sh
Change permissions for the file
1
chmod +x haproxy.sh
Run the script
1
./haproxy.sh
Add a wildcard in Adguard Home / Pi-Hole for IP address. See the video.
Now test the cluster with openshift CLI or in short oc
1
2
3
4
5
6
7
echo'eval $(crc oc-env)' >> ~/.bashrc
source ~/.bashrc
oc login -u kubeadmin https://api.crc.testing:6443
oc get projects
oc get nodes
oc get pods -A
oc get all -A