From adf6610823ed1b8c71646ad8ea6d1804530015c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20M=C4=9Bkota?= <19909361+pixelneo@users.noreply.github.com> Date: Tue, 8 Oct 2024 15:41:55 +0200 Subject: [PATCH 1/2] Fix broken link to StatefulSet update strategies in documentation (#8084) Updated the link to the correct Kubernetes StatefulSet update strategies documentation in the orchestration guide to ensure users are directed to the right section for the OnDelete update strategy. --- .../elasticsearch/orchestration.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/orchestrating-elastic-stack-applications/elasticsearch/orchestration.asciidoc b/docs/orchestrating-elastic-stack-applications/elasticsearch/orchestration.asciidoc index f1a117940d..d146da4c3c 100644 --- a/docs/orchestrating-elastic-stack-applications/elasticsearch/orchestration.asciidoc +++ b/docs/orchestrating-elastic-stack-applications/elasticsearch/orchestration.asciidoc @@ -104,7 +104,7 @@ Behind the scenes, ECK translates each NodeSet specified in the Elasticsearch re * `podTemplate` can be used to <<{p}-customize-pods,customize some aspects of the Elasticsearch Pods>> created by the underlying StatefulSet. * The StatefulSet name is derived from the Elasticsearch resource name and the NodeSet name. Each Pod in the StatefulSet gets a name generated by suffixing the pod ordinal to the StatefulSet name. Elasticsearch nodes have the same name as the Pod they are running on. -The actual Pod creation is handled by the StatefulSet controller in Kubernetes. ECK relies on the link:https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#on-delete[OnDelete StatefulSet update strategy] since it needs full control over when and how Pods get upgraded to a new revision. +The actual Pod creation is handled by the StatefulSet controller in Kubernetes. ECK relies on the link:https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies[OnDelete StatefulSet update strategy] since it needs full control over when and how Pods get upgraded to a new revision. When a Pod is removed and recreated (maybe with a newer revision), the StatefulSet controller makes sure that the PersistentVolumes attached to the original Pod are then attached to the new Pod. @@ -244,4 +244,4 @@ spec: version: 7.15.3 # previously set to 7.15.2, for example ``` -The ECK operator would allow this upgrade to proceed, even though the cluster was in a "red" state during this upgrade process. \ No newline at end of file +The ECK operator would allow this upgrade to proceed, even though the cluster was in a "red" state during this upgrade process. From cc1e1c815775acd1240723f20ed73efcd2690e81 Mon Sep 17 00:00:00 2001 From: "elastic-renovate-prod[bot]" <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 05:28:08 +0000 Subject: [PATCH 2/2] chore(deps): update wolfi (versioned) --- build/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index cb99dc5ef0..50286eeed8 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,5 +1,5 @@ # Build the operator binary -FROM docker.elastic.co/wolfi/go:1.23.1@sha256:aa8c568a6b32f804777fe751d805ddba19e4f83057600aab7b32b0b08ea09462 as builder +FROM docker.elastic.co/wolfi/go:1.23.2@sha256:f338e203c90f7e084b2eb146c91cd1118fa2a79ea1729bf24d793fe5c01987ce as builder ARG VERSION ARG SHA1 @@ -27,7 +27,7 @@ RUN --mount=type=cache,mode=0755,target=/go/pkg/mod \ # --------------------------------------------- # Copy the operator binary into a lighter image -FROM docker.elastic.co/wolfi/static:latest@sha256:d2a76860057c1260ea5dc8ae4e18beff5ccfb1b67004295c9ab6951833e93de7 +FROM docker.elastic.co/wolfi/static:latest@sha256:f0444e0c32aa0d22cca6de79e160306e9f24140fea0ac97c41789ee59814aa87 ARG VERSION