Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
minikube v1.8.1 on Darwin 10.14.6
Automatically selected the hyperkit driver
Downloading VM boot image ...
Creating hyperkit VM (CPUs=2, Memory=3072MB, Disk=20000MB) ...
Preparing Kubernetes v1.17.3 on Docker 19.03.6 ...
Launching Kubernetes ... 
Enabling addons: default-storageclass, storage-provisioner
Waiting for cluster to come online ...
Done! kubectl is now configured to use "minikube"


2. Install Ingress on Minikube for external access:

Code Block
minikube addons enable ingress


Test Minikube Installation

...

1. Deploy joget image using an example YAML file. Download the contents of joget-dxdx7-tomcat9-deployment.yaml into a file with the same name and run kubectl.

Thai

เมื่อฐานข้อมูล MySQL ทำงานแล้วให้เรียกใช้อิมเมจ Docker image for Joget Enterprise ที่เชื่อมต่อกับบริการ MySQL นั้น

1. ปรับใช้อิมเมจ joget โดยใช้ไฟล์ YAML ตัวอย่าง ดาวน์โหลดเนื้อหาของ joget-dx7-dxtomcat9-deployment.yaml ลงในไฟล์ที่มีชื่อเดียวกันและรัน kubectl


View file
namejoget-dxdx7-tomcat9-deployment.yaml
height250

Code Block
kubectl apply -f joget-dx7-dxtomcat9-deployment.yaml

2. Inspect the deployment

...

Code Block
kubectl describe deployment joget-dx7-tomcat9
kubectl get pods -l app=joget-dx7-tomcat9

3. Once the STATUS is Running, get the URL for the service

...

Code Block
minikube service joget-dx7-tomcat9 --url

4. Access the URL in a browser with an additional /jw in the path to access the Joget App Center e.g. http://192.168.99.100:32496/jw

Thai

เข้าถึง URL ในเบราว์เซอร์ที่มี / jw เพิ่มเติมในเส้นทางเพื่อเข้าถึง Joget App Center เช่น http://192.168.99.100:32496/jw


You now have a running installation of Joget, and you’ll be able to visually build a full app in 30 minutes without coding.

...

Code Block
kubectl scale --replicas=2 deployment joget-dx7-tomcat9

2. Examine the running pods, and you should see 2 pods running Joget

...

Code Block
kubectl get pods
NAME                     READY STATUS RESTARTS   AGE
joget-dx7-tomcat9-7d879db895-c9sbb   1/1 Running 0    27s
joget-dx7-tomcat9-7d879db895-wpnsf   1/1 Running 0    37m
mysql-7b9b7999d8-lk9gq   1/1 Running 0    65m

...

Code Block
kubectl scale --replicas=1 deployment joget-dx7-tomcat9

4. Examine the running pods, and you should now see 1 pod running Joget.

...