Skip to content

Commit 13f8a67

Browse files
authored
HDDS-14051. Update k3s version to v1.34.2+k3s1 (#9428)
1 parent bad3e16 commit 13f8a67

File tree

10 files changed

+12
-8
lines changed

10 files changed

+12
-8
lines changed

hadoop-hdds/docs/content/start/Kubernetes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ weight: 22
2525
* kubectl
2626
{{< /requirements >}}
2727

28+
**Note:** The Kubernetes examples and scripts in this project have been tested with Kubernetes 1.34.2 (k3s v1.34.2+k3s1).
29+
2830
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)
2931
Deploy to kubernetes
3032

hadoop-ozone/dev-support/checks/install/k3s.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# This script installs K3S.
1818
# Requires _install_tool from _lib.sh. Use `source` for both scripts, because it modifies $PATH.
1919

20-
: ${K3S_VERSION:="v1.21.2+k3s1"}
20+
: ${K3S_VERSION:="v1.34.2+k3s1"}
2121
: ${KUBECONFIG:=/etc/rancher/k3s/k3s.yaml}
2222

2323
_install_k3s() {

hadoop-ozone/dist/src/main/k8s/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
Ozone on Kubernetes
1616
===
1717

18+
**Note:** The Kubernetes examples and scripts in this project have been tested with Kubernetes 1.34.2 (k3s v1.34.2+k3s1).
19+
1820
## Connecting IDE to Ozone on Kubernetes
1921

2022
### Setup Ozone and Kubernetes

hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16-
apiVersion: storage.k8s.io/v1beta1
16+
apiVersion: storage.k8s.io/v1
1717
kind: CSIDriver
1818
metadata:
1919
name: org.apache.hadoop.ozone

hadoop-ozone/dist/src/main/k8s/definitions/prometheus/role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16-
apiVersion: rbac.authorization.k8s.io/v1beta1
16+
apiVersion: rbac.authorization.k8s.io/v1
1717
kind: ClusterRole
1818
metadata:
1919
name: prometheus

hadoop-ozone/dist/src/main/k8s/definitions/prometheus/rolebinding.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16-
apiVersion: rbac.authorization.k8s.io/v1beta1
16+
apiVersion: rbac.authorization.k8s.io/v1
1717
kind: ClusterRoleBinding
1818
metadata:
1919
name: prometheus-operator

hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/org.apache.hadoop.ozone-csidriver.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
apiVersion: storage.k8s.io/v1beta1
17+
apiVersion: storage.k8s.io/v1
1818
kind: CSIDriver
1919
metadata:
2020
name: org.apache.hadoop.ozone

hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/prometheus-clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
apiVersion: rbac.authorization.k8s.io/v1beta1
17+
apiVersion: rbac.authorization.k8s.io/v1
1818
kind: ClusterRole
1919
metadata:
2020
name: prometheus-default

hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/prometheus-operator-clusterrolebinding.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
apiVersion: rbac.authorization.k8s.io/v1beta1
17+
apiVersion: rbac.authorization.k8s.io/v1
1818
kind: ClusterRoleBinding
1919
metadata:
2020
name: prometheus-operator-default

hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/org.apache.hadoop.ozone-csidriver.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
apiVersion: storage.k8s.io/v1beta1
17+
apiVersion: storage.k8s.io/v1
1818
kind: CSIDriver
1919
metadata:
2020
name: org.apache.hadoop.ozone

0 commit comments

Comments
 (0)