justapi — /docs

1. Create GKE Cluster

gcloud container clusters create justapi-cluster \
  --zone us-central1-a \
  --num-nodes 3 \
  --machine-type e2-standard-2

2. Get Credentials

gcloud container clusters get-credentials justapi-cluster --zone us-central1-a

3. Install NGINX Ingress Controller

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/cloud/deploy.yaml

4. Install cert-manager

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/latest/download/cert-manager.yaml

5. Build and Push to GCR

docker build -t gcr.io/$PROJECT_ID/justapi-app:latest .
docker push gcr.io/$PROJECT_ID/justapi-app:latest

6. Deploy with Helm

helm upgrade --install my-app justapi/justapi \
  --set image.repository=gcr.io/$PROJECT_ID/justapi-app \
  --set image.tag=latest \
  --set ingress.enabled=true \
  --set ingress.host=api.example.com

See Also

JustAPI v2.0.9 — Open Source MIT License · Built with WebTUI · GitHub

NORMAL master justapi/docs
utf-8 Top 1:1