Skip to content

Commit 9bedfcb

Browse files
committed
Update toc and format in 1326-third-party-content-in-docs/README.md
Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
1 parent b59791f commit 9bedfcb

File tree

1 file changed

+87
-84
lines changed
  • keps/sig-docs/1326-third-party-content-in-docs

1 file changed

+87
-84
lines changed

keps/sig-docs/1326-third-party-content-in-docs/README.md

Lines changed: 87 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
## Table of Contents
44

55
<!-- toc -->
6-
- [Summary](#summary)
7-
- [Introduction](#introduction)
8-
- [Motivation](#motivation)
9-
- [Goals](#goals)
10-
- [Non-Goals](#non-goals)
11-
- [Proposal](#proposal)
12-
- [User Stories](#user-stories)
13-
- [Story 1 (fictional)](#story-1-fictional)
14-
- [Story 2 (fictional)](#story-2-fictional)
15-
- [Story 3 (actual)](#story-3-actual)
16-
- [Story 4 (actual)](#story-4-actual)
17-
- [Story 5 (actual)](#story-5-actual)
18-
- [Story 6 (actual)](#story-6-actual)
19-
- [Implementation Details/Notes/Constraints](#implementation-detailsnotesconstraints)
20-
- [Risks and Mitigations](#risks-and-mitigations)
21-
- [Design Details](#design-details)
22-
- [Graduation Criteria](#graduation-criteria)
6+
- [Summary](#summary)
7+
- [Introduction](#introduction)
8+
- [Motivation](#motivation)
9+
- [Goals](#goals)
10+
- [Non-Goals](#non-goals)
11+
- [Proposal](#proposal)
12+
- [User Stories](#user-stories)
13+
- [Story 1 (fictional)](#story-1-fictional)
14+
- [Story 2 (fictional)](#story-2-fictional)
15+
- [Story 3 (actual)](#story-3-actual)
16+
- [Story 4 (actual)](#story-4-actual)
17+
- [Story 5 (actual)](#story-5-actual)
18+
- [Story 6 (actual)](#story-6-actual)
19+
- [Implementation Details/Notes/Constraints](#implementation-detailsnotesconstraints)
20+
- [Risks and Mitigations](#risks-and-mitigations)
21+
- [Design Details](#design-details)
22+
- [Graduation Criteria](#graduation-criteria)
2323
- [Drawbacks](#drawbacks)
24-
- [Alternatives](#alternatives)
24+
- [Alternatives](#alternatives)
2525
<!-- /toc -->
2626

2727
**Note:** This KEP does not target any release; SIG Docs follows a continuous
@@ -33,8 +33,8 @@ This KEP seeks consensus on how Kubernetes docs handle two types of content:
3333

3434
1. Content from or about third-party providers ("third-party content")
3535

36-
Minimize and eliminate third-party content except when necessary for Kubernetes
37-
to function in-project.
36+
Minimize and eliminate third-party content except when necessary for Kubernetes
37+
to function in-project.
3838

3939
2. Content hosted on multiple sites ("dual-sourced content")
4040

@@ -104,67 +104,68 @@ To address its goal, this KEP focuses on the following issues:
104104
1. What third party content is appropriate for inclusion in the Kubernetes
105105
documentation?
106106

107-
Proposed: Third-party content is permitted if it is required for Kubernetes to
108-
function in-project.
107+
Proposed: Third-party content is permitted if it is required for Kubernetes to
108+
function in-project.
109109

110110
1. Does third party content in sections such as [Getting Started](https://kubernetes.io/docs/setup/)
111111
in the docs provide sufficient value to the reader that they should remain?
112112

113-
Casual consensus says yes, with one modification:
114-
- Eliminate the [production environment table](https://kubernetes.io/docs/setup/#production-environment)
115-
with a link to [certified conformance partners](https://kubernetes.io/partners/#conformance).
113+
Casual consensus says yes, with one modification:
114+
115+
- Eliminate the [production environment table](https://kubernetes.io/docs/setup/#production-environment)
116+
with a link to [certified conformance partners](https://kubernetes.io/partners/#conformance).
116117

117118
1. Is there a list of content pages that are so focused on third party product
118-
usage that they should be removed or updated from the Kubernetes documentation?
119+
usage that they should be removed or updated from the Kubernetes documentation?
119120

120-
See https://github.com/kubernetes/website/issues/15748.
121+
See https://github.com/kubernetes/website/issues/15748.
121122

122123
1. When should the Kubernetes documentation host third party content that isn't
123-
maintained by a Kubernetes SIG?
124+
maintained by a Kubernetes SIG?
124125

125-
As infrequently as possible, with linking preferred to hosting.
126+
As infrequently as possible, with linking preferred to hosting.
126127

127128
1. How does the Kubernetes project handle third party content that is not kept
128-
up to date or hosts?
129+
up to date or hosts?
129130

130-
If content isn't refreshed within 180 days, notify stakeholders of 90 days to
131-
update content or migrate it elsewhere before removing it. Notification
132-
specifically includes:
131+
If content isn't refreshed within 180 days, notify stakeholders of 90 days to
132+
update content or migrate it elsewhere before removing it. Notification
133+
specifically includes:
133134

134-
- Mailing an initial list of affected pages to kubernetes-dev@googlegroups.com
135-
- Announcing the policy change in two Kubernetes community meetings in a row
136-
- Posting a notification of the policy change on the Kubernetes blog
137-
- Notifying SIG PR review aliases on GitHub in PRs that remove affected content
135+
- Mailing an initial list of affected pages to kubernetes-dev@googlegroups.com
136+
- Announcing the policy change in two Kubernetes community meetings in a row
137+
- Posting a notification of the policy change on the Kubernetes blog
138+
- Notifying SIG PR review aliases on GitHub in PRs that remove affected content
138139

139140
1. Can feature owners flag when third party content is *required*, as opposed to
140141
preferable or common?
141142

142-
Is this capability required for KEP approval?
143+
Is this capability required for KEP approval?
143144

144145
1. Who decides when to include third-party content?
145146

146-
SIGs responsible for particular features can include third-party content at
147-
their discretion, preferably by linking to the third party's own documentation.
147+
SIGs responsible for particular features can include third-party content at
148+
their discretion, preferably by linking to the third party's own documentation.
148149

149150
1. What standard of quality and review must be met before docs include
150151
third-party content?
151152

152-
Third-party content must be necessary for Kubernetes to function in-project.
153+
Third-party content must be necessary for Kubernetes to function in-project.
153154

154155
1. To what extent should SIG Docs advocate for third-party content providers to
155156
host their own content, or decline to host third-party content altogether?
156157

157-
Kubernetes docs publish third-party content only if:
158+
Kubernetes docs publish third-party content only if:
158159

159-
- It's necessary for Kubernetes to function. For example: container runtimes
160-
(containerd, CRI-o, Docker), networking policy (CNI plugins), Ingress
161-
controllers, and logging.
160+
- It's necessary for Kubernetes to function. For example: container runtimes
161+
(containerd, CRI-o, Docker), networking policy (CNI plugins), Ingress
162+
controllers, and logging.
162163

163-
- It's an applied example of another project in the Kubernetes GitHub org. This
164-
includes the [kubernetes](https://github.com/kubernetes) and
165-
[kubernetes-sigs](https://github.com/kubernetes-sigs) repositories.
164+
- It's an applied example of another project in the Kubernetes GitHub org. This
165+
includes the [kubernetes](https://github.com/kubernetes) and
166+
[kubernetes-sigs](https://github.com/kubernetes-sigs) repositories.
166167

167-
Third-party content should be linked instead of hosted whenever possible.
168+
Third-party content should be linked instead of hosted whenever possible.
168169

169170
</del>
170171

@@ -181,30 +182,30 @@ Third-party content should be linked instead of hosted whenever possible.
181182

182183
1. Revise the [content guide](https://github.com/kubernetes/website/blob/master/content/en/docs/contribute/style/content-guide.md#contributing-content) to achieve the KEP goal:
183184

184-
- Specify that Kubernetes docs are limited to content required for Kubernetes to
185-
function in-project. Docs may include third-party OSS content for components that
186-
require a third-party solution to function. Docs may include content for
187-
other projects in the Kubernetes org, and content from other OSS projects that
188-
are necessary for Kubernetes to function. Third-party content must be linked
189-
whenever possible, rather than duplicated or hosted in k/website.
185+
Specify that Kubernetes docs are limited to content required for Kubernetes to
186+
function in-project. Docs may include third-party OSS content for components that
187+
require a third-party solution to function. Docs may include content for
188+
other projects in the Kubernetes org, and content from other OSS projects that
189+
are necessary for Kubernetes to function. Third-party content must be linked
190+
whenever possible, rather than duplicated or hosted in k/website.
190191

191192
2. Revise the documentation when the KEP is approved:
192193

193-
- **Third-party content:** Notify stakeholders of all affected content via
194-
GitHub issues and via a single message containing a summary of all affected
195-
content to kubernetes-dev@googlegroups.com that non-conforming content will be
196-
removed after 90 days.
194+
- **Third-party content:** Notify stakeholders of all affected content via
195+
GitHub issues and via a single message containing a summary of all affected
196+
content to kubernetes-dev@googlegroups.com that non-conforming content will be
197+
removed after 90 days.
197198

198-
This limits the impact to out-of-project content and gives current stakeholders
199-
approximately one Kubernetes release cycle to migrate
200-
third-party content to an alternate platform before removing content from
201-
Kubernetes docs.
199+
This limits the impact to out-of-project content and gives current stakeholders
200+
approximately one Kubernetes release cycle to migrate
201+
third-party content to an alternate platform before removing content from
202+
Kubernetes docs.
202203

203-
- **Dual-sourced content:** Where sourcing is obvious, replace dual-sourced
204-
content with links to an authoritative single source. Where sourcing is unclear,
205-
notify stakeholders via GitHub issues in k/website and via a single message
206-
containing a summary of all affected content to kubernetes-dev@googlegroups.com
207-
that non-conforming content will be removed after 90 days.
204+
- **Dual-sourced content:** Where sourcing is obvious, replace dual-sourced
205+
content with links to an authoritative single source. Where sourcing is unclear,
206+
notify stakeholders via GitHub issues in k/website and via a single message
207+
containing a summary of all affected content to kubernetes-dev@googlegroups.com
208+
that non-conforming content will be removed after 90 days.
208209

209210
In all cases where content would be removed, provide adequate time for the
210211
relevant SIG to review changes and notify stakeholders.
@@ -282,23 +283,25 @@ For example:
282283
> is discouraged.
283284
284285
Pages that fit with that example guideline:
285-
- Cluster Networking
286-
- https://kubernetes.io/docs/concepts/cluster-administration/networking/
287-
- https://kubernetes.io/docs/concepts/cluster-administration/addons/
288-
- Ingress Controllers
289-
- https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/#additional-controllers
290-
- Persistent Volumes
291-
- https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims
286+
287+
- Cluster Networking
288+
- https://kubernetes.io/docs/concepts/cluster-administration/networking/
289+
- https://kubernetes.io/docs/concepts/cluster-administration/addons/
290+
- Ingress Controllers
291+
- https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/#additional-controllers
292+
- Persistent Volumes
293+
- https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims
292294

293295
Pages to review and possibly revise, if that guideline were in place:
294-
- [Install a Network Policy Provider](https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/) and child pages: how to use Calico, Cilium, Kube-router, Romana, and Weave Net for NetworkPolicy
295-
- [Audit](https://kubernetes.io/docs/tasks/debug-application-cluster/audit/)
296-
- [Use fluentd to collect and distribute audit events from log file](https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#use-fluentd-to-collect-and-distribute-audit-events-from-log-file) (dual-sourced)
297-
- [Use logstash to collect and distribute audit events from webhook backend](https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#use-logstash-to-collect-and-distribute-audit-events-from-webhook-backend) (vendor-specific content)
298-
- [Auditing with Falco](https://kubernetes.io/docs/tasks/debug-application-cluster/falco/) (dual-sourced)
299-
- [Events in Stackdriver](https://kubernetes.io/docs/tasks/debug-application-cluster/events-stackdriver/) (vendor-specific content)
300-
- [Logging Using Elasticsearch and Kibana](https://kubernetes.io/docs/tasks/debug-application-cluster/logging-elasticsearch-kibana/) (vendor-specific content)
301-
- [Logging using Stackdriver](https://kubernetes.io/docs/tasks/debug-application-cluster/logging-stackdriver/) (vendor-specific content)
296+
297+
- [Install a Network Policy Provider](https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/) and child pages: how to use Calico, Cilium, Kube-router, Romana, and Weave Net for NetworkPolicy
298+
- [Audit](https://kubernetes.io/docs/tasks/debug-application-cluster/audit/)
299+
- [Use fluentd to collect and distribute audit events from log file](https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#use-fluentd-to-collect-and-distribute-audit-events-from-log-file) (dual-sourced)
300+
- [Use logstash to collect and distribute audit events from webhook backend](https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#use-logstash-to-collect-and-distribute-audit-events-from-webhook-backend) (vendor-specific content)
301+
- [Auditing with Falco](https://kubernetes.io/docs/tasks/debug-application-cluster/falco/) (dual-sourced)
302+
- [Events in Stackdriver](https://kubernetes.io/docs/tasks/debug-application-cluster/events-stackdriver/) (vendor-specific content)
303+
- [Logging Using Elasticsearch and Kibana](https://kubernetes.io/docs/tasks/debug-application-cluster/logging-elasticsearch-kibana/) (vendor-specific content)
304+
- [Logging using Stackdriver](https://kubernetes.io/docs/tasks/debug-application-cluster/logging-stackdriver/) (vendor-specific content)
302305

303306
### Risks and Mitigations
304307

@@ -315,7 +318,7 @@ existing [content guide](https://github.com/kubernetes/website/blob/master/conte
315318

316319
Once the KEP is approved, merge the KEP and then update website content accordingly.
317320

318-
# Drawbacks
321+
## Drawbacks
319322

320323
SIG Docs identified no meaningful drawbacks.
321324

0 commit comments

Comments
 (0)