morningman opened a new pull request, #4728: URL: https://github.com/apache/doris-website/pull/4728
## Summary Reworks the zh-CN `dev` Kubernetes deployment docs so that a first-time reader can go from an empty Kubernetes cluster to a successful write and query in either mode. Page URLs are unchanged and no pages are added; changed heading anchors are updated in every referencing page. - **Entry and preparation**: the entry page compares the two modes and lists the example versions (Doris Operator 26.0.1, Doris 4.1.5, FoundationDB 7.3.69). The "部署前准备" card now points to the preparation page, which is rewritten as checks with commands and sample output: context/version/RBAC, node architecture and allocatable resources, StorageClass, image sources, Pod Security (the privileged BE `default-init` container), node swap, `skipDefaultSystemInit`, and the object storage inputs required by the decoupled mode. - **Doris Operator installation**: CRDs, manifest and image are pinned to `26.0.1` (the tag's manifest still references `operator-latest`, so the image is rewritten with `sed`). CRDs use `kubectl apply --server-side` plus `kubectl wait --for=condition=Established`, followed by a rollout wait, so the steps can be re-run. A new section explains running both modes in one cluster: `disaggregated-operator.yaml` is a superset of `operator.yaml`. - **Integrated storage-compute**: an inline 1 FE + 1 BE `DorisCluster` (namespace `doris`, PVCs, resources, data lifecycle), wait commands, a troubleshooting table, connecting with the MySQL client shipped in the FE image (replacing the third-party, amd64-only `mysql:5.7` Pod), a repeatable read/write check, a persistence check, and cleanup. The access pages use the Service port `9030` for LoadBalancer addresses (not the NodePort), explain `<pending>`, add `kubectl port-forward`, and run every command in the `doris` namespace. - **Decoupled storage-compute**: the main tutorial now contains the whole flow: FoundationDB on Kubernetes (downloads pinned to a commit of the VeloDB repository, four readiness checks, `cluster-file` handoff), a branch for an existing FDB, a complete `DorisDisaggregatedCluster` with FE/MS/BE on the same version and `fdb-system/fdb-single-config`, the meaning of each status column including `CGFULLAVAILABLECOUNT`, object storage moved into the prerequisites, a Storage Vault template with common errors (`cn-beijing` region, `SET s3_vault AS DEFAULT STORAGE VAULT`), a read/write check, production gaps, and the cleanup order (deleting the `FoundationDBCluster` also deletes its PVCs). - **Other fixes**: the Stream Load redirect status is 307, not 301; the `kubectl get ddc` sample includes `MSPHASE`; Service names match Doris Operator 26.0.1; two stale `internal#所有权限` anchors. ## Validation - Ran the commands of the changed pages on a local single-node kind cluster (Kubernetes v1.35.8, arm64) with Doris Operator 26.0.1, Doris 4.1.5 and FoundationDB 7.3.69: both modes from scratch, re-runs, both modes in one cluster, Pod rebuilds with data intact, redeploying on retained PVCs, and cleanup. The code blocks were then extracted from the pages and executed as written. - Not covered locally: amd64 nodes (image manifests checked only), a real cloud LoadBalancer (kind has no LoadBalancer controller; the `<pending>` state and port mapping were checked), Alibaba Cloud OSS (the Storage Vault steps ran against an in-cluster S3-compatible service), and the FDB 7.1 path. - Checked relative links and anchors for every page under `install/deploy-on-kubernetes`, ran `git diff --check`, and rendered the changed pages in a local zh-CN dev server. Possible doris-operator follow-ups found while testing: the `26.0.1` manifests still reference `operator-latest`; the Deployment's `kubectl.kubernetes.io/default-container` annotation (`doris-operator`) does not match the container name (`dorisoperator`); after the FE becomes ready, the BE StatefulSet was not created until another event triggered a reconcile (seen in one of three runs; the docs give an annotate workaround). ## Versions - [x] dev - [ ] 4.x - [ ] 3.x - [ ] 2.1 or older (not covered by version/language sync gate) ## Languages - [x] Chinese - [ ] English ## Docs Checklist - [x] Checked by AI - [x] Test Cases Built - [x] Updated required version and language counterparts, or explained why not - [x] If only one language changed, confirmed whether source/translation counterparts need sync This draft changes only zh-CN `dev` so the content can be reviewed first. The English `dev` pages and the 4.x Chinese and English counterparts need the same changes and will follow after review; 3.x uses a different image combination and needs separate checking. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
