Fix sections in install-kubectl (#8588)
This commit adds a missing closing capture and puts "## Install kubectl" inside the relevant capture. Note that the missing close was also missing before Hugo-migration, so the section ordering is still not the same as the Jekyll version of the site. But I think it is more corret. Note that content outside the capture template blocks, is included as defined is this template: https://github.com/kubernetes/website/blob/master/layouts/partials/templates/task.html#L8 See #8277
This commit is contained in:
committed by
k8s-ci-robot
parent
1998ab735f
commit
28341b5ec4
@@ -14,12 +14,13 @@ Use the Kubernetes command-line tool, [kubectl](/docs/user-guide/kubectl/), to d
|
||||
Use a version of kubectl that is the same version as your server or later. Using an older kubectl with a newer server might produce validation errors.
|
||||
{{% /capture %}}
|
||||
|
||||
|
||||
{{% capture steps %}}
|
||||
|
||||
## Install kubectl
|
||||
|
||||
Here are a few methods to install kubectl.
|
||||
|
||||
{{% capture steps %}}
|
||||
|
||||
## Install kubectl binary via native package management
|
||||
|
||||
{{< tabs name="kubectl_install" >}}
|
||||
@@ -260,7 +261,7 @@ Or when using [Oh-My-Zsh](http://ohmyz.sh/), edit the ~/.zshrc file and update t
|
||||
```shell
|
||||
source <(kubectl completion zsh)
|
||||
```
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
{{% capture whatsnext %}}
|
||||
[Learn how to launch and expose your application.](/docs/tasks/access-application-cluster/service-access-application-cluster/)
|
||||
|
||||
Reference in New Issue
Block a user