Skip to content

CRC Setup

Peter Yurkovich edited this page Feb 4, 2025 · 2 revisions

This is a set of notes and steps to complete the next steps document.

Install Dependencies

CRC

Go here to download CRC.

OC

homebrew install openshift-cli

Configuration

Create a CRC Instance

Run the following commands

crc config set enable-cluster-monitoring true
crc config set memory 23840
crc config set cpus 8
crc config set disk-size 150

[!INFO] These are suggested values for running monitoring and other applications on your cluster. If you have more pressing needs you will need to add more, or move to a full cluster

crc setup
# crc daemon # this is only required on old versions of crc
crc start
crc login https://api.crc.testing:6443 -u kubeadmin -p {PasswordHere}

Enable User Application Monitoring

Create the following yaml file as cluster-monitoring-config.yaml

apiVersion: v1
kind: ConfigMap
metadata:
  name: cluster-monitoring-config
  namespace: openshift-monitoring
data:
  config.yaml: |
    enableUserWorkload: true

Run the following command to instantiate the object

oc apply -f cluster-monitoring-config.yaml

Clone this wiki locally