From 4bcc17d1a63328350ed1d9f6aff000e65a72b82f Mon Sep 17 00:00:00 2001 From: nasa9084 Date: Sat, 26 Oct 2019 05:42:39 +0900 Subject: [PATCH 01/31] add oke-py as sig-docs-ja reviewer (#17182) --- OWNERS_ALIASES | 1 + 1 file changed, 1 insertion(+) diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES index 9405515e5e789..6fc7a2f2a3b99 100644 --- a/OWNERS_ALIASES +++ b/OWNERS_ALIASES @@ -123,6 +123,7 @@ aliases: - makocchi-git - MasayaAoyama - nasa9084 + - oke-py sig-docs-ko-owners: # Admins for Korean content - ClaudiaJKang - gochist From fbc2e4919f153edfdec8d82fc072abf3ada59dea Mon Sep 17 00:00:00 2001 From: Caeson Date: Sat, 26 Oct 2019 15:45:23 +0800 Subject: [PATCH 02/31] Update service.md (#17136) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. add a white space in line 367 between "###" and "版本兼容性". --- content/zh/docs/concepts/services-networking/service.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/zh/docs/concepts/services-networking/service.md b/content/zh/docs/concepts/services-networking/service.md index f0484315cc8b5..0915c40d756ac 100644 --- a/content/zh/docs/concepts/services-networking/service.md +++ b/content/zh/docs/concepts/services-networking/service.md @@ -364,7 +364,7 @@ iptables mode for kube-proxy became the default. Kubernetes v1.8 added ipvs proxy mode. --> -###版本兼容性 +### 版本兼容性 从Kubernetes v1.0开始,您已经可以使用 [用户空间代理模式](#proxy-mode-userspace)。 Kubernetes v1.1添加了 iptables 模式代理,在 Kubernetes v1.2 中,kube-proxy 的 iptables 模式成为默认设置。 From c26ea07706d45ae3f6eec8f86fcb494fdea66fa1 Mon Sep 17 00:00:00 2001 From: Karen Bradshaw Date: Sat, 26 Oct 2019 10:31:23 -0400 Subject: [PATCH 03/31] Fix styling of tutorial pages (#17177) * [WIP] Fix styling of tutorial pages * additional cleanup of styles.css --- .../tutorials/kubernetes-basics/_index.html | 2 + .../create-cluster/cluster-intro.html | 2 +- .../deploy-app/deploy-intro.html | 2 +- .../kubernetes-basics/public/css/styles.css | 49 +++++++++++++++++-- .../update/update-intro.html | 4 +- 5 files changed, 50 insertions(+), 9 deletions(-) diff --git a/content/en/docs/tutorials/kubernetes-basics/_index.html b/content/en/docs/tutorials/kubernetes-basics/_index.html index 4adbf98f192c6..39204e19dee96 100644 --- a/content/en/docs/tutorials/kubernetes-basics/_index.html +++ b/content/en/docs/tutorials/kubernetes-basics/_index.html @@ -14,6 +14,8 @@ + +
diff --git a/content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html b/content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html index a203274a6c5a8..2f1b59d83f7c8 100644 --- a/content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html +++ b/content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html @@ -9,7 +9,7 @@ - +
diff --git a/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html b/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html index 9c7a36916b0b9..8f38960de7d54 100644 --- a/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html +++ b/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html @@ -9,7 +9,7 @@ - +
diff --git a/content/en/docs/tutorials/kubernetes-basics/public/css/styles.css b/content/en/docs/tutorials/kubernetes-basics/public/css/styles.css index 3f728278a8dd1..3ee982aa1179f 100644 --- a/content/en/docs/tutorials/kubernetes-basics/public/css/styles.css +++ b/content/en/docs/tutorials/kubernetes-basics/public/css/styles.css @@ -5,6 +5,8 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ + +/* html { font-family: sans-serif; @@ -57,6 +59,7 @@ template { display: none; } +*/ a { @@ -69,6 +72,7 @@ a:hover outline: 0; } +/* abbr[title] { border-bottom: 1px dotted; @@ -91,7 +95,9 @@ h1 margin: .67em 0; } +*/ +/* mark { color: #000; @@ -123,6 +129,7 @@ sub { bottom: -.25em; } +*/ img { @@ -366,17 +373,22 @@ th } } +/* * { box-sizing: border-box; } +*/ +/* *:before, *:after { box-sizing: border-box; } +*/ +/* html { font-size: 10px; @@ -393,6 +405,7 @@ body color: #333; background-color: #fff; } +*/ input, button, @@ -404,6 +417,7 @@ textarea line-height: inherit; } +/* a { text-decoration: none; @@ -422,6 +436,8 @@ a:focus outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } +*/ + figure { @@ -511,6 +527,7 @@ hr cursor: pointer; } +/* h1, h2, h3, @@ -560,7 +577,10 @@ h6 .small, color: #777; } +*/ + +/* h1, .h1, h2, @@ -586,7 +606,9 @@ h3 .small, { font-size: 65%; } +*/ +/* h4, .h4, h5, @@ -612,12 +634,15 @@ h6 .small, { font-size: 75%; } +*/ +/* h1, .h1 { font-size: 36px; } +*/ h2, .h2 @@ -637,6 +662,7 @@ h4, font-size: 18px; } +/* h5, .h5 { @@ -648,6 +674,7 @@ h6, { font-size: 12px; } +*/ p { @@ -853,6 +880,7 @@ a.bg-danger:focus border-bottom: 1px solid #eee; } +/* ul, ol { @@ -888,6 +916,9 @@ ol ol padding-right: 5px; padding-left: 5px; } +*/ + + dl { @@ -5976,7 +6007,7 @@ a.badge:focus { padding: 9px; - color: #333; + /*color: #333;*/ } a.thumbnail:hover, @@ -8769,6 +8800,7 @@ button.close border-top: 1px solid #e5eaf9; } + .content { position: relative; @@ -8788,6 +8820,8 @@ button.close -ms-flex: 1 1 auto; flex: 1 1 auto; } + + @media screen and (max-width: 998px) { .content @@ -9042,6 +9076,7 @@ button.close max-width: 300px; } +/* .header { padding: 20px 20px; @@ -9532,7 +9567,9 @@ button.close display: none; } } +*/ +/* .scrolltop { position: fixed; @@ -9603,17 +9640,16 @@ button.close opacity: 1; } +*/ + +/* body { font-family: Roboto, 'Helvetica Neue', Helvetica, 'Open Sans', Arial, sans-serif; font-size: 15px; line-height: 1.5; - /*display: -webkit-box;*/ - /*display: -ms-flexbox;*/ - /*display: flex;*/ - min-height: 100vh; background: #eee; @@ -9672,6 +9708,8 @@ p a:hover { text-decoration: none; } +*/ + .breadcrumb { @@ -10106,6 +10144,7 @@ p a:hover { display: block; } + @media screen and (max-width: 992px) { .quiz__box diff --git a/content/en/docs/tutorials/kubernetes-basics/update/update-intro.html b/content/en/docs/tutorials/kubernetes-basics/update/update-intro.html index 0febbcee99658..aa6f9b406345e 100644 --- a/content/en/docs/tutorials/kubernetes-basics/update/update-intro.html +++ b/content/en/docs/tutorials/kubernetes-basics/update/update-intro.html @@ -9,8 +9,8 @@ - - + +
From 998fb53f7479d96c1699522609e1373a0f667813 Mon Sep 17 00:00:00 2001 From: Dirc Date: Sat, 26 Oct 2019 17:17:23 +0200 Subject: [PATCH 04/31] fix typo (#17188) --- .../tasks/configure-pod-container/configure-service-account.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/configure-pod-container/configure-service-account.md b/content/en/docs/tasks/configure-pod-container/configure-service-account.md index b55e7076fcb8b..f42bc8e1fd6f3 100644 --- a/content/en/docs/tasks/configure-pod-container/configure-service-account.md +++ b/content/en/docs/tasks/configure-pod-container/configure-service-account.md @@ -75,7 +75,7 @@ Every namespace has a default service account resource called `default`. You can list this and any other serviceAccount resources in the namespace with this command: ```shell -kubectl get serviceAccounts +kubectl get serviceaccounts ``` The output is similar to this: From f53c6e1c2089e2df7385ca3c38be96923b79cf9d Mon Sep 17 00:00:00 2001 From: Andrew Sy Kim Date: Sun, 27 Oct 2019 07:31:24 -0400 Subject: [PATCH 05/31] redirect to vSphere cloud provider docs in cloud providers page (#16778) Signed-off-by: Andrew Sy Kim --- .../cluster-administration/cloud-providers.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/content/en/docs/concepts/cluster-administration/cloud-providers.md b/content/en/docs/concepts/cluster-administration/cloud-providers.md index bd41643c31ba7..bdbbeecdfa2ba 100644 --- a/content/en/docs/concepts/cluster-administration/cloud-providers.md +++ b/content/en/docs/concepts/cluster-administration/cloud-providers.md @@ -370,13 +370,18 @@ Note that the Kubernetes Node name must match the VM FQDN (reported by OVirt und The Photon cloud provider uses the hostname of the node (as determined by the kubelet or overridden with `--hostname-override`) as the name of the Kubernetes Node object. Note that the Kubernetes Node name must match the Photon VM name (or if `overrideIP` is set to true in the `--cloud-config`, the Kubernetes Node name must match the Photon VM IP address). -## VSphere - -### Node Name - -The VSphere cloud provider uses the detected hostname of the node (as determined by the kubelet) as the name of the Kubernetes Node object. - -The `--hostname-override` parameter is ignored by the VSphere cloud provider. +## vSphere + +{{< tabs name="vSphere cloud provider" >}} +{{% tab name="vSphere >= 6.7U3" %}} +For all vSphere deployments on vSphere >= 6.7U3, the [external vSphere cloud provider](https://github.com/kubernetes/cloud-provider-vsphere), along with the [vSphere CSI driver](https://github.com/kubernetes-sigs/vsphere-csi-driver) is recommended. See [Deploying a Kubernetes Cluster on vSphere with CSI and CPI](https://cloud-provider-vsphere.sigs.k8s.io/tutorials/kubernetes-on-vsphere-with-kubeadm.html) for a quick start guide. +{{% /tab %}} +{{% tab name="vSphere < 6.7U3" %}} +If you are running vSphere < 6.7U3, the in-tree vSphere cloud provider is recommended. See [Running a Kubernetes Cluster on vSphere with kubeadm](https://cloud-provider-vsphere.sigs.k8s.io/tutorials/k8s-vcp-on-vsphere-with-kubeadm.html) for a quick start guide. +{{% /tab %}} +{{< /tabs >}} + +For in-depth documentation on the vSphere cloud provider, visit the [vSphere cloud provider docs site](https://cloud-provider-vsphere.sigs.k8s.io). ## IBM Cloud Kubernetes Service From 6a4238aa718e3f3fb466821bfcd8fbe55c6fb572 Mon Sep 17 00:00:00 2001 From: Chaitanya Date: Sun, 27 Oct 2019 17:13:24 +0530 Subject: [PATCH 06/31] Accessibility updates - main landmark roles (#17106) * Removed multiple main tags from home page Signed-off-by: chaitanyakaranam * Removed multiple occurances of main in case-studies page Signed-off-by: chaitanyakaranam * Replaced css for main tag with .main-section class Signed-off-by: ChaitanyaKaranam * Added main landmark role for all the pages Signed-off-by: ChaitanyaKaranam * Force checks. request-checks: true --- assets/sass/_base.sass | 16 +++---- assets/sass/_desktop.sass | 8 ++-- assets/sass/_size.sass | 4 +- assets/sass/_tablet.sass | 2 +- content/en/partners/_index.html | 2 +- layouts/_default/baseof.html | 14 ++++--- layouts/blog/baseof.html | 42 ++++++++++--------- layouts/case-studies/list.html | 12 +++--- layouts/docs/baseof.html | 22 +++++----- layouts/index.html | 8 ++-- layouts/partials/footer.html | 4 +- layouts/partials/header.html | 36 ++++++++-------- layouts/shortcodes/blocks/case-studies.html | 4 +- layouts/shortcodes/blocks/feature.html | 4 +- .../blocks/kubernetes-features.html | 4 +- static/css/gridpage.css | 24 +++++------ 16 files changed, 106 insertions(+), 100 deletions(-) diff --git a/assets/sass/_base.sass b/assets/sass/_base.sass index 1ccd4feae39f1..2a0d6a269679b 100644 --- a/assets/sass/_base.sass +++ b/assets/sass/_base.sass @@ -70,7 +70,7 @@ section background-color: white section, header, footer - main + .main-section position: relative margin: auto @@ -249,7 +249,7 @@ header color: $blue font-weight: normal - main + .main-section white-space: nowrap overflow: hidden clear: both @@ -439,7 +439,7 @@ footer background-image: url(/images/texture.png) background-color: $dark-grey - main + .main-section padding: 20px 0 nav @@ -1121,7 +1121,7 @@ $feature-box-div-margin-bottom: 40px margin-bottom: 0 padding-bottom: 1px - main + .main-section padding: 0 10px margin-bottom: 30px @@ -1147,7 +1147,7 @@ $feature-box-div-margin-bottom: 40px a color: $blue - main + .main-section margin-bottom: $ocean-nodes-padding-Y min-height: 160px @@ -1160,7 +1160,7 @@ $feature-box-div-margin-bottom: 40px width: 100% max-width: 160px - main:first-child + .main-section:first-child .image-wrapper max-width: 100% @@ -1356,7 +1356,7 @@ $feature-box-div-margin-bottom: 40px #mainContent padding: 20px 0 - main + .main-section max-width: none a @@ -1775,7 +1775,7 @@ $feature-box-div-margin-bottom: 40px #home #talkToUs - main + .main-section padding: 30px 0 h5 diff --git a/assets/sass/_desktop.sass b/assets/sass/_desktop.sass index b1c292557b4e7..c8f7f44f84581 100644 --- a/assets/sass/_desktop.sass +++ b/assets/sass/_desktop.sass @@ -95,7 +95,7 @@ $video-section-height: 550px right: -25px section, header, footer - main + .main-section max-width: $main-max-width header, #vendorStrip, #encyclopedia, #hero h1, #hero h5, #docs #hero h1, #docs #hero h5, @@ -108,11 +108,11 @@ $video-section-height: 550px #home section, header, footer - main + .main-section max-width: 1000px #oceanNodes - main + .main-section position: relative max-width: 830px @@ -172,7 +172,7 @@ $video-section-height: 550px background-image: url(../images/texture.png) background-color: $dark-grey - main + .main-section padding: 20px 0 nav diff --git a/assets/sass/_size.sass b/assets/sass/_size.sass index 76a2771fa719e..470a2f57650a0 100644 --- a/assets/sass/_size.sass +++ b/assets/sass/_size.sass @@ -26,7 +26,7 @@ section, header, #vendorStrip padding-left: $full-width-paddingX padding-right: $full-width-paddingX - main + .main-section width: $main-width max-width: $main-max-width @@ -59,7 +59,7 @@ header .nav-box + .nav-box margin-left: $nav-box-sibling-margin-left - main + main + .main-secton + .main-section margin-top: $main-nav-main-sibling-margin-top .left .button diff --git a/assets/sass/_tablet.sass b/assets/sass/_tablet.sass index 4434ed5b82bf5..96b24322a2e3d 100644 --- a/assets/sass/_tablet.sass +++ b/assets/sass/_tablet.sass @@ -116,7 +116,7 @@ $feature-box-div-width: 45% text-align: left margin-bottom: 18px - main + main, .main-section position: relative clear: both display: table diff --git a/content/en/partners/_index.html b/content/en/partners/_index.html index a3da8daa570aa..3e76bffbc60df 100644 --- a/content/en/partners/_index.html +++ b/content/en/partners/_index.html @@ -7,7 +7,7 @@ ---
-
+
Kubernetes works with partners to create a strong, vibrant codebase that supports a spectrum of complementary platforms.
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 440655af41748..d23a1141a3a37 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,20 +8,22 @@ {{ block "hero" . }}
-
+

{{ block "hero-title" . }}{{ .Params.bigheader | default .Title }}{{ end }}

{{ .Params.abstract }}
{{ block "hero-more" . }}{{ end }} -
+
{{ block "post-hero" . }}{{ end }} {{ end }} - -
- {{ block "main" . }}{{ end }} -
+ +
+
+ {{ block "main" . }}{{ end }} +
+
{{ partialCached "footer.html" . }} {{ partialCached "footer-scripts.html" . }} diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html index 85095f152c165..c774f688f66e9 100644 --- a/layouts/blog/baseof.html +++ b/layouts/blog/baseof.html @@ -11,29 +11,31 @@

{{ .Title }}

-
-
-
- {{ block "main" . }}{{ end }} -
-
-
- {{ with site.Home.OutputFormats.Get "rss" -}} - -
- {{ end -}} -
-
-
-
-
-
-
+
+
+
+
+ {{ block "main" . }}{{ end }} +
+
+
+ {{ with site.Home.OutputFormats.Get "rss" -}} + +
+ {{ end -}} +
+
+
+
+
+
+
+
+ {{ partialCached "blog/archive.html" . }}
- {{ partialCached "blog/archive.html" . }}
-
+
{{ partialCached "footer.html" . }} {{ partialCached "footer-scripts.html" . }} diff --git a/layouts/case-studies/list.html b/layouts/case-studies/list.html index 1dbd6351a4a90..f8e723c8198d4 100644 --- a/layouts/case-studies/list.html +++ b/layouts/case-studies/list.html @@ -10,7 +10,7 @@ {{ end }} {{ $featured := (where $pages "Params.featured" true).ByWeight | first 4 }}
-
+
{{ range $featured }} @@ -18,13 +18,13 @@ {{ end }}
-
+
{{ $featuredVideos := where .Pages ".Params.video" "!=" nil }} {{ with $featuredVideos }} {{ with index $featuredVideos 0 }}
-
+

"{{ .Params.quote | html }}"

{{ $img := .Resources.GetMatch "video.png" }} @@ -32,7 +32,7 @@

"{{ .Params.quote | html }}"

{{ with $small }}{{ .Title }}{{ end }}
-
+
@@ -41,7 +41,7 @@

"{{ .Params.quote | html }}"

{{ end }} {{ end }}
-
+

{{ .Title }}

{{ range $pages.ByTitle }} @@ -60,7 +60,7 @@

{{ .Title }}

{{ end }} {{ T
-
+
{{ .Content }} {{ end }} diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 11342585f1fff..cb3071f5f573f 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -13,16 +13,18 @@ {{ end }} {{ block "announcement" . }}{{ partial "announcement.html" . }}{{ end }} {{ block "deprecation" . }}{{ partial "deprecation-warning.html" . }}{{ end }} -
- {{ block "side-menu" . }}{{ end }} -
- {{ block "content" . }}{{ end }} - - {{ partial "feedback.html" . }} - - {{ partial "git-info.html" . }} -
-
+
+
+ {{ block "side-menu" . }}{{ end }} +
+ {{ block "content" . }}{{ end }} + + {{ partial "feedback.html" . }} + + {{ partial "git-info.html" . }} +
+
+
{{ partialCached "footer.html" . }} {{ partialCached "footer-scripts.html" . }}