diff --git a/.vib/opensearch/goss/goss.yaml b/.vib/opensearch/goss/goss.yaml index 313d3b15f3c342..0edd76d6dccb8d 100644 --- a/.vib/opensearch/goss/goss.yaml +++ b/.vib/opensearch/goss/goss.yaml @@ -18,23 +18,6 @@ addr: tcp://opensearch-dashboards:{{ .Vars.dashboards.service.ports.http }}: reachable: true timeout: 180000 -http: - http://opensearch-master-metrics:{{ .Vars.master.metrics.service.ports.metrics }}/_prometheus/metrics: - status: 200 - body: - - /opensearch_jvm.*opensearch-master/ - http://opensearch-data-metrics:{{ .Vars.data.metrics.service.ports.metrics }}/_prometheus/metrics: - status: 200 - body: - - /opensearch_jvm.*opensearch-data/ - http://opensearch-coordinating-metrics:{{ .Vars.coordinating.metrics.service.ports.metrics }}/_prometheus/metrics: - status: 200 - body: - - /opensearch_jvm.*opensearch-coordinating/ - http://opensearch-ingest-metrics:{{ .Vars.ingest.metrics.service.ports.metrics }}/_prometheus/metrics: - status: 200 - body: - - /opensearch_jvm.*opensearch-ingest/ {{- if .Vars.master.containerSecurityContext.enabled }} command: check-no-capabilities: diff --git a/.vib/opensearch/runtime-parameters.yaml b/.vib/opensearch/runtime-parameters.yaml index fa7a722b7295ba..8d0ed57644531a 100644 --- a/.vib/opensearch/runtime-parameters.yaml +++ b/.vib/opensearch/runtime-parameters.yaml @@ -6,33 +6,13 @@ master: containerSecurityContext: enabled: true runAsUser: 1002 - metrics: - enabled: true - service: - ports: - metrics: 83 coordinating: replicaCount: 1 - metrics: - enabled: true - service: - ports: - metrics: 84 data: replicaCount: 2 - metrics: - enabled: true - service: - ports: - metrics: 85 ingest: enabled: true replicaCount: 1 - metrics: - enabled: true - service: - ports: - metrics: 86 service: type: LoadBalancer ports: diff --git a/bitnami/opensearch/CHANGELOG.md b/bitnami/opensearch/CHANGELOG.md index aa30181a5f6463..80ac7d9129f4da 100644 --- a/bitnami/opensearch/CHANGELOG.md +++ b/bitnami/opensearch/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 1.9.4 (2025-05-08) +## 2.0.0 (2025-05-13) -* [bitnami/opensearch] :zap: :arrow_up: Update dependency references ([#33569](https://github.com/bitnami/charts/pull/33569)) +* [bitnami/opensearch] :zap: :arrow_up: Update dependency references ([#33589](https://github.com/bitnami/charts/pull/33589)) + +## 1.9.4 (2025-05-08) + +* [bitnami/opensearch] :zap: :arrow_up: Update dependency references (#33569) ([c359209](https://github.com/bitnami/charts/commit/c3592095ccbe32f6d9a6dc981e6f8bbb03f53f5b)), closes [#33569](https://github.com/bitnami/charts/issues/33569) ## 1.9.3 (2025-05-07) diff --git a/bitnami/opensearch/Chart.yaml b/bitnami/opensearch/Chart.yaml index 4564bb29e821b6..ad6791a513d071 100644 --- a/bitnami/opensearch/Chart.yaml +++ b/bitnami/opensearch/Chart.yaml @@ -5,15 +5,15 @@ annotations: category: Analytics images: | - name: opensearch - image: docker.io/bitnami/opensearch:2.19.2-debian-12-r1 + image: docker.io/bitnami/opensearch:3.0.0-debian-12-r1 - name: opensearch-dashboards - image: docker.io/bitnami/opensearch-dashboards:2.19.2-debian-12-r0 + image: docker.io/bitnami/opensearch-dashboards:3.0.0-debian-12-r0 - name: os-shell image: docker.io/bitnami/os-shell:12-debian-12-r43 licenses: Apache-2.0 tanzuCategory: service apiVersion: v2 -appVersion: 2.19.2 +appVersion: 3.0.0 dependencies: - name: common repository: oci://registry-1.docker.io/bitnamicharts @@ -33,4 +33,4 @@ maintainers: name: opensearch sources: - https://github.com/bitnami/charts/tree/main/bitnami/opensearch -version: 1.9.4 +version: 2.0.0 diff --git a/bitnami/opensearch/README.md b/bitnami/opensearch/README.md index 2a3542fe8e0555..5eaf21aacf6e02 100644 --- a/bitnami/opensearch/README.md +++ b/bitnami/opensearch/README.md @@ -385,7 +385,7 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru | `master.startupProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed (master nodes pod) | `1` | | `master.startupProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded | `5` | | `master.livenessProbe.enabled` | Enable/disable the liveness probe (master-eligible nodes pod) | `true` | -| `master.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated (master-eligible nodes pod) | `90` | +| `master.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated (master-eligible nodes pod) | `180` | | `master.livenessProbe.periodSeconds` | How often to perform the probe (master-eligible nodes pod) | `10` | | `master.livenessProbe.timeoutSeconds` | When the probe times out (master-eligible nodes pod) | `5` | | `master.livenessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed (master-eligible nodes pod) | `1` | @@ -516,7 +516,7 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru | `data.startupProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod) | `1` | | `data.startupProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded | `5` | | `data.livenessProbe.enabled` | Enable/disable the liveness probe (data nodes pod) | `true` | -| `data.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated (data nodes pod) | `90` | +| `data.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated (data nodes pod) | `180` | | `data.livenessProbe.periodSeconds` | How often to perform the probe (data nodes pod) | `10` | | `data.livenessProbe.timeoutSeconds` | When the probe times out (data nodes pod) | `5` | | `data.livenessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod) | `1` | @@ -647,7 +647,7 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru | `coordinating.startupProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod) | `1` | | `coordinating.startupProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded | `5` | | `coordinating.livenessProbe.enabled` | Enable/disable the liveness probe (coordinating-only nodes pod) | `true` | -| `coordinating.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated (coordinating-only nodes pod) | `90` | +| `coordinating.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated (coordinating-only nodes pod) | `180` | | `coordinating.livenessProbe.periodSeconds` | How often to perform the probe (coordinating-only nodes pod) | `10` | | `coordinating.livenessProbe.timeoutSeconds` | When the probe times out (coordinating-only nodes pod) | `5` | | `coordinating.livenessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod) | `1` | @@ -771,7 +771,7 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru | `ingest.startupProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod) | `1` | | `ingest.startupProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded | `5` | | `ingest.livenessProbe.enabled` | Enable/disable the liveness probe (ingest-only nodes pod) | `true` | -| `ingest.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated (ingest-only nodes pod) | `90` | +| `ingest.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated (ingest-only nodes pod) | `180` | | `ingest.livenessProbe.periodSeconds` | How often to perform the probe (ingest-only nodes pod) | `10` | | `ingest.livenessProbe.timeoutSeconds` | When the probe times out (ingest-only nodes pod) | `5` | | `ingest.livenessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod) | `1` | @@ -1106,6 +1106,19 @@ Find more information about how to deal with common errors related to Bitnami's ## Upgrading +### To 2.0.0 + +This major version updates the Opensearch image and Opensearch Dashboard from version 2.x to 3.x. Follow the [official instructions](https://docs.opensearch.org/docs/latest/install-and-configure/upgrade-opensearch/index/) to upgrade to 3.x. + +In addition, this new version of the chart removes the `metrics` related values: + +- `master.metrics.*` +- `data.metrics.*` +- `coordinating.metrics.*` +- `ingest.metrics.*` + +The reason for this change is because the bitnami/opensearch container 3.x no longer contains the prometheus-exporter plugin, which hasn't released a new version since Opensearch 2.17.x and is not supported in Opensearch 3.x. + ### To 1.5.0 This version introduces image verification for security purposes. To disable it, set `global.security.allowInsecureImages` to `true`. More details at [GitHub issue](https://github.com/bitnami/charts/issues/30850). @@ -1135,4 +1148,4 @@ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file +limitations under the License. diff --git a/bitnami/opensearch/values.yaml b/bitnami/opensearch/values.yaml index 9a21912e85e81d..ac475eed48561c 100644 --- a/bitnami/opensearch/values.yaml +++ b/bitnami/opensearch/values.yaml @@ -199,7 +199,7 @@ useIstioLabels: true image: registry: docker.io repository: bitnami/opensearch - tag: 2.19.2-debian-12-r1 + tag: 3.0.0-debian-12-r1 digest: "" ## Specify a imagePullPolicy ## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images @@ -723,7 +723,7 @@ master: ## livenessProbe: enabled: true - initialDelaySeconds: 90 + initialDelaySeconds: 180 periodSeconds: 10 timeoutSeconds: 5 successThreshold: 1 @@ -1261,7 +1261,7 @@ data: ## livenessProbe: enabled: true - initialDelaySeconds: 90 + initialDelaySeconds: 180 periodSeconds: 10 timeoutSeconds: 5 successThreshold: 1 @@ -1800,7 +1800,7 @@ coordinating: ## livenessProbe: enabled: true - initialDelaySeconds: 90 + initialDelaySeconds: 180 periodSeconds: 10 timeoutSeconds: 5 successThreshold: 1 @@ -2302,7 +2302,7 @@ ingest: ## livenessProbe: enabled: true - initialDelaySeconds: 90 + initialDelaySeconds: 180 periodSeconds: 10 timeoutSeconds: 5 successThreshold: 1 @@ -2887,7 +2887,7 @@ dashboards: image: registry: docker.io repository: bitnami/opensearch-dashboards - tag: 2.19.2-debian-12-r0 + tag: 3.0.0-debian-12-r0 digest: "" ## Specify a imagePullPolicy ## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images