Skip to content

docs(user-manual): write the Kubernetes environment page, and correct a version claim - #43

Merged
whg517 merged 2 commits into
zncdatadev:mainfrom
whg517:docs/kubernetes-environment
Aug 27, 2026
Merged

docs(user-manual): write the Kubernetes environment page, and correct a version claim#43
whg517 merged 2 commits into
zncdatadev:mainfrom
whg517:docs/kubernetes-environment

Conversation

@whg517

@whg517 whg517 commented Aug 25, 2026

Copy link
Copy Markdown
Member

Summary

Fills the user-manual/environment/kubernetes.md placeholder, and corrects a claim I got wrong in #41 and #42.

The correction

Both merged pages stated a Kubernetes 1.29 floor. That number came from a comment next to KIND_K8S_VERSION in zookeeper-operator's Makefile — which is the default for a locally created kind cluster, not the project's tested range.

It is not even consistent across repositories:

Source Says
zookeeper-operator Makefile default 1.36.1
hdfs, trino, secret, listener, commons Makefile defaults 1.26.15
zookeeper-operator Makefile comment "1.29 as the hard floor"
Workspace-level notes "Kubernetes 1.26+"
CI chainsaw matrix (test.yml + release.yml, identical in every operator) 1.33.7, 1.34.3, 1.35.0

The CI matrix is what actually gets exercised, so that is what the new page states. Both older pages now link to it instead of restating a number, and the development guideline notes that KIND_K8S_VERSION is a local default CI overrides — so the next reader does not draw the same wrong conclusion I did.

The new page

Covers the supported-version table, and the cluster capabilities the built-in Operators actually need — taken from what they install rather than from general Kubernetes advice:

CSI is not optional. secret-operator and listener-operator are CSI drivers, not ordinary controllers. They register CSIDriver objects and run node DaemonSets that mount the kubelet directory. A cluster that forbids that cannot run them, and without them no product cluster gets secrets or service exposure.

The kubelet directory gets called out explicitly. The chart defaults kubeletDir to /var/lib/kubelet, and its own values.yaml notes the path varies on microk8s. When it is wrong the driver never registers and every pod wanting a secret volume sits in Pending with nothing obviously broken. The page includes the command to find the real path and the --set to fix it.

Also notes the charts declare no kubeVersion constraint, so the version table is a statement of what is tested rather than something the tooling enforces.

Testing

  • npm run verify exits 0 — 52 files linted with 0 errors, both locales built
  • Cross-page anchors resolve in both locales — verified id="supported-versions" and id="支持的版本" exist in the build output, and no anchor warnings in the log

Remaining stage 2 placeholders

4 left: kubebuilder, database (blocked — no operator consumes the CRD, see #38), and faq / release-notes, which still need maintainer input rather than source research.

🤖 Generated with Claude Code

whg517 and others added 2 commits August 25, 2026 13:28
Replaces a one-line placeholder. The supported-version table comes from
the chainsaw job's matrix in each operator's test.yml and release.yml,
which is consistent across repositories: 1.33.7, 1.34.3, 1.35.0.

The cluster requirements come from what the built-in operators actually
install. secret-operator and listener-operator are CSI drivers, not
ordinary controllers — they register CSIDriver objects and run node
DaemonSets that mount the kubelet directory, so a cluster that forbids
that cannot run them, and without them no product cluster gets secrets
or service exposure.

Calls out the kubelet directory explicitly. The chart defaults
kubeletDir to /var/lib/kubelet and its own values.yaml notes the path
varies on microk8s; when it is wrong the driver never registers and every
pod wanting a secret volume sits in Pending with nothing obviously
broken. Includes the command to find the real path.

Also notes that the charts declare no kubeVersion constraint, so the
version table is a statement of what is tested rather than something the
tooling enforces.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
zncdatadev#41 and zncdatadev#42 both stated a 1.29 floor. That number came from a comment
next to KIND_K8S_VERSION in zookeeper-operator's Makefile, which is the
default for a locally created kind cluster — not the project's tested
range, and not even consistent across repositories: zookeeper-operator
defaults to 1.36.1 while hdfs, trino, secret, listener and commons all
default to 1.26.15.

What CI actually exercises is a matrix in the chainsaw job, identical in
every operator: 1.33.7, 1.34.3 and 1.35.0. The workspace-level notes say
1.26+, which is a third answer again.

Point both pages at the new Kubernetes page instead of restating a
number, and note in the development guideline that KIND_K8S_VERSION is a
local default CI overrides, so the next reader does not draw the same
wrong conclusion from it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@whg517
whg517 merged commit 94c0c5e into zncdatadev:main Aug 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant