From e4b9aed3ed4e30e9bc4c696639e02ab859776c2b Mon Sep 17 00:00:00 2001 From: Kyriakos Akriotis Date: Fri, 12 Sep 2025 09:33:42 +0000 Subject: [PATCH 1/2] added timeout in specs, changed version for exporter #24 --- docs/crds/index.md | 51 +++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/docs/crds/index.md b/docs/crds/index.md index c125904..3cdea97 100644 --- a/docs/crds/index.md +++ b/docs/crds/index.md @@ -16,28 +16,29 @@ Typesense Kubernetes Operator is controlling the lifecycle of multiple Typesense ### TypesenseClusterSpec -| Name | Description | Optional | Default | -| ----------------------------- | -------------------------------------------------------- | -------- | ------------- | -| image | Typesense image | | | -| adminApiKey | Reference to the `Secret` to be used for bootstrap | X | | -| replicas | Size of the cluster (allowed 1, 3, 5 or 7) | | 3 | -| apiPort | REST/API port | | 8108 | -| peeringPort | Peering port | | 8107 | -| resetPeersOnError | automatic reset of peers on error | | true | -| enableCors | enables CORS | X | false | -| corsDomains | comma separated list of domains allowed for CORS | X | | -| resources | resource request & limit | X | _check specs_ | -| affinity | group of affinity scheduling rules | X | | -| nodeSelector | node selection constraint | X | | -| tolerations | schedule pods with matching taints | X | | -| additionalServerConfiguration | a reference to a `ConfigMap` holding extra configuration | X | | -| storage | check `StorageSpec` [below](#storagespec-optional) | | | -| ingress | check `IngressSpec` [below](#ingressspec-optional) | X | | -| scrapers | array of `DocSearchScraperSpec`; check below | X | | -| metrics | check `MetricsSpec` below | X | | -| healthcheck | check `HealthCheckSpec` below | X | | -| topologySpreadConstraints | how to spread a group of pods across topology domains | X | | -| incrementalQuorumRecovery | add nodes gradually to the statefulset while recovering | X | false | +| Name | Description | Optional | Default | +| -------------------------------- | -------------------------------------------------------- | -------- | ------------- | +| image | Typesense image | | | +| adminApiKey | Reference to the `Secret` to be used for bootstrap | X | | +| replicas | Size of the cluster (allowed 1, 3, 5 or 7) | | 3 | +| apiPort | REST/API port | | 8108 | +| peeringPort | Peering port | | 8107 | +| resetPeersOnError | automatic reset of peers on error | | true | +| enableCors | enables CORS | X | false | +| corsDomains | comma separated list of domains allowed for CORS | X | | +| resources | resource request & limit | X | _check specs_ | +| healthProbeTimeoutInMilliseconds | timeout for waiting on the health endpoint response | X | 500 | +| affinity | group of affinity scheduling rules | X | | +| nodeSelector | node selection constraint | X | | +| tolerations | schedule pods with matching taints | X | | +| additionalServerConfiguration | a reference to a `ConfigMap` holding extra configuration | X | | +| storage | check `StorageSpec` [below](#storagespec-optional) | | | +| ingress | check `IngressSpec` [below](#ingressspec-optional) | X | | +| scrapers | array of `DocSearchScraperSpec`; check below | X | | +| metrics | check `MetricsSpec` below | X | | +| healthcheck | check `HealthCheckSpec` below | X | | +| topologySpreadConstraints | how to spread a group of pods across topology domains | X | | +| incrementalQuorumRecovery | add nodes gradually to the statefulset while recovering | X | false | :::note @@ -88,9 +89,9 @@ If you are targeting [Open Telekom Cloud](https://www.open-telekom-cloud.com/en) ::: :::caution -Although in official Typesense documentation under *Production Best Practices* -> *Configuration* is stated: +Although in official Typesense documentation under _Production Best Practices_ -> _Configuration_ is stated: -"*Typesense comes built-in with a high performance HTTP server that is used by likes of Fastly in their edge servers at scale. So Typesense can be directly exposed to incoming public-facing internet traffic, without the need to place it behind another web server like Nginx/Apache or your backend API.*" +"_Typesense comes built-in with a high performance HTTP server that is used by likes of Fastly in their edge servers at scale. So Typesense can be directly exposed to incoming public-facing internet traffic, without the need to place it behind another web server like Nginx/Apache or your backend API._" It is highly recommended, from this operator's perspective, to always expose Typesense behind a reverse proxy (using the `referer` option). ::: @@ -113,7 +114,7 @@ If you need to scrape a target that requires authentication, you can add the aut | Name | Description | Optional | Default | | --------- | ----------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------- | -| image | container image to use | X | [akyriako78/typesense-prometheus-exporter](https://github.com/akyriako/typesense-prometheus-exporter):0.1.7 | +| image | container image to use | X | [akyriako78/typesense-prometheus-exporter](https://github.com/akyriako/typesense-prometheus-exporter):0.1.9 | | release | Prometheus release to become a target of | | | | interval | interval in _seconds_ between two scrapes | X | 15 | | resources | resource request & limit | X | _check specs_ | From 9b88076d1f4560e97e64a99d56a5955ccd3125ff Mon Sep 17 00:00:00 2001 From: Kyriakos Akriotis Date: Fri, 12 Sep 2025 09:40:23 +0000 Subject: [PATCH 2/2] added release notes #24 --- blog/2025-09-12-release-0-3-2.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 blog/2025-09-12-release-0-3-2.md diff --git a/blog/2025-09-12-release-0-3-2.md b/blog/2025-09-12-release-0-3-2.md new file mode 100644 index 0000000..bc29188 --- /dev/null +++ b/blog/2025-09-12-release-0-3-2.md @@ -0,0 +1,19 @@ +--- +slug: release-0-3-2 +title: 0.3.2 +authors: [tykobot] +tags: [release] +--- + +## What's Changed + +* FEATURE: configurable healthcheck timeout by @pgray in https://github.com/akyriako/typesense-operator/pull/161 +* updated prometheus exporter default image #162 by @akyriako in https://github.com/akyriako/typesense-operator/pull/163 + +### New Contributors + +* @pgray made their first contribution in https://github.com/akyriako/typesense-operator/pull/161 + +**Full Changelog**: https://github.com/akyriako/typesense-operator/compare/typesense-operator-0.3.1...typesense-operator-0.3.2 + +