Add info to verify successfull installation and address other suggestions
Signed-off-by: bhumijgupta <bhumijgupta@gmail.com>
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "kubectl-convert overview"
|
title: "kubectl-convert overview"
|
||||||
description: "What is kubectl-convert plugin?"
|
description: >-
|
||||||
|
A kubectl plugin that allows you to convert manifests from one version
|
||||||
|
of a Kubernetes API to a different version.
|
||||||
headless: true
|
headless: true
|
||||||
---
|
---
|
||||||
|
|
||||||
kubectl-convert is a kubectl plugin which allows to convert manifests between different api
|
A plugin for Kubernetes command-line tool `kubectl`, which allows you to convert manifests between different API
|
||||||
versions. This can be particularly helpful to migrate manifests to a non-deprecated api version.
|
versions. This can be particularly helpful to migrate manifests to a non-deprecated api version with newer Kubernetes release.
|
||||||
For more info, visit [migrate to non deprecated apis](/docs/reference/using-api/deprecation-guide/#migrate-to-non-deprecated-apis)
|
For more info, visit [migrate to non deprecated apis](/docs/reference/using-api/deprecation-guide/#migrate-to-non-deprecated-apis)
|
||||||
@@ -184,7 +184,7 @@ Below are the procedures to set up autocompletion for Bash and Zsh.
|
|||||||
{{< tab name="Zsh" include="included/optional-kubectl-configs-zsh.md" />}}
|
{{< tab name="Zsh" include="included/optional-kubectl-configs-zsh.md" />}}
|
||||||
{{< /tabs >}}
|
{{< /tabs >}}
|
||||||
|
|
||||||
### Install kubectl convert plugin
|
### Install `kubectl convert` plugin
|
||||||
|
|
||||||
{{< include "included/kubectl-convert-overview.md" >}}
|
{{< include "included/kubectl-convert-overview.md" >}}
|
||||||
|
|
||||||
@@ -231,6 +231,13 @@ Below are the procedures to set up autocompletion for Bash and Zsh.
|
|||||||
sudo install -o root -g root -m 0755 kubectl-convert /usr/local/bin/kubectl-convert
|
sudo install -o root -g root -m 0755 kubectl-convert /usr/local/bin/kubectl-convert
|
||||||
```
|
```
|
||||||
|
|
||||||
|
1. Verify plugin is successfully installed
|
||||||
|
|
||||||
|
```shell
|
||||||
|
kubectl convert --help
|
||||||
|
```
|
||||||
|
|
||||||
|
If you do not see an error, it means the plugin is successfully installed.
|
||||||
|
|
||||||
## {{% heading "whatsnext" %}}
|
## {{% heading "whatsnext" %}}
|
||||||
|
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ Below are the procedures to set up autocompletion for Bash and Zsh.
|
|||||||
{{< tab name="Zsh" include="included/optional-kubectl-configs-zsh.md" />}}
|
{{< tab name="Zsh" include="included/optional-kubectl-configs-zsh.md" />}}
|
||||||
{{< /tabs >}}
|
{{< /tabs >}}
|
||||||
|
|
||||||
### Install kubectl convert plugin
|
### Install `kubectl convert` plugin
|
||||||
|
|
||||||
{{< include "included/kubectl-convert-overview.md" >}}
|
{{< include "included/kubectl-convert-overview.md" >}}
|
||||||
|
|
||||||
@@ -236,6 +236,14 @@ Below are the procedures to set up autocompletion for Bash and Zsh.
|
|||||||
Make sure `/usr/local/bin` is in your PATH environment variable.
|
Make sure `/usr/local/bin` is in your PATH environment variable.
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
|
1. Verify plugin is successfully installed
|
||||||
|
|
||||||
|
```shell
|
||||||
|
kubectl convert --help
|
||||||
|
```
|
||||||
|
|
||||||
|
If you do not see an error, it means the plugin is successfully installed.
|
||||||
|
|
||||||
## {{% heading "whatsnext" %}}
|
## {{% heading "whatsnext" %}}
|
||||||
|
|
||||||
{{< include "included/kubectl-whats-next.md" >}}
|
{{< include "included/kubectl-whats-next.md" >}}
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ Below are the procedures to set up autocompletion for Zsh, if you are running th
|
|||||||
|
|
||||||
{{< include "included/optional-kubectl-configs-zsh.md" >}}
|
{{< include "included/optional-kubectl-configs-zsh.md" >}}
|
||||||
|
|
||||||
### Install kubectl-convert plugin
|
### Install `kubectl convert` plugin
|
||||||
|
|
||||||
{{< include "included/kubectl-convert-overview.md" >}}
|
{{< include "included/kubectl-convert-overview.md" >}}
|
||||||
|
|
||||||
@@ -175,6 +175,14 @@ Below are the procedures to set up autocompletion for Zsh, if you are running th
|
|||||||
|
|
||||||
1. Add the binary in to your `PATH`.
|
1. Add the binary in to your `PATH`.
|
||||||
|
|
||||||
|
1. Verify plugin is successfully installed
|
||||||
|
|
||||||
|
```shell
|
||||||
|
kubectl convert --help
|
||||||
|
```
|
||||||
|
|
||||||
|
If you do not see an error, it means the plugin is successfully installed.
|
||||||
|
|
||||||
## {{% heading "whatsnext" %}}
|
## {{% heading "whatsnext" %}}
|
||||||
|
|
||||||
{{< include "included/kubectl-whats-next.md" >}}
|
{{< include "included/kubectl-whats-next.md" >}}
|
||||||
|
|||||||
Reference in New Issue
Block a user