* Adding documentation on recommended labels and annotations
This content was developed as part of the App Def WG
* Updates per feedback from editing and to remove annotations per WG
* Adding app instance to the recommended labels
This PR deals with the getting started guides (windows) and tutorials
sections. Since the YAML files in the windows directory currently are not
referenced at all, this PR refactored the markdown file to correct this
problem. When appropriate, we use the YAML content from the markdown in
the extracted version.
* Consolidate YAML files [part-12]
Relocate YAML files referenced by the accessing application topic
and the rest of cluster administration.
* Adjust json shortcodes.
* adding discuss kubernetes link to community page
addressing https://github.com/kubernetes/website/issues/8578
* moving to bullet list and changing caps
* removing caps
* resetting back to original PR and removing caps
* Update link to the NetworkPlugin interface
Link was broken during some refactoring (commit 42398825ed7fac58fc6c4027c8be730398b6d2be).
Change the link to reflect the new location.
This fixes Issue #9297
* Remove extra line
Somehow the fixed link was pasted at the end of the modified paragraph.
Remove it.
* Add back linebreak
I'll get this right... I swear.
Adds a missing instruction on how to configure the kubelet. Reported in slack in the #kubeadm channel.
Fixes#9222
Signed-off-by: Chuck Ha <ha.chuck@gmail.com>
* Document name restrictions for multi-port services
Add note in documentation about port name restrictions.
* fix whitespace
undo unrelated whitespace deletion
* Consolidate YAML files [part-8]
This PR exacts the YAML files referenced from the following subdirs:
- docs/concepts/workloads
- docs/concepts/configuration
- docs/concepts/policy
The following problems are fixed:
- docs/concepts/workloads/controllers/ doesnt have a 'cronjob.yaml for
test
- the exactly same `pod.yaml` was used in both the task/config-pod-container
topic and the concepts/configuration topics.
* Update examples_test.go
* Add missing yaml file.
* Consolidate YAML files [part-5]
This PR relocates the yaml files used in stateless application
guestbook. This PR also fixes the list numbering and code block
problems in the page.
Note that neither code blocks nor note callouts live happily inside a
numbered list, so this PR moves them out of such lists.
* Update examples_test.go
There were things changed upstream which have blocked the examples test
from running correctly:
- PodSecurityPolicy has been MOVED from extensions API group into
policy. All samples that are using this resource type needs a change.
- The 'GetCodecForObject()' function in testapi/testapi package was
removed in 1.11 for unknown reasons. This change has broken our job as
well as the test code in the kubernetes/examples project.
- Kubernetes is now using 1.10.2+ verion of Go for compilation so we
have to change the .travis.yml accordingly.
This PR fixes the above problems.
Note also, the `TestReadme` function is **removed** for two reasons:
- It is only testing the snippets in the `volumes.md` file which is now
broken because of the introduction of service account token injection.
- It is regarded as too aggressive/restrictive a test. We cannot
guarantee that YAML snippets in the markdown files are complete and
can be used as is. Instead I believe we should encourage people to use
template snippets that contain the **key** information for a topic.
When we see a need for a full template that can be used directly, we
may want to extract the YAML contents into the `examples`
subdirectory.