Skip to content

Commit a296ab1

Browse files
authored
Update README.md
1 parent 2941f58 commit a296ab1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Laravel Docker Images
66
- [⛽ Octane](#-octane)
77
- [🖥 PHP-FPM](#-php-fpm)
88
- [🤖 Workers](#-workers)
9+
- [Scaling Horizon & Octane](#-scaling-horizon-octane)
910

1011
Already-compiled PHP-based Images to use when deploying your Laravel application to Kubernetes using Laravel Helm charts.
1112

@@ -79,3 +80,12 @@ WORKDIR /var/www/html
7980

8081
ENTRYPOINT ["php", "-a"]
8182
```
83+
84+
## Scaling Horizon & Octane
85+
86+
It is well known that for Kubernetes, you may scale based on CPU or memory allocated to each pod. But you can also scale based on Prometheus metrics.
87+
88+
For ease of access, you may use the following exporters for your Laravel application:
89+
90+
- [Laravel Horizon Exporter](https://github.com/renoki-co/horizon-exporter) - used to scale application pods that run the queue workers
91+
- [Laravel Octane Exporter](https://github.com/renoki-co/octane-exporter) - used to scale the Octane pods to ensure better parallelization

0 commit comments

Comments
 (0)