Crc

From Halfface
Jump to navigation Jump to search

download crc

Get link from

https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/latest/

Or download strait.

curl -skL https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz -O

Configure oc command

eval $(crc oc-env)

debug

crc start --log-level debug

ssh

ssh -i /home/crc/.crc/machines/crc/id_ecdsa core@"192.168.130.11"

enable monitoring

crc config set enable-cluster-monitoring true

set cpu:s

crc config set cpus 16

set memory

crc config set memory 131072

set kubeadmin password

crc config set kubeadmin-password mypassword

set pull secret

crc config set pull-secret-file /home/abjorklund/.crc/pull_secret_andreas.bjorklund@redbridge.se

delete cluster

crc delete

setup cluster

crc setup

start cluster

crc start

virsh

virsh -c qemu:///system list --all