Skip to content

Commit a65ec14

Browse files
docs(kubernetes): generate the KubernetesNodes worker pool reference
From v1.7 a managed Kubernetes cluster gets its workers from KubernetesNodes resources: `nodeGroups` is gone from the kubernetes chart. The kubernetes-nodes README is generated by cozyvalues-gen and in sync with values.yaml at v1.7.0-rc.1, but no docs version renders it, so the pool options have no reference page. Render it as a page inside the Kubernetes section, next to the cluster reference in kubernetes/_index.md, from its own list so that it is a regular page rather than a second index section. The v1.6 tree has no template for it, so v1.6 patch releases skip it. Assisted-By: LLM Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
1 parent 25f517b commit a65ec14

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

‎Makefile‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,13 @@ endif
7474
# App lists (override on the command line: `make update-apps APPS="tenant redis"`)
7575
APPS ?= tenant clickhouse foundationdb harbor redis mongodb openbao rabbitmq postgres nats kafka mariadb qdrant valkey opensearch bucket
7676
K8S ?= kubernetes
77+
K8S_NODES ?= kubernetes-nodes
7778
VMS ?= vm-disk vm-instance
7879
NETWORKING ?= vpc vpn http-cache tcp-balancer
7980
SERVICES ?= bootbox etcd ingress monitoring seaweedfs
8081
APPS_DEST_DIR ?= content/en/docs/$(DOC_VERSION)/applications
8182
K8S_DEST_DIR ?= content/en/docs/$(DOC_VERSION)
83+
K8S_NODES_DEST_DIR ?= content/en/docs/$(DOC_VERSION)/kubernetes
8284
VMS_DEST_DIR ?= content/en/docs/$(DOC_VERSION)/virtualization
8385
NETWORKING_DEST_DIR ?= content/en/docs/$(DOC_VERSION)/networking
8486
SERVICES_DEST_DIR ?= content/en/docs/$(DOC_VERSION)/operations/services
@@ -99,6 +101,7 @@ update-networking:
99101

100102
update-k8s:
101103
./hack/update_apps.sh --index --apps "$(K8S)" --dest "$(K8S_DEST_DIR)" --branch "$(FETCH_REF)" --source-ref "$(SOURCE_REF)"
104+
./hack/update_apps.sh --apps "$(K8S_NODES)" --dest "$(K8S_NODES_DEST_DIR)" --branch "$(FETCH_REF)" --source-ref "$(SOURCE_REF)"
102105

103106
update-services:
104107
./hack/update_apps.sh --apps "$(SERVICES)" --dest "$(SERVICES_DEST_DIR)" --branch "$(FETCH_REF)" --source-ref "$(SOURCE_REF)" --pkgdir extra
@@ -186,6 +189,7 @@ template-networking:
186189
./hack/fill_templates.sh --apps "$(NETWORKING)" --dest "$(NETWORKING_DEST_DIR)" --branch "$(BRANCH)"
187190
template-k8s:
188191
./hack/fill_templates.sh --apps "$(K8S)" --dest "$(K8S_DEST_DIR)" --branch "$(BRANCH)"
192+
./hack/fill_templates.sh --apps "$(K8S_NODES)" --dest "$(K8S_NODES_DEST_DIR)" --branch "$(BRANCH)"
189193

190194
template-services:
191195
./hack/fill_templates.sh --apps "$(SERVICES)" --dest "$(SERVICES_DEST_DIR)" --branch "$(BRANCH)" --pkgdir extra
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Kubernetes Worker Node Pools"
3+
linkTitle: "Worker Node Pools"
4+
description: "Reference for KubernetesNodes, the resource that adds a pool of worker nodes to a managed Kubernetes cluster."
5+
weight: 10
6+
---
7+

0 commit comments

Comments
 (0)