{"query_id": "q-en-website-6c9793323877074c1ab8bed498d978e7b8c770cbf71894447380fade48ea2ce8", "query": "I wish /docs/getting-started-guides/ listed both Ubuntu guides in the Bare Metal section, noting the networking for each (the listed one uses Flannel, the omitted one (but it is in the navigation panel on the left) uses Calico).\nUbuntu is getting a big rewrite as well.", "positive_passages": [{"docid": "doc-en-website-4d931fe999353187c06548c585f3b70717d13486ff34c63a20088e3e57735361", "text": "kubectl get statefulset web ``` ``` NAME DESIRED CURRENT AGE web 2 1 20s NAME READY AGE web 2/2 37s ``` ### Ordered Pod creation", "commid": "website_pr_45878"}], "negative_passages": []}
{"query_id": "q-en-website-6c9793323877074c1ab8bed498d978e7b8c770cbf71894447380fade48ea2ce8", "query": "I wish /docs/getting-started-guides/ listed both Ubuntu guides in the Bare Metal section, noting the networking for each (the listed one uses Flannel, the omitted one (but it is in the navigation panel on the left) uses Calico).\nUbuntu is getting a big rewrite as well.", "positive_passages": [{"docid": "doc-en-website-ecc8275384a843e56c3a837ce446673c765d876b5fa888ab63d7487e4142204a", "text": "image again: ```shell kubectl patch statefulset web --type='json' -p='[{\"op\": \"replace\", \"path\": \"/spec/template/spec/containers/0/image\", \"value\":\"gcr.io/google_containers/nginx-slim:0.8\"}]' kubectl patch statefulset web --type='json' -p='[{\"op\": \"replace\", \"path\": \"/spec/template/spec/containers/0/image\", \"value\":\"registry.k8s.io/nginx-slim:0.8\"}]' ``` ``` statefulset.apps/web patched", "commid": "website_pr_45878"}], "negative_passages": []}
{"query_id": "q-en-website-6c9793323877074c1ab8bed498d978e7b8c770cbf71894447380fade48ea2ce8", "query": "I wish /docs/getting-started-guides/ listed both Ubuntu guides in the Bare Metal section, noting the networking for each (the listed one uses Flannel, the omitted one (but it is in the navigation panel on the left) uses Calico).\nUbuntu is getting a big rewrite as well.", "positive_passages": [{"docid": "doc-en-website-ecf0e4a44494a263191661470d953fe8bf18155f81289cf7bd94f19218d5a994", "text": "used in this tutorial. Follow the necessary steps, based on your environment, storage configuration, and provisioning method, to ensure that all storage is reclaimed. {{< /note >}} No newline at end of file {{< /note >}} ", "commid": "website_pr_45878"}], "negative_passages": []}
{"query_id": "q-en-website-6c9793323877074c1ab8bed498d978e7b8c770cbf71894447380fade48ea2ce8", "query": "I wish /docs/getting-started-guides/ listed both Ubuntu guides in the Bare Metal section, noting the networking for each (the listed one uses Flannel, the omitted one (but it is in the navigation panel on the left) uses Calico).\nUbuntu is getting a big rewrite as well.", "positive_passages": [{"docid": "doc-en-website-8db1c68a74169337aafc4e8e2f76878241c5f6bdbdb3da7c18ef80536f7aeba3", "text": "spec: containers: - name: nginx image: registry.k8s.io/nginx-slim:0.8 image: registry.k8s.io/nginx-slim:0.7 ports: - containerPort: 80 name: web", "commid": "website_pr_45878"}], "negative_passages": []}
{"query_id": "q-en-website-7c3bfb760b0f32dbb78080eee4e9d6eaa1c0d612259f5fd19aad6cdea5095731", "query": "I wish /docs/getting-started-guides/docker/ I wish this page existed", "positive_passages": [{"docid": "doc-en-website-feb1b56d73eb351ca2c0e9187e1de25f88dfe0a0838a071c3a942c2f86ef5ee6", "text": "(backward-compatible) changes to the way the Kubernetes cluster DNS server processes DNS queries, to facilitate the lookup of federated services (which span multiple Kubernetes clusters). See the [Cluster Federation Administrators' Guide](/docs/admin/federation/index.md) for more See the [Cluster Federation Administrators' Guide](/docs/admin/federation) for more details on Cluster Federation and multi-site support. ## References", "commid": "website_pr_1158"}], "negative_passages": []}
{"query_id": "q-en-website-7c3bfb760b0f32dbb78080eee4e9d6eaa1c0d612259f5fd19aad6cdea5095731", "query": "I wish /docs/getting-started-guides/docker/ I wish this page existed", "positive_passages": [{"docid": "doc-en-website-0131b3cf171ebce25201685759bb09324016e9d2074e036d39fbb0811320f0cc", "text": " # *Stop. This guide has been superseded by [Minikube](../minikube/). The link below is present only for historical purposes* The document has been moved to [here](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/local-cluster/docker.md) ", "commid": "website_pr_1158"}], "negative_passages": []}
{"query_id": "q-en-website-7c3bfb760b0f32dbb78080eee4e9d6eaa1c0d612259f5fd19aad6cdea5095731", "query": "I wish /docs/getting-started-guides/docker/ I wish this page existed", "positive_passages": [{"docid": "doc-en-website-aa24104ef5b6f48b9b3410565bcf1354e6025f250daed1139d4471fff99d9c2b", "text": "### SEE ALSO * [kubectl](kubectl.md)\t - kubectl controls the Kubernetes cluster manager * [kubectl](../kubectl.md)\t - kubectl controls the Kubernetes cluster manager ###### Auto generated by spf13/cobra on 12-Aug-2016", "commid": "website_pr_1158"}], "negative_passages": []}
{"query_id": "q-en-website-704711b8d85ea90b2f7cb8a2c7c182243d082f6c0e8af556022569a6264b69f4", "query": "Cites looking at a cephfs example, that promptly 404's once clicked\nIt appears this should actually point to: not", "positive_passages": [{"docid": "doc-en-website-2d2136945f6f69d736d0bb595266ff6153f7bbc042fc17fcefd8d21d820d6c44", "text": "__Important: You must have your own Ceph server running with the share exported before you can use it__ See the [CephFS example](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/cephfs/) for more details. See the [CephFS example](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/volumes/cephfs/) for more details. ### gitRepo", "commid": "website_pr_1263"}], "negative_passages": []}
{"query_id": "q-en-website-21bb091eede30dbf5ec9bec1da9c5d739e9b28caf374946bbe4f712557051894", "query": "A user linked to this guide from an issue: I believe that guide is unmaintained. It still specifies k8s 1.1.2. can we delete?\nThank you. Yes, this guide was unmaintained and community contributed. I am OK with this change. devin-donnelly wrote:", "positive_passages": [{"docid": "doc-en-website-03d8dd2526c0dd1890944f8882ba747c0697e3d582500fabf9046a1f44309df4", "text": "path: /docs/getting-started-guides/ovirt/ - title: OpenStack Heat path: /docs/getting-started-guides/openstack-heat/ - title: CoreOS on Multinode Cluster path: /docs/getting-started-guides/coreos/coreos_multinode_cluster/ - title: rkt section: - title: Running Kubernetes with rkt", "commid": "website_pr_1689"}], "negative_passages": []}
{"query_id": "q-en-website-21bb091eede30dbf5ec9bec1da9c5d739e9b28caf374946bbe4f712557051894", "query": "A user linked to this guide from an issue: I believe that guide is unmaintained. It still specifies k8s 1.1.2. can we delete?\nThank you. Yes, this guide was unmaintained and community contributed. I am OK with this change. devin-donnelly wrote:", "positive_passages": [{"docid": "doc-en-website-b3fd57e578e9311b491bcd23b71b470b465aae9c0c10c0176f394a59d7c3e969", "text": "[CoreOS](http://coreos.com) templates for CloudStack are built [nightly](http://stable.release.core-os.net/amd64-usr/current/). CloudStack operators need to [register](http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/templates.html) this template in their cloud before proceeding with these Kubernetes deployment instructions. This guide uses an [Ansible playbook](https://github.com/runseb/ansible-kubernetes). This is a completely automated, a single playbook deploys Kubernetes based on the coreOS [instructions](/docs/getting-started-guides/coreos/coreos_multinode_cluster). This is completely automated, a single playbook deploys Kubernetes. This [Ansible](http://ansibleworks.com) playbook deploys Kubernetes on a CloudStack based Cloud using CoreOS images. The playbook, creates an ssh key pair, creates a security group and associated rules and finally starts coreOS instances configured via cloud-init.", "commid": "website_pr_1689"}], "negative_passages": []}
{"query_id": "q-en-website-21bb091eede30dbf5ec9bec1da9c5d739e9b28caf374946bbe4f712557051894", "query": "A user linked to this guide from an issue: I believe that guide is unmaintained. It still specifies k8s 1.1.2. can we delete?\nThank you. Yes, this guide was unmaintained and community contributed. I am OK with this change. devin-donnelly wrote:", "positive_passages": [{"docid": "doc-en-website-728c2cd9d487c1cefed85d0c42db500055e666bd9a7cb7fab155fd875ed0ad74", "text": " --- assignees: - dchen1107 --- Use the [master.yaml](/docs/getting-started-guides/coreos/cloud-configs/master.yaml) and [node.yaml](/docs/getting-started-guides/coreos/cloud-configs/node.yaml) cloud-configs to provision a multi-node Kubernetes cluster. > **Attention**: This requires at least CoreOS version **[695.0.0][coreos695]**, which includes `etcd2`. [coreos695]: https://coreos.com/releases/#695.0.0 * TOC {:toc} ### AWS *Attention:* Replace ` No newline at end of file", "commid": "website_pr_1689"}], "negative_passages": []}
{"query_id": "q-en-website-21bb091eede30dbf5ec9bec1da9c5d739e9b28caf374946bbe4f712557051894", "query": "A user linked to this guide from an issue: I believe that guide is unmaintained. It still specifies k8s 1.1.2. can we delete?\nThank you. Yes, this guide was unmaintained and community contributed. I am OK with this change. devin-donnelly wrote:", "positive_passages": [{"docid": "doc-en-website-3faadd1ebf3ea382a78bc1ca86d5e63fcae9e8cba05d372577426b3fc065720c", "text": "These guides are maintained by community members, cover specific platforms and use cases, and experiment with different ways of configuring Kubernetes on CoreOS. [**Multi-node Cluster**](/docs/getting-started-guides/coreos/coreos_multinode_cluster) Set up a single master, multi-worker cluster on your choice of platform: AWS, GCE, or VMware Fusion. [**Easy Multi-node Cluster on Google Compute Engine**](https://github.com/rimusz/coreos-multi-node-k8s-gce/blob/master/README.md) Scripted installation of a single master, multi-worker cluster on GCE. Kubernetes components are managed by [fleet](https://github.com/coreos/fleet).", "commid": "website_pr_1689"}], "negative_passages": []}
{"query_id": "q-en-website-b754501671935e51c3e92ac67ce3fae64a85f9bf2e5c6a04100b27ebf949c0a9", "query": " Many applications rely on configuration which is used during either application initialization or runtime. Most of the times there is a requirement to adjust values assigned to configuration parameters.
ConfigMaps is the kubernetes way to inject application pods with configuration data. ConfigMaps are the Kubernetes way to inject application pods with configuration data. ConfigMaps allow you to decouple configuration artifacts from image content to keep containerized applications portable. This page provides a series of usage examples demonstrating how to create ConfigMaps and configure Pods using data stored in ConfigMaps.", "commid": "website_pr_35160"}], "negative_passages": []}
{"query_id": "q-en-website-51038e62ec692514644fb5a5ee80edb5938a1ae998dd622e421a4616a3629d32", "query": "This is a... [x] Bug Report Problem: The documentation mentions \"optional\" in the restrictions for configmap, but doesn't explain how to use it anywhere else in the documentation. You must create a ConfigMap before referencing it in a Pod specification (unless you mark the ConfigMap as \u201coptional\u201d). If you reference a ConfigMap that doesn\u2019t exist, the Pod won\u2019t start. Likewise, references to keys that don\u2019t exist in the ConfigMap will prevent the pod from starting. Please see for the feature. It appears it got lost in the 1.5-1.6 upgrade. Proposed Solution: Restore the copy from that wrote. Page to Update:\nFor clarity, the copy from got removed here:\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/remove-lifecycle stale\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/language en /remove-lifecycle stale /assign\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/remove-lifecycle stale\n/priority backlog\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/remove-lifecycle stale\nStale issues rot after 30d of inactivity. Mark the issue as fresh with . Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle rotten\n/remove-lifecycle stale\n/remove-lifecycle rotten\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\nRelevant to /remove-lifecycle stale\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\nThis awesome feature is still missing in the documentation, Can someone please add it ?\nwere you thinking of opening a pull request? We'd be happy to help you with that.\n/remove-lifecycle stale\n/lifecycle frozen\n/triage accepted\nI don't see any updates; so unassigning you. Please feel free to assign, if you come back here again and are willing to work on it. Thank you! /unassign\n/assign", "positive_passages": [{"docid": "doc-en-website-9bb4140590615da30cd68838dc5662a398db0c01599d75880f90a4a76a8eb061", "text": "You can project keys to specific paths and specific permissions on a per-file basis. The [Secrets](/docs/concepts/configuration/secret/#using-secrets-as-files-from-a-pod) user guide explains the syntax. ### Optional References A ConfigMap reference may be marked \"optional\". If the ConfigMap is non-existent, the mounted volume will be empty. If the ConfigMap exists, but the referenced key is non-existent the path will be absent beneath the mount point. ### Mounted ConfigMaps are updated automatically When a mounted ConfigMap is updated, the projected content is eventually updated too. This applies in the case where an optionally referenced ConfigMap comes into existence after a pod has started. Kubelet checks whether the mounted ConfigMap is fresh on every periodic sync. However, it uses its local TTL-based cache for getting the current value of the ConfigMap. As a result, the total delay from the moment when the ConfigMap is updated to the moment when new keys are projected to the pod can be as long as kubelet sync period (1 minute by default) + TTL of ConfigMaps cache (1 minute by default) in kubelet. {{< note >}} A container using a ConfigMap as a [subPath](/docs/concepts/storage/volumes/#using-subpath) volume will not receive ConfigMap updates. {{< /note >}} ", "commid": "website_pr_35160"}], "negative_passages": []}
{"query_id": "q-en-website-51038e62ec692514644fb5a5ee80edb5938a1ae998dd622e421a4616a3629d32", "query": "This is a... [x] Bug Report Problem: The documentation mentions \"optional\" in the restrictions for configmap, but doesn't explain how to use it anywhere else in the documentation. You must create a ConfigMap before referencing it in a Pod specification (unless you mark the ConfigMap as \u201coptional\u201d). If you reference a ConfigMap that doesn\u2019t exist, the Pod won\u2019t start. Likewise, references to keys that don\u2019t exist in the ConfigMap will prevent the pod from starting. Please see for the feature. It appears it got lost in the 1.5-1.6 upgrade. Proposed Solution: Restore the copy from that wrote. Page to Update:\nFor clarity, the copy from got removed here:\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/remove-lifecycle stale\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/language en /remove-lifecycle stale /assign\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/remove-lifecycle stale\n/priority backlog\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/remove-lifecycle stale\nStale issues rot after 30d of inactivity. Mark the issue as fresh with . Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle rotten\n/remove-lifecycle stale\n/remove-lifecycle rotten\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\nRelevant to /remove-lifecycle stale\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\nThis awesome feature is still missing in the documentation, Can someone please add it ?\nwere you thinking of opening a pull request? We'd be happy to help you with that.\n/remove-lifecycle stale\n/lifecycle frozen\n/triage accepted\nI don't see any updates; so unassigning you. Please feel free to assign, if you come back here again and are willing to work on it. Thank you! /unassign\n/assign", "positive_passages": [{"docid": "doc-en-website-7e29ee430b8c990b7e4a900bf8d07223a402bae2bc54119cf61ad64788e785c2", "text": "### Restrictions - You must create a ConfigMap before referencing it in a Pod specification (unless you mark the ConfigMap as \"optional\"). If you reference a ConfigMap that doesn't exist, the Pod won't start. Likewise, references to keys that don't exist in the ConfigMap will prevent the pod from starting. - You must create a ConfigMap before referencing it in a Pod specification, or mark the ConfigMap as \"optional\" (see [Optional ConfigMaps](#optional-configmaps)). If you reference a ConfigMap that doesn't exist, or hasn't been marked as \"optional\" the Pod won't start. Likewise, references to keys that don't exist in the ConfigMap will prevent the pod from starting. - If you use `envFrom` to define environment variables from ConfigMaps, keys that are considered invalid will be skipped. The pod will be allowed to start, but the invalid names will be recorded in the event log (`InvalidVariableNames`). The log message lists each skipped key. For example:", "commid": "website_pr_35160"}], "negative_passages": []}
{"query_id": "q-en-website-51038e62ec692514644fb5a5ee80edb5938a1ae998dd622e421a4616a3629d32", "query": "This is a... [x] Bug Report Problem: The documentation mentions \"optional\" in the restrictions for configmap, but doesn't explain how to use it anywhere else in the documentation. You must create a ConfigMap before referencing it in a Pod specification (unless you mark the ConfigMap as \u201coptional\u201d). If you reference a ConfigMap that doesn\u2019t exist, the Pod won\u2019t start. Likewise, references to keys that don\u2019t exist in the ConfigMap will prevent the pod from starting. Please see for the feature. It appears it got lost in the 1.5-1.6 upgrade. Proposed Solution: Restore the copy from that wrote. Page to Update:\nFor clarity, the copy from got removed here:\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/remove-lifecycle stale\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/language en /remove-lifecycle stale /assign\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/remove-lifecycle stale\n/priority backlog\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\n/remove-lifecycle stale\nStale issues rot after 30d of inactivity. Mark the issue as fresh with . Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle rotten\n/remove-lifecycle stale\n/remove-lifecycle rotten\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\nRelevant to /remove-lifecycle stale\nIssues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale\nThis awesome feature is still missing in the documentation, Can someone please add it ?\nwere you thinking of opening a pull request? We'd be happy to help you with that.\n/remove-lifecycle stale\n/lifecycle frozen\n/triage accepted\nI don't see any updates; so unassigning you. Please feel free to assign, if you come back here again and are willing to work on it. Thank you! /unassign\n/assign", "positive_passages": [{"docid": "doc-en-website-c099f7a26ce8744a369b5ee2928035bda62bb95677d152ca73a51db7ac450d39", "text": "- You can't use ConfigMaps for {{< glossary_tooltip text=\"static pods\" term_id=\"static-pod\" >}}, because the Kubelet does not support this. ### Optional ConfigMaps In a Pod, or pod template, you can mark a reference to a ConfigMap as _optional_. If the ConfigMap is non-existent, the configuration for which it provides data in the Pod (e.g. environment variable, mounted volume) will be empty. If the ConfigMap exists, but the referenced key is non-existent the data is also empty. #### Optional ConfigMap in environment variables There might be situations where environment variables are not always required. You can mark an environment variables for a container as optional, like this: ```yaml apiVersion: v1 kind: Pod metadata: name: dapi-test-pod spec: containers: - name: test-container image: gcr.io/google_containers/busybox command: [ \"/bin/sh\", \"-c\", \"env\" ] env: - name: SPECIAL_LEVEL_KEY valueFrom: configMapKeyRef: name: a-config key: akey optional: true # mark the variable as optional restartPolicy: Never ``` If you run this pod, and there is no ConfigMap named `a-config`, the output is empty. If you run this pod, and there is a ConfigMap named `a-config` but that ConfigMap doesn't have a key named `akey`, the output is also empty. If you do set a value for `akey` in the `a-config` ConfigMap, this pod prints that value and then terminates. #### Optional ConfigMap via volume plugin Volumes and files provided by a ConfigMap can be also be marked as optional. The ConfigMap or the key specified does not have to exist. The mount path for such items will always be created. ```yaml apiVersion: v1 kind: Pod metadata: name: dapi-test-pod spec: containers: - name: test-container image: gcr.io/google_containers/busybox command: [ \"/bin/sh\", \"-c\", \"ls /etc/config\" ] volumeMounts: - name: config-volume mountPath: /etc/config volumes: - name: config-volume configMap: name: no-config optional: true # mark the source ConfigMap as optional restartPolicy: Never ``` If you run this pod, and there is no ConfigMap named `no-config`, the mounted volume will be empty. ### Mounted ConfigMaps are updated automatically When a mounted ConfigMap is updated, the projected content is eventually updated too. This applies in the case where an optionally referenced ConfigMap comes into existence after a pod has started. The kubelet checks whether the mounted ConfigMap is fresh on every periodic sync. However, it uses its local TTL-based cache for getting the current value of the ConfigMap. As a result, the total delay from the moment when the ConfigMap is updated to the moment when new keys are projected to the pod can be as long as kubelet sync period (1 minute by default) + TTL of ConfigMaps cache (1 minute by default) in kubelet. {{< note >}} A container using a ConfigMap as a [subPath](/docs/concepts/storage/volumes/#using-subpath) volume will not receive ConfigMap updates. {{< /note >}} ## {{% heading \"whatsnext\" %}}", "commid": "website_pr_35160"}], "negative_passages": []}
{"query_id": "q-en-website-4afba6044ff3696b96a39858ca2f9b851d298aea89ca34755cae692a2d9246db", "query": "This is a Bug Report This issue appeared recently within kubernetes/website. Links in follow the next pattern , see a square bracket inside of the . I tried to follow in order to find a source of the issue, but wasn't able to do so. my best guesses: Source for generation for 1_17 branch was corrupted. Backend was replaced by something else but not commited (i don't believe in this). This can be temporary content (on ein PR) as toolset for kubernetes-sigs/reference-docs .\n/kind bug /priority backlog\nping\nI am looking now\n, you are referring to a link problem in the reference? I don't immediately see a problem. Can you provide an example of a command that has a link issue? Thanks! I see a link that appears incorrectly formatted, such as the flag in the command, Though, the link does work for me.\nI plan on updating the build instructions and README.\nany link that follow pattern . If we ware talking about from the root of the kubernetes-sigs/reference-docs, it would be any link in usage block. Almost all of them are anchor links, so problem isn't visible at first. search for or , last symbol of the link is clearly not suppose to be a link (at least its not a link in source yaml) P.S. Is it worth time to update build instructions now? Isn't going to change generator backend to htmlwriter?\n, I have a feeling there is a miscommunication. I am not sure what you are referring to. I thought you are logging an issue specifically to the kubectl reference. Please provide a specific example.\nok. for on link to for on link yourself why is in link. diff for kubernetes/website (kubectl-) and see how links are formed. -become right bracket in the href attribute. P.S. just updated one of the search links as i forgot to copy/paste last element of the link (). P.P.S. looks like regular expression issue.\nI see. I think we are referring to the same problem -- the right bracket.\nShould I close issue or you prefer to have it opened untill kubernetes-sigs/reference-docs is opened?\n, I would leave this issue open as a reminder for next release. Thanks! NOTE: The links were manually fixed for the 1.17 release (search/replace).\ngot it!", "positive_passages": [{"docid": "doc-en-website-54de64bf48abb13034d701d6c164d8dfd189b9bc379464ff0ee14c6d45ab26c5", "text": "- title: kube-proxy CLI path: /docs/admin/kube-proxy/ - title: kub-scheduler CLI - title: kube-scheduler CLI path: /docs/admin/kube-scheduler/ - title: kubelet CLI", "commid": "website_pr_142"}], "negative_passages": []}
{"query_id": "q-en-website-7d3321bca9e7ebeb2f06ae54cd8f3fdd46cb18668a0bde460a9209f94135ca27", "query": "This is a Bug Report Kubernetes v1.6 contains a new binary called cloud-controller-manager. cloud-controller-manager is a daemon that embeds cloud-specific control loops. These cloud-specific control loops were originally in the kube-controller-manager. Since cloud providers develop and release at a different pace compared to the Kubernetes project, abstracting the provider-specific code to the cloud-controller-manager binary allows cloud vendors to evolve independently from the core Kubernetes code. Originally part of the kube-controller-manager, the cloud-controller-manager is responsible to decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, enabling cloud providers to release features at a different pace compared to the main project. ", "commid": "website_pr_20135"}], "negative_passages": []}
{"query_id": "q-en-website-7d3321bca9e7ebeb2f06ae54cd8f3fdd46cb18668a0bde460a9209f94135ca27", "query": "This is a Bug Report [HostAliases](/docs/reference/generated/kubernetes-api/v1.13/#hostalias-v1-corev) is an optional list of hostnames and IP addresses that will be injected into the Pod's hosts file if specified. This is only valid for non-hostNetwork Pods. [HostAliases](/docs/reference/generated/kubernetes-api/{{< param \"version\" >}}/#hostalias-v1-core) is an optional list of hostnames and IP addresses that will be injected into the Pod's hosts file if specified. This is only valid for non-hostNetwork Pods. ", "commid": "website_pr_20135"}], "negative_passages": []}
{"query_id": "q-en-website-2f3fd470287390ca4daf7fc8552bc81c59d253d1849029abbf7223f282e6082f", "query": "This is a Feature Request \uc6cc\ucee4 \ub178\ub4dc\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uad6c\uc131\uc694\uc18c\uc778 {{< glossary_tooltip text=\"\ud30c\ub4dc\" term_id=\"pod\" >}}\ub97c \ud638\uc2a4\ud2b8\ud55c\ub2e4. {{< glossary_tooltip text=\"\ucee8\ud2b8\ub864 \ud50c\ub808\uc778\" term_id=\"control-plane\" >}}\uc740 \uc6cc\ucee4 \ub178\ub4dc\uc640", "commid": "website_pr_20705"}], "negative_passages": []}
{"query_id": "q-en-website-c61567fff240682de3bd42a6f74f485487c27753e007c77eedf8cf355cf49008", "query": "This is a Bug Report Problem: missing double quote (\") after the word services in the last table Proposed Solution: Add the missing double quote (\") Page to Update:", "positive_passages": [{"docid": "doc-en-website-88b1c8b615dd2be5154effa2359dc4a5852ffe62c8a8b4bdb6bd8f2a78bee0fb", "text": "
| String | API Object |
|---|---|
| \"pods\" | Pod |
| \"services | Service |
| \"services\" | Service |
| \"replicationcontrollers\" | ReplicationController |
| \"resourcequotas\" | ResourceQuota |
| \"secrets\" | Secret |
controlPlaneEndpoint is not specified, the advertiseAddress + bindPort are used; in case the controlPlaneEndpoint is specified but without a TCP port,", "commid": "website_pr_45709"}], "negative_passages": []}
{"query_id": "q-en-website-fe29d03168fdbebd9f13a3305c2c5336921beff85629d6d4956dceafee405fd1", "query": "found typo \"ontrolPlaneEndpoint\" in the below
|