Crc: Difference between revisions

From Halfface
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
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
Line 15: Line 20:
=set kubeadmin password=
=set kubeadmin password=
  crc config set kubeadmin-password mypassword
  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=
=delete cluster=
Line 22: Line 29:
=start cluster=
=start cluster=
  crc start
  crc start
=virsh=
virsh -c qemu:///system list --all

Latest revision as of 12:06, 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

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