Merge pull request #43006 from iagonc/fix/docs-add-missing-command-name

fix(doc): add "service" command name for lb and np
pull/43226/head
Kubernetes Prow Robot 2023-09-27 07:08:08 -07:00 committed by GitHub
commit df02d1606e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2001,7 +2001,7 @@ inspect them.</p>
</code></pre>
<p>Create a LoadBalancer service with the specified name.</p>
<h3 id="usage">Usage</h3>
<p><code>$ kubectl create loadbalancer NAME [--tcp=port:targetPort] [--dry-run=server|client|none]</code></p>
<p><code>$ kubectl create service loadbalancer NAME [--tcp=port:targetPort] [--dry-run=server|client|none]</code></p>
<h3 id="flags">Flags</h3>
<table>
<thead>
@ -2078,7 +2078,7 @@ inspect them.</p>
</code></pre>
<p>Create a NodePort service with the specified name.</p>
<h3 id="usage">Usage</h3>
<p><code>$ kubectl create nodeport NAME [--tcp=port:targetPort] [--dry-run=server|client|none]</code></p>
<p><code>$ kubectl create service nodeport NAME [--tcp=port:targetPort] [--dry-run=server|client|none]</code></p>
<h3 id="flags">Flags</h3>
<table>
<thead>