Notes taken while working on this project.
Use SDKMAN for managing all Java version on your PC:
sdk list java
gives you a list of avaialable Java versionssdk install java <version
installs a selected Java. For example: sdk install java 19.1.1-grl
Ones the GraalVM is installed you might need native image:
~/.sdkman/candidates/java/<graalvm-version>/bin
./gu install native-image
Quarkus and MongoDB - First Blood
Quarkus and JWT - we are safe now
If you need RSA keys then you can generate them in the following way:
openssl genrsa -out private.pem 2048
openssl rsa -in private.pem -pubout -outform PEM -out publicKey.pem
openssl pkcs8 -topk8 -inform PEM -in private.pem -out privateKey.pem -nocrypt
Use generated privateKey.pem
and publicKey.pem
kubectl rollout restart deploy NAME
See k3ds
You can create a small cluster at https://cloud.okteto.com. It allows for launching at testing applications directly in Kubernetes:irectly in Kubernetes
curl https://get.okteto.com -sSfL | sh
okteto init
okteto/maven:latest
oktekto up
mvn package quarkus:dev
https://<APP>.cloud.okteto.net/
You can launch OpenShift 4.x on you laptop. Visit https://cloud.redhat.com and:
crc setup
crc console