xxiao2018 opened a new pull request, #4731: URL: https://github.com/apache/doris-website/pull/4731
## Summary Reworks the 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. The same changes are applied to `dev` and `4.x`, in Chinese and English. 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 Preparation 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; stale anchors (`internal#所有权限` in zh, permission types and Hive catalog configuration in en). Commits: 1. `[docs](k8s) Rework zh-CN dev Kubernetes deployment guides`: the zh-CN `dev` rework. 2. `[docs](k8s) Sync Kubernetes deployment guides to English dev and 4.x`: English `dev` is a translation with the same structure, commands, sample output and explicit heading IDs. For 4.x, eleven pages were identical to their `dev` counterparts before this PR and are copied; `config-ms.md` differs in its `http_token` section, so its changes were applied by hand. `config-cluster.md` (4.x zh) already had the corrected anchor. ## 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. - For every zh/en page pair in `dev` and `4.x`: explicit heading IDs, `shell`/`yaml`/`sql` blocks (ignoring translated YAML comments) and expected-output blocks are identical. - Compiled all 50 changed files with the Docusaurus MDX processor, checked relative links and anchors for every page under `install/deploy-on-kubernetes` in the four trees, ran `git diff --check`, and rendered the zh-CN `dev` pages in a local 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 - [x] 4.x - [ ] 3.x - [ ] 2.1 or older (not covered by version/language sync gate) ## Languages - [x] Chinese - [x] 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 3.x is not changed: its pages have an older structure and its Doris/FoundationDB image combination differs (for example, the FDB 7.1.67 image is amd64-only), so it 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]
