Commit Graph

49 Commits

Author SHA1 Message Date
zhangchaolei aae3bfaf3e Release 1.7 (#4094)
* Minor fixes in the Deployment doc

Signed-off-by: Michail Kargakis <mkargaki@redhat.com>

* add NodeRestriction to admission-controllers (#3842)

* Admins Can Configure Zones in Storage Class

The PR #38505 (https://github.com/kubernetes/kubernetes/pull/38505) added zones optional parameter to Storage Class for AWS and GCE provisioners.

That's why documentation needs to be updated accordingly.

* document custom resource definitions

* add host paths to psp (#3971)

* add host paths to psp

* add italics

* Update ConfigMap doc to explain TTL-based cache updates (#3989)

* Update ConfigMap doc to explain TTL-based cache updates

* swap word order

Change "When a ConfigMap being already consumed..." to "When a ConfigMap already being consumed..."

* Update NetworkPolicy docs for v1

* StorageOS Volume plugin

* Update GPU docs

* docs: HPA autoscaling/v2alpha1 status conditions

This commit documents the new status conditions feature for HPA
autoscaling/v2alpha1.  It demonstrates how to get the status conditions
using `kubectl describe`, and how to interpret them.

* Update description about NodeRestriction

kubelet node can alse create mirror pods for their own static pods.

* adding storage as a supported resource to node allocatable

Signed-off-by: Vishnu kannan <vishnuk@google.com>

* Add documentation for podpreset opt-out annotation

This adds the annotation for having the podpreset admission controller
to skip (opt-out) manipulating the pod spec.

Also, the annotation format for what presets have acted on a pod has
been modified to add a prefix of "podpreset-". The new naming makes it such
that there is no chance of collision with the newly introduced opt-out
annotation (or future ones yet to be added).

Opt-out annotation PR:
kubernetes/kubernetes#44965

* Update PDB documentation to explain new field (#3885)

* update-docs-pdb

* Addressed erictune@'s comments

* Fix title and add a TOC to the logging concept page

* Patch #4118 for typos

* Describe setting coredns server in nameserver resolv chain

* Address comments in PR #3997.

Comment is in
https://github.com/kubernetes/kubernetes.github.io/pull/3997/files/f6eb59c67e28efc298c87b1ef49a96bc6adacd1e#diff-7a14981f3dd8eb203f897ce6c11d9828

* Update task for DaemonSet history and rollback (#4098)

* Update task for DaemonSet history and rollback

Also remove mentions of templateGeneration field because it's deprecated

* Address comments

* removed lt and gt as operators (#4152)

* removed lt and gt as operators

* replace lt and gt for node-affinfity

* updated based on bsalamat review

* Initial draft of upgrade guide for kubeadm clusters.

In-place upgrades are supported between 1.6 and 1.7 releases. Rollback
instructions to come in a separate commit.

Fixes https://github.com/kubernetes/kubeadm/issues/278

* Add local volume documentation (#4050)

* Add local volume documentation

* Add PV local volume example

* Patch PR #3999

* Add documentation for Stackdriver event exporter

* Add documentation about controller metrics

* Federation: Add task for setting up placement policies (#4075)

* Add task for setting up placement policies

* Update version of management sidecar in policy engine deployment

* Address @nikhiljindal's comments

- Lower case filenames
- Comments in policy
- Typo fixes
- Removed type LoadBalancer from OPA Service

* Add example that sets cluster selector

Per-@nikhiljindal's suggestion

* Fix wording and templating per @chenopis

* PodDisruptionBudget documentation Improvements (#4140)

* Changes from #3885

Title: Update PDB documentation to explain new field
Author: foxish

* Added Placeholder Disruptions Concept Guide

New file: docs/concepts/workloads/pods/disruptions.md
Intented contents: concept for Pod Disruption Budget,
 cross reference to Eviction and Preemption docs.
Linked from: concepts > workloads > pods

* Added placeholder Configuring PDB Task

New file: docs/tasks/run-application/configure-pdb.md
Intented contents: task for writing a Pod Disruption Budget.
Linked from: tasks > configuring-applications > configure pdb.

* Add refs to the "drain a node" task.

* Refactor PDB docs.

Move the "Requesting an eviction" section from:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md
-- which is going away -- to:
docs/tasks/administer-cluster/safely-drain-node.md

The move is verbatim, except for an introductory sentence.

Also added assignees.

* Refactor of PDB docs

Moved the section:
Specifying a PodDisruptionBudget
from:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md
to:
docs/tasks/run-application/configure-pdb.md
because that former file is going away.
Move is verbatim.

* Explain how Eviction tools should handle failures

* Refactor PDB docs

Move text from:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md
to:
docs/concepts/workloads/pods/disruptions.md

Delete the now empty:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md

Added a redirects_from section to the new doc, containing the path
of the now-deleted doc, plus all the redirects from the deleted
doc.

* Expand PDB Concept guide

Building on a little content from the old task,
greatly expanded the Disruptions concept
guide, including an abstract example.

* Update creating a pdb Task.

* Address review comments.

* Fixed for all cody-clark's review comments

* Address review comments from mml

* Address review comments from maisem

* Fix missing backtick

* Api and Kubectl reference docs updates for 1.7 (#4193)

* Fix includes groups

* Generated kubectl docs for 1.7

* Generated references docs for 1.7 api

* Document node authorization mode

* API Aggregator (#4173)

* API Aggregator

* Additional bullet points

* incorporated feedback for apiserver-aggregation.md

* split setup-api-aggregator.md into two docs and address feedback

* fix link

* addressed docs feedback

* incorporate feedback

* integrate feedback

* Add documentation for DNS stub domains (#4063)

* Add documentation for DNS stub domains

* add additional prereq

* fix image path

* review feedback

* minor grammar and style nits

* documentation for using hostAliases to manage hosts file (#4080)

* documentation for using hostAliases to manage hosts file

* add to table of contents

* review comments

* update the right command to see hosts file

* reformat doc based on suggestion and change some wording

* Fix typo for #4080

* Patch PR #4063

* Fix wording in placement policy task introduction

* Add update to statefulset concepts and basic tutorial (#4174)

* Add update to statefulset concpets and basic tutorial

* Address tech comments.

* Update ESIPP docs for new added API fields

* Custom resource docs

* update audit document with advanced audit features added in 1.7

* kubeadm v1.7 documentation updates (#4018)

* v1.7 updates for kubeadm

* Address review comments

* Address Luke's comments

* Encrypting secrets at rest and cluster security guide

* Edits for Custom DNS Documentation (#4207)

* reorganize custom dns doc

* format fixes

* Update version numbers to 1.7

* Patch PR #4140 (#4215)

* Patch PR #4140

* fix link and typos

* Update PR template

* Update TLS bootstrapping with 1.7 features

This includes documenting the new CSR approver built into the
controller manager and the kubelet alpha features for certificate
rotation.

Since the CSR approver changed over the 1.7 release cycle we need
to call out the migration steps for those using the alpha feature.
This document as a whole could probably use some updates, but the
main focus of this PR is just to get these features minimally
documented before the release.

* Federated ClusterSelector

formatting updates from review

* complete PR #4181 (#4223)

* complete PR #4181

* fix security link

* Extensible admission controller (#4092)

* extensible-admission-controllers

* Update extensible-admission-controllers.md

* more on initializers

* fixes

* Expand external admission webhooks documentation

* wrap at 80 chars

* more

* add reference

* Use correct apigroup for network policy

* Docs changes to PR #4092 (#4224)

* Docs changes to PR #4092

* address feedback

* add doc for --as-group in cli

Add doc for this pr:
https://github.com/kubernetes/kubernetes/pull/43696
2017-06-29 22:39:40 -07:00
Christoph Blecker 2e192598a0 Update links to proper repos 2017-06-28 22:08:36 -07:00
Vincent 80c90ba8fb fixed #3968 (#4105)
* fixed #3968

* advise from @chenopis
2017-06-23 14:03:07 -07:00
Eric Mountain @ Amadeus e53bdeb5d0 Be more specific about cpu-shares passed to Docker (#4016)
Docker documentation (https://docs.docker.com/engine/reference/run/) reads:
  
"To modify the proportion from the default of 1024, use the -c or --cpu-shares flag to set the weighting to 2 or higher. If 0 is set, the system will ignore the value and use the default of 1024."

So the Kubernetes documentation gives the impression that if requests.cpu is zero, Docker would end up applying a value of 1024, which isn't the case.

This change makes the explanation more precise, hopefully without making it much more difficult to read.
2017-06-20 16:01:16 -07:00
chenhuan12 61c39cf9df replace kubectl.sh with kubectl
replace kubectl.sh with kubectl
2017-05-26 10:39:24 -07:00
Andrew Chen 9ea89e011e Reimplement #3783 2017-05-23 14:21:56 -07:00
Ahmet Alp Balkan 8b11f9ac40 secret.md: add base64 risk (#3791)
* secret.md: add base64 risk

Solves #3681.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>

* Update secret.md
2017-05-17 13:34:29 -07:00
Jesse Kinkead 16b331ae20 Remove beta warning about Jobs. 2017-05-15 22:06:30 -07:00
Andrew Chen e89dafe099 Fix typo to finish PR #3631 2017-05-12 15:25:51 -07:00
Guangya Liu 297c665eca Added example for pod preferredDuringSchedulingIgnoredDuringExecution. 2017-05-12 15:22:49 -07:00
zhangmingld 1779addc8d Symbol ")" is redundant (#3728)
Symbol ")" is redundant
2017-05-12 11:06:36 -07:00
Mike Bryant 14fa478c2d Remove SI comment
K is not a valid SI prefix
2017-05-10 09:29:13 -07:00
Guangya Liu 6ae88186aa Highlight two special case for tolerations. 2017-05-06 08:22:52 +08:00
Steve Perry fc533bea91 Combine topic on commands and args. (#3637)
* Combine topic on commands and args.

* Fix redirect.
2017-05-04 11:38:34 -07:00
Guangya Liu 7f52b9eb09 Added more explanation for nodeAffinity.
Explain more for how multiple nodeSelectorTerms and multiple
matchExpressions works.

Fixed #3345
2017-05-02 11:59:36 -07:00
Everett Toews 937177b991 Link to appropriate docs for Automatic Mounting of Manually Created Secrets (#3571)
* Update link to Adding ImagePullSecrets to a service account

* Link to appropriate docs for Automatic Mounting of Manually Created Secrets

* Replace here w/ title of pages
2017-05-01 10:22:51 -07:00
Hoat Le f428116387 Use pipeline to remove new line char (#3458)
When -w option is not available for base64, for example, when using alpine Docker image.
`echo -n "<text>" | base64 | tr -d '\n'` should be used, it works better.
2017-04-27 09:35:38 -07:00
Steve Perry 92b6057d9c Deprecation complete: secrets/index ... (#3554) 2017-04-26 17:13:34 -07:00
Steve Perry f83c5874a8 Deprecation complete: container-environment ... (#3536) 2017-04-25 18:03:58 -07:00
Steve Perry ecae0f436c Deprecation complete: multi-container ... (#3533) 2017-04-25 16:50:07 -07:00
Steve Perry b38c79dde8 Deprecation 22 (#3512)
* Deprecation complete: whatis k8s ...

* Fix redirect source.

* Deprecation complete: sharing-clusters ...
2017-04-24 20:35:01 -07:00
PaulJuliusMartinez 7f0294c579 Update User Guide and Admin links to point to new resources. (#3438)
* Update links to outdated user-guide and admin docs

* Add script for updating outdated links.

* Update regex to include init-containers file.

* Pull upstream, rewrite links in and to namespaces walkthrough.
2017-04-19 10:56:47 -07:00
Xiaoyu Zhang 187a681df7 add a shell script of PATCH (#3293)
add a  shell script of PATCH
2017-04-19 10:37:53 -07:00
Xiaoyu Zhang 586fd39d6d Fix broken link:assign-pod-node.md
Fix broken link:assign-pod-node.md
2017-04-14 16:17:53 -07:00
Xiaoyu Zhang 24856ca18b Fix broken link:secret.md
Fix broken link:secret.md
2017-04-13 15:35:53 -07:00
Guangya Liu 79090cc7cd failure-domain is no longer used in command line arg. 2017-04-13 09:48:57 -07:00
Guangya Liu 74d5af68ae Added hyperlink for [Interlude: built-in node labels]. 2017-04-12 14:23:31 -07:00
Michael Fraenkel ec622e1186 Document pod lifecycle when using EnvFrom
- Pods do not start with missing ConfigMaps or Secrets
- Pods do not start with missing keys in ConfigMaps or Secrets
- Pods start with invalid keys when referring to entire ConfigMaps or
Secrets.  An event documents the skipped keys from said resource.
2017-04-05 16:31:23 -07:00
Steve Perry 122410bc34 Move Guide topic: Secrets. (#3204) 2017-04-03 11:02:45 -07:00
Xiaoyu Zhang 7074634eb5 Update links from v1.5 to v1.6
Update links from v1.5 to v1.6
2017-03-30 09:28:53 -07:00
chenhuan12 dc6df6b28b fix typo
fix typo
2017-03-29 10:38:08 -07:00
Xiaoyu Zhang 59ea361df2 Fix the url (#3051)
* Fix the url 

It is as same as PR3050

* update to v1.6

update to v1.6

* update to v1.6
2017-03-29 10:15:03 -07:00
Xiaoyu Zhang fdc6a5afd6 Fix the urls (#3052)
* Fix the urls

Fix the urls

* update to v1.6

update to v1.6

* update to v1.6
2017-03-29 10:12:16 -07:00
Steve Perry 750f9323c5 Fix include paths. (#3096) 2017-03-29 08:57:54 -07:00
Steve Perry b974f72bd3 Move Guide topic: Assigning Pods to Nodes. (#3071) 2017-03-28 20:59:32 -07:00
Xiaoyu Zhang f7494aff36 Fix the urls
Fix the urls
2017-03-29 04:26:00 +08:00
Xiaoyu Zhang 5ad1c725e0 Fix the url
Fix the url
2017-03-28 10:38:03 -07:00
Xiaoyu Zhang af1f6d5a2d amend the url
Fix the wrong link
2017-03-28 10:36:04 -07:00
Andy Yu 9ce54855d5 Replace the tab with 4 spaces in md files (#2797)
* Replace the tab with 4 spaces in md files

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of accessing-the-api.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of manage-compute-resources-container.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of run-to-completion-finite-workloads.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of connect-applications-service.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of init-containers.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of calico.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of ingress.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of index.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of index.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of apparmor.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of run-stateful-application.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of index.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of index.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typos of replicasets.md

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>
2017-03-23 00:10:00 -07:00
devin-donnelly 414e9722ae Merge pull request #2912 from wenlxie/master
Update manage-compute-resources-container.md
2017-03-21 17:02:51 -07:00
Andrew Chen f0cd49a007 Move Guide topics: Container Lifestyle Hooks, Images, Volumes 2017-03-20 15:35:51 -07:00
wenlxie 0a33b3e910 Update manage-compute-resources-container.md
Change "he" to "The"
2017-03-18 22:23:30 +08:00
Andrew Chen a0a51fb032 Move Guide topic: Parallel Processing using Expansions (#2867)
* Move Guide topic: Parallel Processing using Expansions

* fix links to /docs/user-guide/jobs/
2017-03-16 11:31:57 -07:00
Andrew Chen ba34326fa0 Move Guide topic: Configuration Best Practices 2017-03-15 17:41:59 -07:00
Steve Perry 4d7aecf5de Deprecate Guide topics. (#2691) 2017-03-03 13:32:41 -08:00
Steve Perry 650d632519 Move Compute Resources topic to Concepts. (#2410) 2017-02-27 14:16:14 -08:00
tanshanshan 27039ac3b6 add an example 2017-02-21 10:06:36 -08:00
Vasily Upornikov 7815d386ef Update container-command-args.md 2017-02-06 13:43:12 -08:00
steveperry-53 3185b43411 Move Commands and Capabilities out of User Guide. 2017-01-30 16:19:56 -08:00