-
Notifications
You must be signed in to change notification settings - Fork 364
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
Antctl multicluster Doc for antctl.md #3414
Conversation
59401df
to
f264436
Compare
Codecov Report
@@ Coverage Diff @@
## main #3414 +/- ##
===========================================
- Coverage 65.46% 54.98% -10.48%
===========================================
Files 278 392 +114
Lines 27771 43057 +15286
===========================================
+ Hits 18179 23677 +5498
- Misses 7666 16976 +9310
- Partials 1926 2404 +478
Flags with carried forward coverage won't be shown. Click here to find out more.
|
f264436
to
f46f458
Compare
@bangqipropel you can do a force push to change the structure. thanks. |
docs/antctl.md
Outdated
|
||
### Multi-Cluster commands | ||
|
||
Starting with version 1.6.0, Antrea supports the `antctl mc` commands, which can collect information from multicluster 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.
s/with/from/
s/multicluster cluster/a leader cluster in a ClusterSet./
docs/antctl.md
Outdated
### Multi-Cluster commands | ||
|
||
Starting with version 1.6.0, Antrea supports the `antctl mc` commands, which can collect information from multicluster cluster. | ||
This information is useful when tryting to troubleshoot issues in |
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.
s/tryting/trying/
s/in/in a ClusterSet/
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
docs/antctl.md
Outdated
ClusterSet, ResourceImport, and ResourceExport, than using the default table | ||
output format. | ||
```bash | ||
antctl mc get clusterset [NAME] [-n NAMESPACE] [-o yaml] [--ALLNAMESPACES] |
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.
s/--ALLNAMESPACES/-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.
done
docs/antctl.md
Outdated
|
||
Starting with version 1.6.0, Antrea supports the `antctl mc` commands, which can collect information from multicluster cluster. | ||
This information is useful when tryting to troubleshoot issues in | ||
- `antctl` `mc` `get clusterset` (or `get clustersets`) command can print all |
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.
s/antctl
mc
get clusterset
/antctl mc get clusterset
please also fix following format issue.
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
f46f458
to
a23c945
Compare
184bc39
to
8298b68
Compare
@luolanzone @hjiajing @jianjun can this be reviewed? Thanks! |
docs/antctl.md
Outdated
|
||
### Multi-Cluster commands | ||
|
||
For information about Antrea Multi-Cluster commands, refer to the |
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.
please refer to
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
docs/multicluster/antctl.md
Outdated
Starting from version 1.6.0, Antrea supports the `antctl mc` commands, which can collect information from a leader cluster in a ClusterSet. | ||
This information is useful when trying to troubleshoot issues in an Antrea Multi-cluster ClusterSet. | ||
|
||
All antctl multi-cluster commands can only run correctly after [deploying Antrea Multi-cluster](./getting-started.md) successfully. |
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.
s/multi-cluster/Multi-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.
done
docs/multicluster/antctl.md
Outdated
Namespace, or ResourceExports in a specific cluster. | ||
|
||
Using the `json` or `yaml` antctl output format can print more information of | ||
ClusterSet, ResourceImport, and ResourceExport, than using the default table |
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.
s/, than/ than
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
docs/multicluster/antctl.md
Outdated
output format. | ||
|
||
```bash | ||
antctl mc get clusterset [NAME] [-n NAMESPACE] [-o yaml] [-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.
s/[-o yaml]/[-o json|yaml]/
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
8298b68
to
be7f705
Compare
@jianjuns @antoninbas can this be reviewed? thank you! |
docs/antctl.md
Outdated
@@ -33,6 +33,7 @@ running in three different modes: | |||
- [Flow Aggregator commands](#flow-aggregator-commands) | |||
- [Dumping flow records](#dumping-flow-records) | |||
- [Record metrics](#record-metrics) | |||
- [Multi-Cluster commands](#multi-cluster-commands) |
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.
I think we generally use "Multi-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.
done
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.
I changed it back to Multi-Cluster
since this is automatically generated, and it will fail during TOC CI verify if we change it to Multi-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.
ignore me, I shouldn't change here, I updated Multi-Cluster
to Multi-cluster
in the description section, then we can have the right TOC title here.
docs/antctl.md
Outdated
### Multi-Cluster commands | ||
|
||
For information about Antrea Multi-Cluster commands, please refer to the | ||
[Antctl Multi-cluster command line](./multicluster/antctl.md). |
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.
antctl Multi-cluster commands
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
docs/antctl.md
Outdated
### Multi-Cluster commands | ||
|
||
For information about Antrea Multi-Cluster commands, please refer to the | ||
[Antctl Multi-cluster command line](./multicluster/antctl.md). |
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.
antctl Multi-cluster commands
docs/multicluster/antctl.md
Outdated
@@ -0,0 +1,28 @@ | |||
# Antctl Multi-cluster command line |
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.
Antctl Multi-cluster commands
docs/multicluster/antctl.md
Outdated
@@ -0,0 +1,28 @@ | |||
# Antctl Multi-cluster command line |
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.
Antctl Multi-cluster commands
docs/multicluster/antctl.md
Outdated
All antctl Multi-cluster commands can only run correctly after [deploying Antrea Multi-cluster](./getting-started.md) successfully. | ||
|
||
- `antctl mc get clusterset` (or `get clustersets`) command can print all | ||
ClusterSets, a specified Clusterset, or ClusterSets in a specified |
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.
I think we support only a single ClusterSet in a Namespace?
|
||
- `antctl mc get clusterset` (or `get clustersets`) command can print all | ||
ClusterSets, a specified Clusterset, or ClusterSets in a specified | ||
Namespace. |
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.
leader cluster Namespace
|
||
- `antctl mc get clusterset` (or `get clustersets`) command can print all | ||
ClusterSets, a specified Clusterset, or ClusterSets in a specified | ||
Namespace. |
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.
leader cluster Namespace
docs/multicluster/antctl.md
Outdated
Namespace. | ||
- `antctl mc get resourceexport` (or `get resourceexports`, `get re`) command can print all | ||
ResourceExports, a specified ResourceExport, ResourceExports in a specified | ||
Namespace, or ResourceExports in a specific 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.
; or ResourceExports in a specific member cluster.
docs/multicluster/antctl.md
Outdated
Namespace. | ||
- `antctl mc get resourceexport` (or `get resourceexports`, `get re`) command can print all | ||
ResourceExports, a specified ResourceExport, ResourceExports in a specified | ||
Namespace, or ResourceExports in a specific 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.
; or ResourceExports in a specific member cluster.
be7f705
to
25c35b2
Compare
9823aaa
to
dedb2f2
Compare
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.
LGTM
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.
Doc content LGTM, but there is format issue and docs/antctl.md shouldn't be added to exception list.
docs/multicluster/antctl.md
Outdated
@@ -0,0 +1,26 @@ | |||
# Antctl Multi-cluster commands | |||
|
|||
Starting from version 1.6.0, Antrea supports the `antctl mc` commands, which can collect information from a leader cluster in a ClusterSet, for troubleshooting issues in an Antrea Multi-cluster ClusterSet. |
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.
Could you wrap the lines like other docs? Typically for docs we limit 80 chars per line so we could see the whole lines in some editors. But you don't need to break lines for code block and link.
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
hack/.notableofcontents
Outdated
@@ -1,5 +1,6 @@ | |||
docs/aks-installation.md | |||
docs/api.md | |||
docs/antctl.md |
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.
This doc has table of contents and we need CI to ensure it's accurate, why adding it to the exception list?
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.
removed it.
9977627
to
cd413db
Compare
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.
LGTM
/skip-all |
Doc verify failed. It's because this PR doesn't rebase on main branch and uses a stale link: getting-started.md has been renamed to "user-guide.md" by #3513.
|
16ff239
to
f65f643
Compare
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.
LGTM
Namespace. | ||
- `antctl mc get resourceexport` (or `get resourceexports`, `get re`) command can print all | ||
ResourceExports, a specified ResourceExport, ResourceExports in a specified | ||
Namespace, or ResourceExports in a specific member 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.
The lines are not aligned consistently.
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.
fixed.
Signed-off-by: zbangqi <[email protected]>
f65f643
to
e80cfcb
Compare
/skip-all |
No description provided.