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

  1. Update dan Upgrade package
sudo dnf update -y; sudo dnf upgrade -y
  1. Install package NetworkManager dan wget
sudo dnf install -y NetworkManager wget
  1. 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
  1. Setup dan jalankan CodeReady (Tempel pull secret pada proses crc start)
crc setup
crc start

  1. 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
    1. Siapkan tunnel
    2. Akses https://console-openshift-console.apps-crc.testing

Referensi