Skip to content

Commit 988bdd3

Browse files
jlong49leonardocearmru
authored
docs: adds documentation for Windows install (#3)
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
1 parent f4f7189 commit 988bdd3

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ an OpenShift environment.
66

77
For details, please refer to Cloud Native PostgreSQL documentation.
88

9+
## Mac OS and Linux install
10+
911
You can install the plugin in your system with:
1012

1113
``` sh
@@ -16,3 +18,38 @@ curl -sSfL \
1618

1719
The plugin requires the Cloud Native PostgreSQL operator to be
1820
installed in the Kubernetes/Openshift cluster.
21+
22+
## Windows install
23+
24+
To install the plugin on Windows go to the [releases
25+
page](https://github.com/EnterpriseDB/kubectl-cnp/releases) and get the most
26+
recent release for your Windows architecture.
27+
28+
For example, if you are using an `x86_64` build of Windows, you would download
29+
the file named `kubectl-cnp_<version>_windows_x86_64.tar.gz`.
30+
31+
The release includes a checksum file, named
32+
`kubectl-cnp-<version>-checksums.txt`, that can be used to validate the
33+
integrity of the Kubectl binary.
34+
35+
To validate the file you can compare the output of the following command
36+
against the relative line in the checksums file:
37+
38+
```
39+
CertUtil -hashfile <tar-file> SHA256
40+
```
41+
42+
Now you can extract the contents of the TAR archive using the following
43+
command:
44+
45+
```
46+
tar xvzf <tar-file>
47+
```
48+
49+
You can copy the `kubectl-cnp.exe` file in any directory pointed by your `PATH`
50+
environment variable, or prepend or append the Kubectl Cnp binary folder to
51+
your `PATH` environment variable.
52+
53+
The directory where `kubectl.exe` is is usually a good choice for copying the
54+
`kubectl-cnp.exe` file to.
55+

0 commit comments

Comments
 (0)