зеркало из https://github.com/Azure/kubectl-aks.git
docs: Update SUPPORT.md and fix check-apiserver-connectivity documentation
This commit is contained in:
Родитель
dfc3eaae64
Коммит
ade7c1e027
27
SUPPORT.md
27
SUPPORT.md
|
@ -1,25 +1,12 @@
|
||||||
# TODO: The maintainer of this repo has not yet edited this file
|
|
||||||
|
|
||||||
**REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project?
|
|
||||||
|
|
||||||
- **No CSS support:** Fill out this template with information about how to file issues and get help.
|
|
||||||
- **Yes CSS support:** Fill out an intake form at [aka.ms/spot](https://aka.ms/spot). CSS will work with/help you to determine next steps. More details also available at [aka.ms/onboardsupport](https://aka.ms/onboardsupport).
|
|
||||||
- **Not sure?** Fill out a SPOT intake as though the answer were "Yes". CSS will help you decide.
|
|
||||||
|
|
||||||
*Then remove this first heading from this SUPPORT.MD file before publishing your repo.*
|
|
||||||
|
|
||||||
# Support
|
# Support
|
||||||
|
|
||||||
## How to file issues and get help
|
## How to file issues and get help
|
||||||
|
|
||||||
This project uses GitHub Issues to track bugs and feature requests. Please search the existing
|
This project uses GitHub Issues to track bugs and feature requests. Please
|
||||||
issues before filing new issues to avoid duplicates. For new issues, file your bug or
|
search the existing issues before filing new issues to avoid duplicates. For
|
||||||
feature request as a new Issue.
|
new issues, file your bug or feature request as a new Issue.
|
||||||
|
|
||||||
For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE
|
## Microsoft Support Policy
|
||||||
FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER
|
|
||||||
CHANNEL. WHERE WILL YOU HELP PEOPLE?**.
|
|
||||||
|
|
||||||
## Microsoft Support Policy
|
Support for this **PROJECT or PRODUCT** is limited to the resources listed
|
||||||
|
above.
|
||||||
Support for this **PROJECT or PRODUCT** is limited to the resources listed above.
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Check Connectivity
|
# Check API Server Connectivity
|
||||||
|
|
||||||
We can use `check-connectivity` to verify that nodes can communicate with the
|
We can use `check-apiserver-connectivity` to verify that nodes can communicate
|
||||||
Kubernetes API server:
|
with the Kubernetes API server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ kubectl get nodes
|
$ kubectl get nodes
|
||||||
|
@ -26,13 +26,13 @@ $ kubectl az check-apiserver-connectivity --id "/subscriptions/$SUBSCRIPTION/res
|
||||||
$ kubectl az check-apiserver-connectivity --subscription $SUBSCRIPTION --node-resource-group $NODERESOURCEGROUP --vmss $VMSS --instance-id $INSTANCEID
|
$ kubectl az check-apiserver-connectivity --subscription $SUBSCRIPTION --node-resource-group $NODERESOURCEGROUP --vmss $VMSS --instance-id $INSTANCEID
|
||||||
```
|
```
|
||||||
|
|
||||||
The `check-connectivity` command verifies the connectivity between the nodes and
|
The `check-apiserver-connectivity` command verifies the connectivity between the
|
||||||
the API server by executing the command `kubectl version` from the node itself.
|
nodes and the API server by executing the command `kubectl version` from the
|
||||||
This command will try to contact the API server to get the Kubernetes version it
|
node itself. This command will try to contact the API server to get the
|
||||||
is running, which is enough to verify the connectivity. We have to consider that
|
Kubernetes version it is running, which is enough to verify the connectivity. We
|
||||||
`kubectl` uses the URL of the API server available in the `kubeconfig` file and
|
have to consider that `kubectl` uses the URL of the API server available in the
|
||||||
not directly the IP address. It means that this connectivity check requires the
|
`kubeconfig` file and not directly the IP address. It means that this
|
||||||
DNS to be working correctly to succeed.
|
connectivity check requires the DNS to be working correctly to succeed.
|
||||||
|
|
||||||
We can use the flag `-v`/`--verbose` to have further details about the command
|
We can use the flag `-v`/`--verbose` to have further details about the command
|
||||||
that is being executed in the nodes to check connectivity:
|
that is being executed in the nodes to check connectivity:
|
||||||
|
@ -65,7 +65,7 @@ Response:
|
||||||
Connectivity check: succeeded
|
Connectivity check: succeeded
|
||||||
```
|
```
|
||||||
|
|
||||||
Given that the `check-connectivity` command checks the connectivity by running a
|
Given that the `check-apiserver-connectivity` command checks the connectivity by
|
||||||
command on the nodes, all the
|
running a command on the nodes, all the
|
||||||
[restrictions](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/run-command#restrictions)
|
[restrictions](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/run-command#restrictions)
|
||||||
of running scripts in an Azure Linux VM also apply here.
|
of running scripts in an Azure Linux VM also apply here.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче