Fixed several typos in markdown files. (#5005)

This commit is contained in:
Ti Zhou
2017-08-18 02:45:12 +08:00
committed by Steve Perry
parent bc5951ca10
commit 53177b5de0
19 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ kubelet
--enable-custom-metrics Support for gathering custom metrics. --enable-custom-metrics Support for gathering custom metrics.
--enable-debugging-handlers Enables server endpoints for log collection and local running of containers and commands (default true) --enable-debugging-handlers Enables server endpoints for log collection and local running of containers and commands (default true)
--enable-server Enable the Kubelet's server (default true) --enable-server Enable the Kubelet's server (default true)
--enforce-node-allocatable stringSlice A comma separated list of levels of node allocatable enforcement to be enforced by kubelet. Acceptible options are 'pods', 'system-reserved' & 'kube-reserved'. If the latter two options are specified, '--system-reserved-cgroup' & '--kube-reserved-cgroup' must also be set respectively. See https://git.k8s.io/community/contributors/design-proposals/node-allocatable.md for more details. (default [pods]) --enforce-node-allocatable stringSlice A comma separated list of levels of node allocatable enforcement to be enforced by kubelet. Acceptable options are 'pods', 'system-reserved' & 'kube-reserved'. If the latter two options are specified, '--system-reserved-cgroup' & '--kube-reserved-cgroup' must also be set respectively. See https://git.k8s.io/community/contributors/design-proposals/node-allocatable.md for more details. (default [pods])
--event-burst int32 Maximum size of a bursty event records, temporarily allows event records to burst to this number, while still not exceeding event-qps. Only used if --event-qps > 0 (default 10) --event-burst int32 Maximum size of a bursty event records, temporarily allows event records to burst to this number, while still not exceeding event-qps. Only used if --event-qps > 0 (default 10)
--event-qps int32 If > 0, limit event creations per second to this value. If 0, unlimited. (default 5) --event-qps int32 If > 0, limit event creations per second to this value. If 0, unlimited. (default 5)
--eviction-hard string A set of eviction thresholds (e.g. memory.available<1Gi) that if met would trigger a pod eviction. (default "memory.available<100Mi,nodefs.available<10%,nodefs.inodesFree<5%") --eviction-hard string A set of eviction thresholds (e.g. memory.available<1Gi) that if met would trigger a pod eviction. (default "memory.available<100Mi,nodefs.available<10%,nodefs.inodesFree<5%")
+2 -2
View File
@@ -6,7 +6,7 @@ Static compilation of html from markdown including processing for grouping code
\> bdocs-tab:kubectl Deployment Config to run 3 nginx instances (max rollback set to 10 revisions). \> bdocs-tab:kubectl Deployment Config to run 3 nginx instances (max rollback set to 10 revisions).
bdocs-tab:tab will be stripped during rendering and utilized to with CSS to show or hide the prefered tab. kubectl indicates the desired tab, since blockquotes have no specific syntax highlighting. bdocs-tab:tab will be stripped during rendering and utilized to with CSS to show or hide the preferred tab. kubectl indicates the desired tab, since blockquotes have no specific syntax highlighting.
\`\`\`bdocs-tab:kubectl_yaml \`\`\`bdocs-tab:kubectl_yaml
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
@@ -66,4 +66,4 @@ Apache License Version 2.0
## FAQ ## FAQ
Q: Why is it named brodocs? Q: Why is it named brodocs?
A: This project was born out of a collaboration with my brother to create a suitable docs app for his purposes. It was a fun name for the the two of us to use as actual brothers. A: This project was born out of a collaboration with my brother to create a suitable docs app for his purposes. It was a fun name for the the two of us to use as actual brothers.
+2 -2
View File
@@ -111,7 +111,7 @@
- In addition to window/document, if html or body are received, the plugin will choose the right one. - In addition to window/document, if html or body are received, the plugin will choose the right one.
### Fix ### Fix
- The plugin accepts floating numbers, Thanks Ramin - The plugin accepts floating numbers, Thanks Ramin
- Using jQuery.nodeName where neccessary so that this works on xml+xhtml - Using jQuery.nodeName where necessary so that this works on xml+xhtml
- The max() internal function wasn't completely accurrate, now it is 98% (except for IE on quirks mode and it's not too noticeable). - The max() internal function wasn't completely accurrate, now it is 98% (except for IE on quirks mode and it's not too noticeable).
## 1.4 ## 1.4
@@ -183,4 +183,4 @@
- Two axes can be scrolled together, this is set with the option 'axis'. - Two axes can be scrolled together, this is set with the option 'axis'.
- In case 2 axes are chosen, the scrolling can be queued: one scrolls, and then the other. - In case 2 axes are chosen, the scrolling can be queued: one scrolls, and then the other.
- There's an intermediary event, 'onAfterFirst' called in case the axes are queued, after the first ends. - There's an intermediary event, 'onAfterFirst' called in case the axes are queued, after the first ends.
- If the option 'margin' is set to true, the plugin will take in account, the margin of the target(no use if target is a value). - If the option 'margin' is set to true, the plugin will take in account, the margin of the target(no use if target is a value).
+1 -1
View File
@@ -297,7 +297,7 @@ $ cat hello.html
The point of marked was to create a markdown compiler where it was possible to The point of marked was to create a markdown compiler where it was possible to
frequently parse huge chunks of markdown without having to worry about frequently parse huge chunks of markdown without having to worry about
caching the compiled output somehow...or blocking for an unnecesarily long time. caching the compiled output somehow...or blocking for an unnecessarily long time.
marked is very concise and still implements all markdown features. It is also marked is very concise and still implements all markdown features. It is also
now fully compatible with the client-side. now fully compatible with the client-side.
@@ -147,7 +147,7 @@ Here's an example that orphans the dependents of a ReplicaSet:
kubectl delete replicaset my-repset --cascade=false kubectl delete replicaset my-repset --cascade=false
``` ```
### Addtional note on Deployments ### Additional note on Deployments
When using cascading deletes with Deployments you *must* use `propagationPolicy: Foreground` When using cascading deletes with Deployments you *must* use `propagationPolicy: Foreground`
to delete not only the ReplicaSets created, but also their Pods. If this type of _propagationPolicy_ to delete not only the ReplicaSets created, but also their Pods. If this type of _propagationPolicy_
+2 -2
View File
@@ -221,12 +221,12 @@ Typing multiple lines does **not** work. The callout style only applies to the l
**Note:** This is my note. **Note:** This is my note.
I didn't read the stlye guide. I didn't read the style guide.
{: .note} {: .note}
**Note:** This is my note. **Note:** This is my note.
I didn't read the stlye guide. I didn't read the style guide.
{: .note} {: .note}
### Ordered Lists ### Ordered Lists
+2 -2
View File
@@ -6,7 +6,7 @@ Static compilation of html from markdown including processing for grouping code
\> bdocs-tab:kubectl Deployment Config to run 3 nginx instances (max rollback set to 10 revisions). \> bdocs-tab:kubectl Deployment Config to run 3 nginx instances (max rollback set to 10 revisions).
bdocs-tab:tab will be stripped during rendering and utilized to with CSS to show or hide the prefered tab. kubectl indicates the desired tab, since blockquotes have no specific syntax highlighting. bdocs-tab:tab will be stripped during rendering and utilized to with CSS to show or hide the preferred tab. kubectl indicates the desired tab, since blockquotes have no specific syntax highlighting.
\`\`\`bdocs-tab:kubectl_yaml \`\`\`bdocs-tab:kubectl_yaml
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
@@ -66,4 +66,4 @@ Apache License Version 2.0
## FAQ ## FAQ
Q: Why is it named brodocs? Q: Why is it named brodocs?
A: This project was born out of a collaboration with my brother to create a suitable docs app for his purposes. It was a fun name for the the two of us to use as actual brothers. A: This project was born out of a collaboration with my brother to create a suitable docs app for his purposes. It was a fun name for the the two of us to use as actual brothers.
+2 -2
View File
@@ -111,7 +111,7 @@
- In addition to window/document, if html or body are received, the plugin will choose the right one. - In addition to window/document, if html or body are received, the plugin will choose the right one.
### Fix ### Fix
- The plugin accepts floating numbers, Thanks Ramin - The plugin accepts floating numbers, Thanks Ramin
- Using jQuery.nodeName where neccessary so that this works on xml+xhtml - Using jQuery.nodeName where necessary so that this works on xml+xhtml
- The max() internal function wasn't completely accurrate, now it is 98% (except for IE on quirks mode and it's not too noticeable). - The max() internal function wasn't completely accurrate, now it is 98% (except for IE on quirks mode and it's not too noticeable).
## 1.4 ## 1.4
@@ -183,4 +183,4 @@
- Two axes can be scrolled together, this is set with the option 'axis'. - Two axes can be scrolled together, this is set with the option 'axis'.
- In case 2 axes are chosen, the scrolling can be queued: one scrolls, and then the other. - In case 2 axes are chosen, the scrolling can be queued: one scrolls, and then the other.
- There's an intermediary event, 'onAfterFirst' called in case the axes are queued, after the first ends. - There's an intermediary event, 'onAfterFirst' called in case the axes are queued, after the first ends.
- If the option 'margin' is set to true, the plugin will take in account, the margin of the target(no use if target is a value). - If the option 'margin' is set to true, the plugin will take in account, the margin of the target(no use if target is a value).
+1 -1
View File
@@ -297,7 +297,7 @@ $ cat hello.html
The point of marked was to create a markdown compiler where it was possible to The point of marked was to create a markdown compiler where it was possible to
frequently parse huge chunks of markdown without having to worry about frequently parse huge chunks of markdown without having to worry about
caching the compiled output somehow...or blocking for an unnecesarily long time. caching the compiled output somehow...or blocking for an unnecessarily long time.
marked is very concise and still implements all markdown features. It is also marked is very concise and still implements all markdown features. It is also
now fully compatible with the client-side. now fully compatible with the client-side.
@@ -241,7 +241,7 @@ kubectl apply -f https://raw.githubusercontent.com/projectcalico/canal/master/k8
**Note:** **Note:**
- For flannel to work correctly, `--pod-network-cidr=10.244.0.0/16` has to be passed to `kubeadm init`. - For flannel to work correctly, `--pod-network-cidr=10.244.0.0/16` has to be passed to `kubeadm init`.
- flannel works on `amd64`, `arm`, `arm64` and `ppc64le`, but for it to work on an other platform than - flannel works on `amd64`, `arm`, `arm64` and `ppc64le`, but for it to work on an other platform than
`amd64` you have to manually download the manifest and replace `amd64` occurances with your chosen platform. `amd64` you have to manually download the manifest and replace `amd64` occurences with your chosen platform.
```shell ```shell
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
@@ -86,7 +86,7 @@ The known stages are:
- `RequestReceived` - The stage for events generated as soon as the audit handler receives the request. - `RequestReceived` - The stage for events generated as soon as the audit handler receives the request.
- `ResponseStarted` - Once the response headers are sent, but before the response body is sent. This stage is only generated for long-running requests (e.g. watch). - `ResponseStarted` - Once the response headers are sent, but before the response body is sent. This stage is only generated for long-running requests (e.g. watch).
- `ResponseComplete` - Once the response body has been completed. - `ResponseComplete` - Once the response body has been completed.
- `Panic` - Events generated when a panic occured. - `Panic` - Events generated when a panic occurred.
### Audit Policy ### Audit Policy
@@ -262,7 +262,7 @@ kubefed init fellowship \
[service](/docs/concepts/services-networking/service/) on the host cluster. By default, [service](/docs/concepts/services-networking/service/) on the host cluster. By default,
this service is exposed as a this service is exposed as a
[load balanced service](/docs/user-guide/services/#type-loadbalancer). [load balanced service](/docs/user-guide/services/#type-loadbalancer).
Most on-premises and bare-metal enviroments, and some cloud Most on-premises and bare-metal environments, and some cloud
environments lack support for load balanced services. `kubefed init` environments lack support for load balanced services. `kubefed init`
allows exposing the federation API server as a allows exposing the federation API server as a
[`NodePort` service](/docs/user-guide/services/#type-nodeport) on [`NodePort` service](/docs/user-guide/services/#type-nodeport) on
@@ -294,7 +294,7 @@ Conditions:
---- ------ ------ ------- ---- ------ ------ -------
AbleToScale True ReadyForNewScale the last scale time was sufficiently old as to warrant a new scale AbleToScale True ReadyForNewScale the last scale time was sufficiently old as to warrant a new scale
ScalingActive True ValidMetricFound the HPA was able to successfully calculate a replica count from pods metric http_requests ScalingActive True ValidMetricFound the HPA was able to successfully calculate a replica count from pods metric http_requests
ScalingLimited False DesiredWithinRange the desired replica count is within the acceptible range ScalingLimited False DesiredWithinRange the desired replica count is within the acceptable range
Events: Events:
``` ```
+4 -4
View File
@@ -92,7 +92,7 @@ kubectl can be installed as part of the Google Cloud SDK.
gcloud components install kubectl gcloud components install kubectl
3. Run `kubectl version` to verify that the verison you've installed is sufficiently up-to-date. 3. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date.
## Install with snap on Ubuntu ## Install with snap on Ubuntu
@@ -102,7 +102,7 @@ kubectl is available as a [snap](https://snapcraft.io/) application.
sudo snap install kubectl --classic sudo snap install kubectl --classic
2. Run `kubectl version` to verify that the verison you've installed is sufficiently up-to-date. 2. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date.
## Install with Homebrew on macOS ## Install with Homebrew on macOS
@@ -110,7 +110,7 @@ kubectl is available as a [snap](https://snapcraft.io/) application.
brew install kubectl brew install kubectl
2. Run `kubectl version` to verify that the verison you've installed is sufficiently up-to-date. 2. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date.
## Install with Chocolatey on Windows ## Install with Chocolatey on Windows
@@ -118,7 +118,7 @@ kubectl is available as a [snap](https://snapcraft.io/) application.
choco install kubernetes-cli choco install kubernetes-cli
2. Run `kubectl version` to verify that the verison you've installed is sufficiently up-to-date. 2. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date.
3. Configure kubectl to use a remote Kubernetes cluster: 3. Configure kubectl to use a remote Kubernetes cluster:
cd C:\users\yourusername (Or wherever your %HOME% directory is) cd C:\users\yourusername (Or wherever your %HOME% directory is)
@@ -41,7 +41,7 @@ Following are definitions for terms used in this document:
values of an object, as observed by the Kubernetes cluster. These are kept in the Kubernetes values of an object, as observed by the Kubernetes cluster. These are kept in the Kubernetes
cluster storage, typically etcd. cluster storage, typically etcd.
- *declarative configuration writer / declarative writer*: A person or software component - *declarative configuration writer / declarative writer*: A person or software component
that makes updates to a live object. The live writers refered to in this topic make changes that makes updates to a live object. The live writers referred to in this topic make changes
to object configuration files and run `kubectl apply` to write the changes. to object configuration files and run `kubectl apply` to write the changes.
## How to create objects ## How to create objects
+1 -1
View File
@@ -66,4 +66,4 @@ Apache License Version 2.0
## FAQ ## FAQ
Q: Why is it named brodocs? Q: Why is it named brodocs?
A: This project was born out of a collaboration with my brother to create a suitable docs app for his purposes. It was a fun name for the the two of us to use as actual brothers. A: This project was born out of a collaboration with my brother to create a suitable docs app for his purposes. It was a fun name for the the two of us to use as actual brothers.
+2 -2
View File
@@ -6,7 +6,7 @@ Static compilation of html from markdown including processing for grouping code
\> bdocs-tab:kubectl Deployment Config to run 3 nginx instances (max rollback set to 10 revisions). \> bdocs-tab:kubectl Deployment Config to run 3 nginx instances (max rollback set to 10 revisions).
bdocs-tab:tab will be stripped during rendering and utilized to with CSS to show or hide the prefered tab. kubectl indicates the desired tab, since blockquotes have no specific syntax highlighting. bdocs-tab:tab will be stripped during rendering and utilized to with CSS to show or hide the preferred tab. kubectl indicates the desired tab, since blockquotes have no specific syntax highlighting.
\`\`\`bdocs-tab:kubectl_yaml \`\`\`bdocs-tab:kubectl_yaml
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
@@ -66,4 +66,4 @@ Apache License Version 2.0
## FAQ ## FAQ
Q: Why is it named brodocs? Q: Why is it named brodocs?
A: This project was born out of a collaboration with my brother to create a suitable docs app for his purposes. It was a fun name for the the two of us to use as actual brothers. A: This project was born out of a collaboration with my brother to create a suitable docs app for his purposes. It was a fun name for the the two of us to use as actual brothers.
+2 -2
View File
@@ -111,7 +111,7 @@
- In addition to window/document, if html or body are received, the plugin will choose the right one. - In addition to window/document, if html or body are received, the plugin will choose the right one.
### Fix ### Fix
- The plugin accepts floating numbers, Thanks Ramin - The plugin accepts floating numbers, Thanks Ramin
- Using jQuery.nodeName where neccessary so that this works on xml+xhtml - Using jQuery.nodeName where necessary so that this works on xml+xhtml
- The max() internal function wasn't completely accurrate, now it is 98% (except for IE on quirks mode and it's not too noticeable). - The max() internal function wasn't completely accurrate, now it is 98% (except for IE on quirks mode and it's not too noticeable).
## 1.4 ## 1.4
@@ -183,4 +183,4 @@
- Two axes can be scrolled together, this is set with the option 'axis'. - Two axes can be scrolled together, this is set with the option 'axis'.
- In case 2 axes are chosen, the scrolling can be queued: one scrolls, and then the other. - In case 2 axes are chosen, the scrolling can be queued: one scrolls, and then the other.
- There's an intermediary event, 'onAfterFirst' called in case the axes are queued, after the first ends. - There's an intermediary event, 'onAfterFirst' called in case the axes are queued, after the first ends.
- If the option 'margin' is set to true, the plugin will take in account, the margin of the target(no use if target is a value). - If the option 'margin' is set to true, the plugin will take in account, the margin of the target(no use if target is a value).
+1 -1
View File
@@ -297,7 +297,7 @@ $ cat hello.html
The point of marked was to create a markdown compiler where it was possible to The point of marked was to create a markdown compiler where it was possible to
frequently parse huge chunks of markdown without having to worry about frequently parse huge chunks of markdown without having to worry about
caching the compiled output somehow...or blocking for an unnecesarily long time. caching the compiled output somehow...or blocking for an unnecessarily long time.
marked is very concise and still implements all markdown features. It is also marked is very concise and still implements all markdown features. It is also
now fully compatible with the client-side. now fully compatible with the client-side.