-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated examples about ConfigMaps as volume mounts #45847
Comments
configmaps-and-pods using-configmaps-as-files-from-a-pod |
it would be good if both are in a section |
/sig doc |
@tamilselvan1102: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/sig docs |
/assign @pegasas |
Hi, all, After seeing this issue carefully, I found this issue is not duplicate. For configmaps-and-pods explains we can use multiple file in ONE configmap and may be mount in the near future. In fact it is on different aspects of configmap. |
Thanks for your assessment @pegasas, but I do not know exactly what you meant by "[...] and may be mount in the near future." Can you please elaborate on that? I agree that it is important to demonstrate different use cases of ConfigMaps. But maybe it would be better educational to explain the ConfigMap object in the first section ConfigMaps and Pods and in the following sections under Using ConfigMaps to show more specifically how this ConfigMap object can be used in different ways. So in addition to the existing sections:
the following could be listed:
All sections could refer to the example ConfigMap listed under ConfigMaps and Pods. This would make this page clear and consistent. |
It descripe such a scenario, which is multiple file in one configmap, like core-site.xml and hdfs-site.xml, and mount into hadoop to deploy on k8s. this is common scenario on for configmaps-and-pods.
This looks better, it looks like 2 examples on https://kubernetes.io/docs/concepts/configuration/configmap/#configmap-object has elaborated scenarios on
Maybe we can delete these 2 characters and directly refer example on https://kubernetes.io/docs/concepts/configuration/configmap/#configmap-object? These seems close to your proposal on #45847 (comment)? |
The section at https://kubernetes.io/docs/concepts/configuration/configmap/#using-configmaps-as-files-from-a-pod describes how ConfigMaps can be used in as files from a volume. This is already explained with a more complete example of how ConfigMaps can be used in the section before https://kubernetes.io/docs/concepts/configuration/configmap/#configmaps-and-pods (not sure which section was included earlier).
This duplication makes this documentation page appear repetitive and a bit incoherent.
/language en
The text was updated successfully, but these errors were encountered: