Prasyarat
- Mesin Fedora 34 (Baremetal atau VM)
- Akun Red Hat
Versi
- Sistem Operasi: Fedora 34 Cloud Image
- CodeReady: 1.31.2+19538dab
- OpenShift: 4.8.4
Panduan
- Update dan Upgrade package
sudo dnf update -y; sudo dnf upgrade -y
- Install package
NetworkManager
danwget
sudo dnf install -y NetworkManager wget
- Unduh CodeReady dan salin pull secret Tautan Disini
wget https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/1.31.2/crc-linux-amd64.tar.xz
tar xf crc-linux-amd64.tar.xz
cd crc-linux-1.31.2-amd64/
sudo mv crc /usr/local/bin
# Verifikasi
crc version
- Setup dan jalankan CodeReady (Tempel pull secret pada proses
crc start
)
crc setup
crc start
-
Akses CodeReady
- Akses CLI
# Jika ingin melihat kredensial jalankan perintah berikut: # crc console --url --credentials eval $(crc oc-env) oc login -u kubeadmin -p 84C7Q-C3Ecq-aWYXF-V9zR8 https://api.crc.testing:6443
- Akses Browser
- Siapkan tunnel
- Akses https://console-openshift-console.apps-crc.testing