mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
Moves CI and local development off Kubernetes 1.34, which reached end of life on 2026-10-27. The CAPD node image's kindest/node base, which supplies the kubelet and kubeadm of every container node, moves from v1.34.8 to v1.36.4. kubeadm deploys a control plane at most one minor version older than itself, so every cluster version on that base moves with it: tenant defaults to 1.36.3, and site clusters and the control-plane roll target to the base's 1.36.4. The other 1.34.2 defaults move to 1.36.3: the nico-vms entries, the sample scripts and Tilt buttons, the nvkectl smoke suite and the kind smoke lane's site spec. The upgrade test starts at 1.35.3 and upgrades to 1.36.3, and the no-VIP spec, which took its target from that chain, asks for the roll target instead. The e2e kubectl image moves to alpine/k8s 1.36.4. The local development channel keys its release under "1.36". Implements part of #2041. Signed-off-by: Abhay Krishna Arunachalam <abhaykrishna@nvidia.com>
69 lines
2.0 KiB
YAML
69 lines
2.0 KiB
YAML
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Example CreateClusterRequest for a local CAPD (Docker-backed CAPI) cluster.
|
|
# Field names match the controller API exactly — see /api/docs on your management plane.
|
|
#
|
|
# Usage: nvkectl create cluster -f examples/capd-cluster.yaml
|
|
#
|
|
# Prerequisites:
|
|
# - tilt up running with CAPD enabled
|
|
# - nvkectl config set-site --url http://localhost:8080
|
|
|
|
name: my-cluster
|
|
controlPlaneKubernetesVersion: 1.36.3
|
|
cniPlugin: ovn-kubernetes
|
|
etcdEncrypted: false
|
|
|
|
controlPlaneConfig:
|
|
desiredCount: 1
|
|
systemReservedMemory: "1Gi"
|
|
infra:
|
|
preKubeadmCommands:
|
|
- "mkdir -p /run/cluster-api"
|
|
- "echo success > /run/cluster-api/bootstrap-success.complete"
|
|
machineTemplate:
|
|
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
|
|
kind: DockerMachineTemplate
|
|
spec:
|
|
template:
|
|
spec:
|
|
customImage: cwe-capd-kindest-node:local
|
|
extraMounts:
|
|
- containerPath: /var/run/docker.sock
|
|
hostPath: /var/run/docker.sock
|
|
|
|
nodePools:
|
|
- name: worker
|
|
nodeNamePrefix: w
|
|
desiredNodeCount: 1
|
|
controlPlane: false
|
|
systemReservedMemory: "1Gi"
|
|
nodeLabels:
|
|
tier: compute
|
|
autoProvisionDisabled: false
|
|
autoModeDisabled: false
|
|
recycleBudget: 0
|
|
infra:
|
|
preKubeadmCommands:
|
|
- "mkdir -p /run/cluster-api"
|
|
- "echo success > /run/cluster-api/bootstrap-success.complete"
|
|
machineTemplate:
|
|
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
|
|
kind: DockerMachineTemplate
|
|
spec:
|
|
template:
|
|
spec:
|
|
customImage: cwe-capd-kindest-node:local
|
|
extraMounts:
|
|
- containerPath: /var/run/docker.sock
|
|
hostPath: /var/run/docker.sock
|
|
|
|
infra:
|
|
cluster:
|
|
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
|
|
kind: DockerCluster
|
|
metadata:
|
|
name: my-cluster
|
|
spec: {}
|