Repository navigation
docs: add English other volumes and HDFS configuration samples - #6296
Open
rida-ghreizy wants to merge 1 commit into
Open
rida-ghreizy wants to merge 1 commit into
rida-ghreizy wants to merge 1 commit into
Conversation
docs/zh/samples/other_volumes.md and hdfs_configuration.md have no English version. Translate them. The zh other volumes page also had a tab-indented volumeMounts line, which makes its YAML fail to parse, and '-oyaml' split over two lines; fix both there too. Signed-off-by: rida <ghreizyrida1@gmail.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Ⅰ. Describe what this PR does
docs/zh/samples/other_volumes.md(mount extra volumes such as a Secret into the runtime pods) anddocs/zh/samples/hdfs_configuration.md(passhdfs-site.xml/core-site.xmlto Alluxio throughhadoopConfig) have no English versions. This addsdocs/en/samples/other_volumes.mdanddocs/en/samples/hdfs_configuration.mdas translations.While translating, I found two errors in the Chinese other-volumes page and fixed them in both languages:
spec.master.volumeMountswas indented with a tab. YAML forbids tabs for indentation, sokubectl create -f dataset.yamlfailed on that manifest.kubectl get secret fluid-secret -oyamlwas split over two lines (-oy/aml).Ⅱ. Does this pull request fix one issue?
NONE
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Documentation only.
Ⅳ. Describe how to verify it
dataset.yamlheredoc of the other-volumes page parsed with a YAML parser: onmaster, "Tabs are not allowed as indentation at line 24"; after this PR, both documents parse in the zh and en pages.api/v1alpha1/alluxioruntime_types.go:HadoopConfig(hadoopConfig),Volumes, and the master'sVolumeMounts./hdfs-configishadoopConfMountPathinpkg/ddc/alluxio/const.go.Ⅴ. Special notes for reviews
Neither page is listed in
docs/zh/TOC.md, so I didn't add them todocs/en/TOC.mdeither.