Increase the default limit range resources
Presslabs Dashboard has default limit ranges for memory and CPU, which you can modify to accommodate your site’s requirements.
A LimitRange is a policy to constrain resource allocations (to Pods or Containers) in a namespace, you can read more about them in the Kubernetes Documentation .
Usually these default limit ranges need to be modified if your site has performance problems, like difficulties in scaling MySQL or is missing certain features.
The default limit ranges on the Presslabs Dashboard are:
spec: limits: - default: memory: 512Mi defaultRequest: cpu: 50m memory: 256Mi type: Container
To modify the resources limit ranges, follow the next steps:
- Connect to your cluster where Presslabs Dashboard is installed.
- Search for the project namespace of your site, you can see it in the Presslabs Dashboard, in the Runtime section of your site.
- Run the following command (replacing
<your_namespace>with the namespace of your project):
kubectl -n <your_namespace> edit limitrange presslabs-dashboard
- Edit the resources as needed.
Add custom init containers
If you want to run migrations or perform other operations that are required before your site starts, [...]
Sometimes you will need to set custom variables in ProxySQL configuration or you will want to cache [...]
Set custom WordPress Readiness Probe
Details on how to tweak the readiness probe timings and path.
Setup custom certificates for a site
We already take care of the certificate management, but if you want to use your own certificates you [...]