The Web API Service
The default access is via an HTTPS ingress. To enable the direct-access HTTPS port, see Direct Access HTTPS.
Configuring the Web API Service
The Web API service has default CPU and memory limits, applied to each replica. To change the defaults: in the
See more about Resource Management for Pods and Containers.
The number of workers is the maximum number of worker processes that each Web API's service replica can have. The default is set by the platform, taking into account the app node size. The maximum number of workers is 32.
nginx master process spawns one worker processes right away. Additional workers are spawned lazily if/when incoming workload builds (due to this, each webapi pod may have a different number of workers). Once a worker is spawned, it does not exit until the pod is restarted. Each worker takes around 1.5G of memory, most of it used for XIO buffers pool.
Direct Access Port
The direct access HTTPS port is closed by default. When you open the port, it gets the certificate from the NGINX ingress. To enable and use it:
- In the webapi
Custom Parameterspage, select Expose direct port access.
- Copy the port details in the
Servicespage by pressing Copy to Clipboardand selecting HTTPS_DIRECT.