This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 13f8a6767e8 HDDS-14051. Update k3s version to v1.34.2+k3s1 (#9428)
13f8a6767e8 is described below

commit 13f8a6767e86fdab0b6f15a405d1b4f94703ee6e
Author: ChenChen Lai <[email protected]>
AuthorDate: Fri Dec 5 04:00:58 2025 +0800

    HDDS-14051. Update k3s version to v1.34.2+k3s1 (#9428)
---
 hadoop-hdds/docs/content/start/Kubernetes.md                            | 2 ++
 hadoop-ozone/dev-support/checks/install/k3s.sh                          | 2 +-
 hadoop-ozone/dist/src/main/k8s/README.md                                | 2 ++
 hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-crd.yaml       | 2 +-
 hadoop-ozone/dist/src/main/k8s/definitions/prometheus/role.yaml         | 2 +-
 hadoop-ozone/dist/src/main/k8s/definitions/prometheus/rolebinding.yaml  | 2 +-
 .../k8s/examples/ozone-dev/csi/org.apache.hadoop.ozone-csidriver.yaml   | 2 +-
 .../dist/src/main/k8s/examples/ozone-dev/prometheus-clusterrole.yaml    | 2 +-
 .../k8s/examples/ozone-dev/prometheus-operator-clusterrolebinding.yaml  | 2 +-
 .../main/k8s/examples/ozone/csi/org.apache.hadoop.ozone-csidriver.yaml  | 2 +-
 10 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/hadoop-hdds/docs/content/start/Kubernetes.md 
b/hadoop-hdds/docs/content/start/Kubernetes.md
index 6ecabb70a05..738c1d2f810 100644
--- a/hadoop-hdds/docs/content/start/Kubernetes.md
+++ b/hadoop-hdds/docs/content/start/Kubernetes.md
@@ -25,6 +25,8 @@ weight: 22
  * kubectl
 {{< /requirements >}}
 
+**Note:** The Kubernetes examples and scripts in this project have been tested 
with Kubernetes 1.34.2 (k3s v1.34.2+k3s1).
+
 As the _apache/ozone_ docker images are available from the dockerhub the 
deployment process is very similar to Minikube deployment. The only big 
difference is that we have dedicated set of k8s files for hosted clusters (for 
example we can use one datanode per host)
 Deploy to kubernetes
 
diff --git a/hadoop-ozone/dev-support/checks/install/k3s.sh 
b/hadoop-ozone/dev-support/checks/install/k3s.sh
index 2cd59874267..9a7e8e54a1e 100644
--- a/hadoop-ozone/dev-support/checks/install/k3s.sh
+++ b/hadoop-ozone/dev-support/checks/install/k3s.sh
@@ -17,7 +17,7 @@
 # This script installs K3S.
 # Requires _install_tool from _lib.sh.  Use `source` for both scripts, because 
it modifies $PATH.
 
-: ${K3S_VERSION:="v1.21.2+k3s1"}
+: ${K3S_VERSION:="v1.34.2+k3s1"}
 : ${KUBECONFIG:=/etc/rancher/k3s/k3s.yaml}
 
 _install_k3s() {
diff --git a/hadoop-ozone/dist/src/main/k8s/README.md 
b/hadoop-ozone/dist/src/main/k8s/README.md
index 44e5f97aa38..4d05c5e3fee 100644
--- a/hadoop-ozone/dist/src/main/k8s/README.md
+++ b/hadoop-ozone/dist/src/main/k8s/README.md
@@ -15,6 +15,8 @@
 Ozone on Kubernetes
 ===
 
+**Note:** The Kubernetes examples and scripts in this project have been tested 
with Kubernetes 1.34.2 (k3s v1.34.2+k3s1).
+
 ## Connecting IDE to Ozone on Kubernetes
 
 ### Setup Ozone and Kubernetes
diff --git a/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-crd.yaml 
b/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-crd.yaml
index f0ca37c30aa..fa5e296b178 100644
--- a/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-crd.yaml
+++ b/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-crd.yaml
@@ -13,7 +13,7 @@
 # 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.
-apiVersion: storage.k8s.io/v1beta1
+apiVersion: storage.k8s.io/v1
 kind: CSIDriver
 metadata:
   name: org.apache.hadoop.ozone
diff --git a/hadoop-ozone/dist/src/main/k8s/definitions/prometheus/role.yaml 
b/hadoop-ozone/dist/src/main/k8s/definitions/prometheus/role.yaml
index 194e9f4a2be..438f8f7873a 100644
--- a/hadoop-ozone/dist/src/main/k8s/definitions/prometheus/role.yaml
+++ b/hadoop-ozone/dist/src/main/k8s/definitions/prometheus/role.yaml
@@ -13,7 +13,7 @@
 # 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.
-apiVersion: rbac.authorization.k8s.io/v1beta1
+apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRole
 metadata:
   name: prometheus
diff --git 
a/hadoop-ozone/dist/src/main/k8s/definitions/prometheus/rolebinding.yaml 
b/hadoop-ozone/dist/src/main/k8s/definitions/prometheus/rolebinding.yaml
index ef5105da4e1..9234629f598 100644
--- a/hadoop-ozone/dist/src/main/k8s/definitions/prometheus/rolebinding.yaml
+++ b/hadoop-ozone/dist/src/main/k8s/definitions/prometheus/rolebinding.yaml
@@ -13,7 +13,7 @@
 # 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.
-apiVersion: rbac.authorization.k8s.io/v1beta1
+apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding
 metadata:
   name: prometheus-operator
diff --git 
a/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/org.apache.hadoop.ozone-csidriver.yaml
 
b/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/org.apache.hadoop.ozone-csidriver.yaml
index e657c50f758..aa578e95f84 100644
--- 
a/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/org.apache.hadoop.ozone-csidriver.yaml
+++ 
b/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/org.apache.hadoop.ozone-csidriver.yaml
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-apiVersion: storage.k8s.io/v1beta1
+apiVersion: storage.k8s.io/v1
 kind: CSIDriver
 metadata:
   name: org.apache.hadoop.ozone
diff --git 
a/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/prometheus-clusterrole.yaml 
b/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/prometheus-clusterrole.yaml
index bf62be615b7..2fe727f6832 100644
--- 
a/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/prometheus-clusterrole.yaml
+++ 
b/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/prometheus-clusterrole.yaml
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-apiVersion: rbac.authorization.k8s.io/v1beta1
+apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRole
 metadata:
   name: prometheus-default
diff --git 
a/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/prometheus-operator-clusterrolebinding.yaml
 
b/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/prometheus-operator-clusterrolebinding.yaml
index 13ac066aba9..a1c2d933294 100644
--- 
a/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/prometheus-operator-clusterrolebinding.yaml
+++ 
b/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/prometheus-operator-clusterrolebinding.yaml
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-apiVersion: rbac.authorization.k8s.io/v1beta1
+apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding
 metadata:
   name: prometheus-operator-default
diff --git 
a/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/org.apache.hadoop.ozone-csidriver.yaml
 
b/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/org.apache.hadoop.ozone-csidriver.yaml
index e657c50f758..aa578e95f84 100644
--- 
a/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/org.apache.hadoop.ozone-csidriver.yaml
+++ 
b/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/org.apache.hadoop.ozone-csidriver.yaml
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-apiVersion: storage.k8s.io/v1beta1
+apiVersion: storage.k8s.io/v1
 kind: CSIDriver
 metadata:
   name: org.apache.hadoop.ozone


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to