Setup (Windows 10) - MarkBroerkens/Tutorial_Microservices GitHub Wiki

Im Folgenden findet ihr Anleitungen zum Einrichten einer Entwicklungsumgebung unter Windows 10.
Für die Konsolenbefehle ist die git Bash zu empfehlen. Alle Anleitungen wurden in dieser durchgeführt.

Get Started

Installation OpenShift
  • https://developers.redhat.com/products/codeready-containers

  • Registrierung

  • Download for local machine (preconfigured container)

  • extract to disk

  • add PATH to environment variable

  • use doc.pdf to get started

  • crc setup

  • allow admin

    On Error-Output level=error msg="Unable to perform Hyper-V administrative commands. Please make sure to re-login or reboot your system" add user-account to Hyper-V admin group (Computerverwaltung - Gruppen) Hinweis: VPN Verbindung wird benötigt, wenn der Account in einer Remote-Domäne liegt.

  • restart

  • crc setup (success)

  • download pull-secret.txt from redhat (https://cloud.redhat.com/openshift/install/crc/installer-provisioned)

  • crc start -p ~/Downloads/pull-secret.txt

  • allow network changes (add DNS-Server)

  • crc status (ensure running)

  • add "C:\Users[username].crc\bin" to Path environement variable

  • crc console

  • allow unsafe certificate (browser opened)

  • login "kubeadmin" with credentials from outputted info-log

    Alternative: oc login -u _developer_ -p _developer_ https://api.crc.testing:6443 --insecure-skip-tls-verify oc login -u _kubeadmin_ -p _outputted-Password_ https://api.crc.testing:6443 --insecure-skip-tls-verify

    Hinweis: crc console --credentials gibt die Zugangsdaten für den OpenShift-Server aus.

  • oc scale --replicas=1 statefulset --all -n openshift-monitoring; oc scale --replicas=1 deployment --all -n openshift-monitoring startet Monitoring

Installation Docker
Docker
Installation Git
Git
Installation Node.js
Node.js
Installation JDK
JDK
Installation Maven
Maven
⚠️ **GitHub.com Fallback** ⚠️