-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update node conformance test document. #1784
Update node conformance test document. #1784
Conversation
minimum requirement of Kubernetes with a set of system verification and | ||
functionality test. A node which passes the tests is qualified to join a | ||
Kubernetes cluster. | ||
*Node conformance test* is a containerized test framework validating whether a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Node conformance test is a containerized test framework that provides a system verification and functionality test for a node. The test validates whether the node meets the minimum requirements for Kubernetes; a node that passes the test is qualified to join a Kubernetes cluster."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
*Node conformance test* is a containerized test framework validating whether a | ||
node meets the minimum requirement of Kubernetes with a set of system | ||
verification and functionality test. A node which passes the test is qualified | ||
to join a Kubernetes cluster. | ||
|
||
## Limitations | ||
|
||
There are following limitations in the current implementation of node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Current" can be out of date. Reference a specific Kubernetes version.
"In Kuberentes version 1.5, node conformance test has the following limitations:"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good suggestion! Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
||
* Node conformance test only supports Docker as the container runtime. | ||
* Node conformance test doesn't validate network related system configurations | ||
and functionalities. | ||
|
||
## Prerequisite |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change header to "## Node Prerequisites"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
||
* Node conformance test only supports Docker as the container runtime. | ||
* Node conformance test doesn't validate network related system configurations | ||
and functionalities. | ||
|
||
## Prerequisite | ||
|
||
Node conformance test is used to test whether a node is ready to join a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"To run node conformance test, a node must satisfy the same prerequisites as a standard Kubernetes node. At a minimum, the node should have the following processes installed:"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Node conformance test validates kernel configurations. If the kenrel module | ||
`configs` is built as module in your environment, it must be loaded before the | ||
test. (See [Caveats #3](#caveats) for more information) | ||
|
||
## Usage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try not to nest headers underneath one another. That's usually indicative of structural problems in the document.
In this case, "## Usage" is unnecessary. Remove, and move all subsequent headers up one level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Node conformance test validates kernel configurations. If the kenrel module | ||
`configs` is built as module in your environment, it must be loaded before the | ||
test. (See [Caveats #3](#caveats) for more information) | ||
|
||
## Usage | ||
|
||
### Run Node Conformance Test | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add an introductory sentence:
"To run a node conformance test, perform the following steps:"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Node conformance test validates kernel configurations. If the kenrel module | ||
`configs` is built as module in your environment, it must be loaded before the | ||
test. (See [Caveats #3](#caveats) for more information) | ||
|
||
## Usage | ||
|
||
### Run Node Conformance Test | ||
|
||
* **Step 1:** Point your Kubelet to localhost `--api-servers="http://localhost:8080"`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove "Step 1:" and the bullet list, and use a markdown list instead. You can still nest bullets inside of it for the Kubelet flags.
- Point your Kubelet to localhost, etc.
--pod-cidr
: If you are usingkubenet
...
- Run the node conformance test with the following command:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Node conformance test validates kernel configurations. If the kenrel module | ||
`configs` is built as module in your environment, it must be loaded before the | ||
test. (See [Caveats #3](#caveats) for more information) | ||
|
||
## Usage | ||
|
||
### Run Node Conformance Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Run" -> "Running"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
``` | ||
|
||
### Run Node Conformance Test for Other Architectures | ||
|
||
We also build node conformance test docker images for other architectures: | ||
Find node conformance test docker images for other architectures: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Kubernetes also provides node conformance test docker images for other architectures:"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
test. | ||
* The test will leave dead containers on the node, these containers are created | ||
* The test leaves dead containers on the node, these containers are created |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace comma with period. Split this into two sentences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@devin-donnelly Addressed comments. Thanks a lot for your carefully review. |
Awesome, thanks. Who's a good tech reviewer for this pull request? |
LGTM |
Update node conformance test document.
@dchen1107
/cc @kubernetes/sig-node
This change is