You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### 3.9.1 Option A: Deploy via LLMBatchGateway CR
999
+
1000
+
> **Prerequisite**: The DataScienceCluster must have `aigateway.managementState: Managed` with `aigateway.batchGateway.managementState: Managed` (see [3.5](#35-install-rhoai)). This deploys the ai-gateway-operator, which in turn deploys the batch-gateway-operator.
1001
+
1002
+
<details>
1003
+
<summary>Create LLMBatchGateway CR</summary>
1004
+
1005
+
```bash
1006
+
# Get model URL from the Internal Gateway service
1007
+
INTERNAL_GW_SVC=$(oc get svc -n openshift-ingress \
> -**`processor.globalInferenceGateway.url`**: Points to the Internal Gateway's model endpoint. The Internal Gateway enforces AuthPolicy (model access check) but not TokenRateLimitPolicy.
1061
+
> -**`processor.config.inferenceObjective`**: The `InferenceObjective` CRD name sent as the `x-gateway-inference-objective` header. EPP uses this to assign the request to the batch priority band (priority -1, sheddable).
1062
+
> -**`tls.certManager`**: Enables TLS for the batch API server using cert-manager. In this demo the DestinationRule (see [3.10](#310-configure-httproute-and-policies-for-batch-gateway)) uses `insecureSkipVerify: true` because we use a self-signed certificate; in production, configure a trusted CA.
1063
+
> -**Images**: The operator pins component images (apiserver, processor, gc) from its deployment configuration. You do not set image references in the CR.
1064
+
> -**File storage**: This example uses S3-compatible storage (MinIO). To use a PVC instead, replace `fileStorage.s3` with:
1065
+
> ```yaml
1066
+
> fileStorage:
1067
+
> fs:
1068
+
> basePath: /tmp/batch-gateway
1069
+
> claimName: batch-gateway-files
1070
+
> ```
1071
+
> The PVC must have `ReadWriteMany` access mode (requires NFS, CephFS, or similar).
1072
+
1073
+
</details>
1074
+
1075
+
#### 3.9.2 Option B: Deploy via Helm chart
1076
+
986
1077
<details>
987
-
<summary>Install batch-gateway</summary>
1078
+
<summary>Install batch-gateway with Helm</summary>
> - **`modelGateways.<model>.url`**: The processor uses this URL to send inference requests. It points to the Internal Gateway's model endpoint (discovered from the Internal Gateway Service), not the external Gateway or the model server directly. The Internal Gateway enforces AuthPolicy (model access check) but not TokenRateLimitPolicy.
1039
1130
> - **`passThroughHeaders`**: Defaults to `[Authorization]`, so the processor forwards the end user's bearer token on inference calls without extra configuration. Override this only if you need a different set of headers.
1040
1131
>
1041
-
> -**`apiserver.tls.certManager.*`**: Enables TLS for the batch API server using cert-manager. The `issuerName` must match a ClusterIssuer (e.g. `selfsigned-issuer`). The `dnsNames` should include the Service name and FQDN for TLS certificate generation. In this demo the DestinationRule (see 3.9) uses `insecureSkipVerify: true` because we use a self-signed certificate; in production, configure a trusted CA and set `insecureSkipVerify: false`.
1132
+
> - **`apiserver.tls.certManager.*`**: Enables TLS for the batch API server using cert-manager. The `issuerName` must match a ClusterIssuer (e.g. `selfsigned-issuer`). The `dnsNames` should include the Service name and FQDN for TLS certificate generation. In this demo the DestinationRule (see 3.10) uses `insecureSkipVerify: true` because we use a self-signed certificate; in production, configure a trusted CA and set `insecureSkipVerify: false`.
1042
1133
> - **File storage**: This example uses S3-compatible storage (MinIO). To use a PVC instead, replace the `s3` options with:
0 commit comments