generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #387 from Danil-Grigorev/plugin-install-doc
📖 🐛 Document plugin installation, and fix template binary path
- Loading branch information
Showing
4 changed files
with
47 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Installation | ||
|
||
This section describes `cluster-api-operator` components installation instructions. | ||
|
||
## [Plugin](./01_plugin.md) | ||
|
||
This document describes the plugin installation steps and prerequisites. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Plugin installation | ||
|
||
The `cluster-api-operator` plugin can be installed using krew, the kubectl plugin manager. | ||
|
||
## Prerequisites | ||
|
||
[krew][] installed on your system. See the krew installation guide for instructions. | ||
|
||
[krew]: [https://krew.sigs.k8s.io/docs/user-guide/setup/install/] | ||
|
||
## Steps | ||
|
||
1. Add the cluster-api-operator plugin index to krew: | ||
```bash | ||
clusterctl krew index add operator https://github.com/kubernetes-sigs/cluster-api-operator.git | ||
``` | ||
|
||
2. Install the cluster-api-operator plugin: | ||
```bash | ||
clusterctl krew install operator/operator | ||
``` | ||
|
||
3. Verify the installation: | ||
```bash | ||
clusterctl operator | ||
``` | ||
|
||
This should print help information for the clusterctl operator plugin. | ||
|
||
The `cluster-api-operator` plugin is now installed and ready to use with both `kubectl` and `clusterctl`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters