Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Add liveness and readiness probes to Kubernetes configs
Jakob Stadlhuber895e80caa421
diff --git a/examples/kubernetes/cluster-install/api.yaml b/examples/kubernetes/cluster-install/api.yamlindex 81e61839b..c709857c7 100644--- a/examples/kubernetes/cluster-install/api.yaml+++ b/examples/kubernetes/cluster-install/api.yaml@@ -26,6 +26,26 @@ spec:name: firecrawl-config#- secretRef:# name: firecrawl-secret+ - livenessProbe:+ httpGet:+ path: /v0/health/liveness+ port: 3002+ initialDelaySeconds: 30+ periodSeconds: 30+ timeoutSeconds: 5+ successThreshold: 1+ failureThreshold: 3+ name: api-container+ - readinessProbe:+ httpGet:+ path: /v0/health/readiness+ port: 3002+ initialDelaySeconds: 30+ periodSeconds: 30+ timeoutSeconds: 5+ successThreshold: 1+ failureThreshold: 3+ name: api-container---apiVersion: v1kind: Servicediff --git a/examples/kubernetes/cluster-install/playwright-service.yaml b/examples/kubernetes/cluster-install/playwright-service.yamlindex e916d9148..a9c24d42b 100644--- a/examples/kubernetes/cluster-install/playwright-service.yaml+++ b/examples/kubernetes/cluster-install/playwright-service.yaml@@ -30,6 +30,26 @@ spec:envFrom:- configMapRef:name: playwright-service-config+ - livenessProbe:+ httpGet:+ path: /health/liveness+ port: 3000+ initialDelaySeconds: 30+ periodSeconds: 30+ timeoutSeconds: 5+ successThreshold: 1+ failureThreshold: 3+ name: playwright-service-container+ - readinessProbe:+ httpGet:+ path: /health/readiness+ port: 3000+ initialDelaySeconds: 30+ periodSeconds: 30+ timeoutSeconds: 5+ successThreshold: 1+ failureThreshold: 3+ name: playwright-service-container---apiVersion: v1kind: Servicediff --git a/examples/kubernetes/cluster-install/worker.yaml b/examples/kubernetes/cluster-install/worker.yamlindex 545beaa39..b904bd78a 100644--- a/examples/kubernetes/cluster-install/worker.yaml+++ b/examples/kubernetes/cluster-install/worker.yaml@@ -23,3 +23,23 @@ spec:name: firecrawl-config#- secretRef:# name: firecrawl-secret+ - livenessProbe:+ httpGet:+ path: /v0/health/liveness+ port: 3002+ initialDelaySeconds: 30+ periodSeconds: 30+ timeoutSeconds: 5+ successThreshold: 1+ failureThreshold: 3+ name: worker-container+ - readinessProbe:+ httpGet:+ path: /v0/health/readiness+ port: 3002+ initialDelaySeconds: 30+ periodSeconds: 30+ timeoutSeconds: 5+ successThreshold: 1+ failureThreshold: 3+ name: worker-container\ No newline at end of file