Crc: Difference between revisions

From Halfface
Jump to navigation Jump to search
Line 1: Line 1:
=oc=
=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
Configure oc command
  eval $(crc oc-env)
  eval $(crc oc-env)
=debug=
=debug=
  crc start --log-level debug
  crc start --log-level debug

Revision as of 11:54, 1 December 2022

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

delete cluster

crc delete

setup cluster

crc setup

start cluster

crc start

virsh

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