Crc: Difference between revisions
Jump to navigation
Jump to search
(→debug) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=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= | =debug= | ||
crc start --log-level debug | crc start --log-level debug | ||
=ssh= | =ssh= | ||
ssh -i /home/crc/.crc/machines/crc/id_ecdsa core@"192.168.130.11" | 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 |
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