mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-12 13:43:10 +01:00
docs
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
This commit is contained in:
parent
ffd2d523d2
commit
b43b5c874c
56
README.md
56
README.md
@ -99,26 +99,40 @@ The cert-manager API is ready
|
|||||||
|
|
||||||
Both checks are necessary to proceed with the installation.
|
Both checks are necessary to proceed with the installation.
|
||||||
|
|
||||||
### Step 2 - install the barman-cloud plugin
|
### Step 2 - Install the barman-cloud Plugin
|
||||||
|
|
||||||
**TODO:** temporary section - to be rewritten when manifests are available
|
> **Note:** This section is temporary and will be updated once manifests are
|
||||||
|
> included as part of the release process.
|
||||||
|
|
||||||
The plugin can be installed via its manifest:
|
Use the following command to download the plugin's codebase, including its
|
||||||
|
manifest:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Download the plugin-barman-cloud codebase, including its manifest
|
curl -Lo plugin-barman-cloud.tgz \
|
||||||
$ curl -Lo plugin-barman-cloud.tgz https://api.github.com/repos/cloudnative-pg/plugin-barman-cloud/tarball/main
|
https://api.github.com/repos/cloudnative-pg/plugin-barman-cloud/tarball/main
|
||||||
|
|
||||||
# Expand it in a temporary folder (this can be deleted after the plugin is installed)
|
|
||||||
$ tar xvzf plugin-barman-cloud.tgz
|
|
||||||
|
|
||||||
# From now on, the proposed commands are supposed to be invoked from
|
|
||||||
# the repository root directory
|
|
||||||
$ cd cloudnative-pg-plugin-barman-cloud*
|
|
||||||
|
|
||||||
# Apply the manifest for the latest commit in the `main` branch
|
|
||||||
$ kubectl apply -k kubernetes/
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Extract the downloaded archive into a temporary directory (this folder can be
|
||||||
|
deleted after the installation):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
tar xvzf plugin-barman-cloud.tgz
|
||||||
|
```
|
||||||
|
|
||||||
|
Change to the root directory of the extracted repository:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd cloudnative-pg-plugin-barman-cloud*
|
||||||
|
```
|
||||||
|
|
||||||
|
Use `kubectl` to apply the manifest for the latest commit in the `main` branch:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
kubectl apply -k kubernetes/
|
||||||
|
```
|
||||||
|
|
||||||
|
Example output:
|
||||||
|
|
||||||
```output
|
```output
|
||||||
customresourcedefinition.apiextensions.k8s.io/objectstores.barmancloud.cnpg.io created
|
customresourcedefinition.apiextensions.k8s.io/objectstores.barmancloud.cnpg.io created
|
||||||
serviceaccount/plugin-barman-cloud created
|
serviceaccount/plugin-barman-cloud created
|
||||||
@ -139,16 +153,22 @@ certificate.cert-manager.io/barman-cloud-server created
|
|||||||
issuer.cert-manager.io/selfsigned-issuer created
|
issuer.cert-manager.io/selfsigned-issuer created
|
||||||
```
|
```
|
||||||
|
|
||||||
Once the plugin is installed, the following command will wait until the plugin
|
After these steps, the plugin will be successfully installed. Make sure it is
|
||||||
is ready to be used:
|
ready to use by checking the deployment status as follows:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ kubectl rollout status deployment -n cnpg-system barman-cloud
|
kubectl rollout status deployment \
|
||||||
|
-n cnpg-system barman-cloud
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Example output:
|
||||||
|
|
||||||
```output
|
```output
|
||||||
deployment "barman-cloud" successfully rolled out
|
deployment "barman-cloud" successfully rolled out
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This confirms that the plugin is deployed and operational.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### The BarmanObjectStore object
|
### The BarmanObjectStore object
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user