diff --git a/docs/fundamentals/jcloud/advanced.md b/docs/fundamentals/jcloud/advanced.md index 6e62894c7dfc5..b4d1dd2f363a5 100644 --- a/docs/fundamentals/jcloud/advanced.md +++ b/docs/fundamentals/jcloud/advanced.md @@ -91,13 +91,13 @@ Currently ALB is the default gateway for backward compatibility. We use AWS prov ### Kong -Kong is the recommended gateway in JCloud. We use [Let's Encrypt](https://letsencrypt.org/) for TLS with Kong. To enable Kong Gateway instead of ALB, specify the gateway kind as `kong` in your JCloud YAML: +Kong is the recommended gateway in JCloud. We use [Let's Encrypt](https://letsencrypt.org/) for TLS with Kong. To enable Kong Gateway instead of ALB, specify the gateway ingress kind as `kong` in your JCloud YAML: ```yaml jtype: Flow jcloud: gateway: - kind: kong + ingress: kong executors: - name: executor1 uses: jinahub+docker://Executor1 diff --git a/docs/fundamentals/jcloud/resources.md b/docs/fundamentals/jcloud/resources.md index 1d2f1068fb573..b40358debefd7 100644 --- a/docs/fundamentals/jcloud/resources.md +++ b/docs/fundamentals/jcloud/resources.md @@ -149,3 +149,20 @@ executors: memory: 8G gpu: 2 ``` + +### Resources in Gateway + +If in special conditions you'd like to customize the Gateway's CPU or memory, that's possible too. Similarly, `memory` / `cpu` arg needs to be specificed under `resources` from `gateway`. + +```yaml +jtype: Flow +jcloud: + gateway: + resources: + requests: + memory: 800M + cpu: 0.4 +executors: + - name: encoder + uses: jinahub+docker://Encoder +```