Skip to content

Commit

Permalink
Update kanister docs version to 0.38.0 (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
viveksinghggits authored Oct 5, 2020
1 parent ab60108 commit a4eeec6
Show file tree
Hide file tree
Showing 42 changed files with 81 additions and 81 deletions.
2 changes: 1 addition & 1 deletion examples/aws-rds/postgresql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This example is to demonstrate how Kanister can be integrated with AWS RDS insta
## Prerequisites

- Kubernetes 1.10+
- Kanister controller version 0.37.0 installed in your cluster
- Kanister controller version 0.38.0 installed in your cluster
- Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)

## Create RDS instance on AWS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ actions:
name: deleteBackup
args:
namespace: "{{ .Object.metadata.namespace }}"
image: kanisterio/kanister-tools:0.37.0
image: kanisterio/kanister-tools:0.38.0
command:
- bash
- -o
Expand Down
4 changes: 2 additions & 2 deletions examples/stable/cassandra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ As the official documentation of [Cassandra](http://cassandra.apache.org/) says,
* Kubernetes 1.9+
* Kubernetes beta APIs enabled only if `podDisruptionBudget` is enabled
* PV support on the underlying infrastructure
* Kanister controller version 0.37.0 installed in your cluster, let's say in namespace `<kanister-operator-namespace>`
* Kanister controller version 0.38.0 installed in your cluster, let's say in namespace `<kanister-operator-namespace>`
* Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)

To install kanister and related tools you can follow [this](https://docs.kanister.io/install.html#install) link.
Expand All @@ -28,7 +28,7 @@ To install the cassandra in your Kubernetes cluster you can run below command
$ helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com
$ helm repo update
# remove app-namespace with the namespace you want to deploy the cassandra app in
$ helm install --namespace "<app-namespace>" "cassandra" incubator/cassandra --set image.repo=kanisterio/cassandra --set image.tag=0.37.0 --set config.cluster_size=2
$ helm install --namespace "<app-namespace>" "cassandra" incubator/cassandra --set image.repo=kanisterio/cassandra --set image.tag=0.38.0 --set config.cluster_size=2
```
This command will install cassandra on your Kubernetes cluster with 2 nodes. You can notice that we are using custom image of cassandra in the helm to install the cassandra cluster. The reason is we have to use some Kanister tools to take backup, so only change that we have done is including that tooling on top of statndard `cassandra:3.11.3` image.

Expand Down
2 changes: 1 addition & 1 deletion examples/stable/cassandra/cassandra-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ actions:
name: restoreFromObjectStore
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: kanisterio/kanister-tools:0.37.0
image: kanisterio/kanister-tools:0.38.0
backupArtifactPrefix: "{{ .ArtifactsIn.params.KeyValue.backupPrefixLocation }}"
pods: "{{ range .StatefulSet.Pods }} {{.}}{{end}}"
restorePath: "{{ .ArtifactsIn.params.KeyValue.restorePathPrefix }}"
Expand Down
2 changes: 1 addition & 1 deletion examples/stable/elasticsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you want to avoid doing that upgrade to Elasticsearch 5.6 first before moving

* Kubernetes 1.9+ with Beta APIs enabled.
* PV support on the underlying infrastructure.
* Kanister version 0.37.0 with `profiles.cr.kanister.io` CRD installed
* Kanister version 0.38.0 with `profiles.cr.kanister.io` CRD installed

## StatefulSets Details
* https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/
Expand Down
6 changes: 3 additions & 3 deletions examples/stable/elasticsearch/elasticsearch-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ actions:
name: backupToObjectStore
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: "kanisterio/es-sidecar:0.37.0"
image: "kanisterio/es-sidecar:0.38.0"
command:
- bash
- -o
Expand All @@ -38,7 +38,7 @@ actions:
name: restoreFromObjectStore
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: "kanisterio/es-sidecar:0.37.0"
image: "kanisterio/es-sidecar:0.38.0"
command:
- bash
- -o
Expand All @@ -58,7 +58,7 @@ actions:
name: deleteFromObjectStore
args:
namespace: "{{ .Namespace.Name }}"
image: "kanisterio/es-sidecar:0.37.0"
image: "kanisterio/es-sidecar:0.38.0"
command:
- bash
- -o
Expand Down
2 changes: 1 addition & 1 deletion examples/stable/foundationdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cluster.
on you cluster.
* Kubernetes 1.9+ with Beta APIs enabled.
* PV support on the underlying infrastructure.
* Kanister version 0.37.0 with `profiles.cr.kanister.io` CRD installed.
* Kanister version 0.38.0 with `profiles.cr.kanister.io` CRD installed.

# Installation

Expand Down
2 changes: 1 addition & 1 deletion examples/stable/mongodb-deploymentconfig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cluster's DeploymentConfig resources.

- Setup OpenShift, you can follow steps mentioned below
- PV provisioner support in the underlying infrastructure
- Kanister controller version 0.37.0 installed in your cluster in namespace `kanister`
- Kanister controller version 0.38.0 installed in your cluster in namespace `kanister`
- Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)

**Note**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ actions:
namespace: "{{ .DeploymentConfig.Namespace }}"
args:
namespace: "{{ .DeploymentConfig.Namespace }}"
image: kanisterio/mongodb:0.37.0
image: kanisterio/mongodb:0.38.0
command:
- bash
- -o
Expand Down Expand Up @@ -47,7 +47,7 @@ actions:
namespace: "{{ .DeploymentConfig.Namespace }}"
args:
namespace: "{{ .DeploymentConfig.Namespace }}"
image: kanisterio/mongodb:0.37.0
image: kanisterio/mongodb:0.38.0
command:
- bash
- -o
Expand All @@ -69,7 +69,7 @@ actions:
name: deleteFromBlobStore
args:
namespace: "{{ .Namespace.Name }}"
image: kanisterio/mongodb:0.37.0
image: kanisterio/mongodb:0.38.0
command:
- bash
- -o
Expand Down
4 changes: 2 additions & 2 deletions examples/stable/mongodb-restic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Kubernetes 1.9+
* Kubernetes beta APIs enabled only if `podDisruptionBudget` is enabled
* PV support on the underlying infrastructure
* Kanister controller version 0.37.0 installed in your cluster
* Kanister controller version 0.38.0 installed in your cluster
* Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)

## Chart Details
Expand All @@ -29,7 +29,7 @@ $ kubectl create namespace mongo-test
$ helm install my-release bitnami/mongodb --namespace mongo-test \
--set architecture="replicaset" \
--set image.repository=kanisterio/mongodb \
--set image.tag=0.37.0
--set image.tag=0.38.0
```

The command deploys MongoDB on the Kubernetes cluster in the mongo-test namespace
Expand Down
2 changes: 1 addition & 1 deletion examples/stable/mongodb-restic/mongodb-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ actions:
name: restorePrimary
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: kanisterio/kanister-tools:0.37.0
image: kanisterio/kanister-tools:0.38.0
backupArtifactPrefix: "{{ .Profile.Location.Bucket }}/mongodb-backups/{{ .StatefulSet.Name }}/rs_backup"
backupInfo: "{{ .ArtifactsIn.backupInfo.KeyValue.backupIdentifier }}"

Expand Down
2 changes: 1 addition & 1 deletion examples/stable/mongodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Kubernetes 1.9+
* Kubernetes beta APIs enabled only if `podDisruptionBudget` is enabled
* PV support on the underlying infrastructure
* Kanister controller version 0.37.0 installed in your cluster
* Kanister controller version 0.38.0 installed in your cluster
* Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)

## Chart Details
Expand Down
6 changes: 3 additions & 3 deletions examples/stable/mongodb/mongo-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ actions:
namespace: "{{ .StatefulSet.Namespace }}"
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: kanisterio/mongodb:0.37.0
image: kanisterio/mongodb:0.38.0
command:
- bash
- -o
Expand All @@ -46,7 +46,7 @@ actions:
namespace: "{{ .StatefulSet.Namespace }}"
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: kanisterio/mongodb:0.37.0
image: kanisterio/mongodb:0.38.0
command:
- bash
- -o
Expand All @@ -68,7 +68,7 @@ actions:
name: deleteFromBlobStore
args:
namespace: "{{ .Namespace.Name }}"
image: kanisterio/mongodb:0.37.0
image: kanisterio/mongodb:0.38.0
command:
- bash
- -o
Expand Down
2 changes: 1 addition & 1 deletion examples/stable/mysql-deploymentconfig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cluster's DeploymentConfig resources.

- Setup OpenShift, you can follow steps mentioned below
- PV provisioner support in the underlying infrastructure
- Kanister controller version 0.37.0 installed in your cluster in namespace `kanister`
- Kanister controller version 0.38.0 installed in your cluster in namespace `kanister`
- Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)

**Note**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ actions:
name: "{{ .DeploymentConfig.Name }}"
namespace: "{{ .DeploymentConfig.Namespace }}"
args:
image: kanisterio/mysql-sidecar:0.37.0
image: kanisterio/mysql-sidecar:0.38.0
namespace: "{{ .DeploymentConfig.Namespace }}"
command:
- bash
Expand All @@ -45,7 +45,7 @@ actions:
name: "{{ .DeploymentConfig.Name }}"
namespace: "{{ .DeploymentConfig.Namespace }}"
args:
image: kanisterio/mysql-sidecar:0.37.0
image: kanisterio/mysql-sidecar:0.38.0
namespace: "{{ .DeploymentConfig.Namespace }}"
command:
- bash
Expand All @@ -66,7 +66,7 @@ actions:
- func: KubeTask
name: deleteFromBlobStore
args:
image: kanisterio/mysql-sidecar:0.37.0
image: kanisterio/mysql-sidecar:0.38.0
namespace: "{{ .Namespace.Name }}"
command:
- bash
Expand Down
2 changes: 1 addition & 1 deletion examples/stable/mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This chart bootstraps a single node MySQL deployment on a [Kubernetes](http://ku

- Kubernetes 1.6+ with Beta APIs enabled
- PV provisioner support in the underlying infrastructure
- Kanister controller version 0.37.0 installed in your cluster, let's assume in Namespace `kanister`
- Kanister controller version 0.38.0 installed in your cluster, let's assume in Namespace `kanister`
- Kanctl CLI installed (https://docs.kanister.io/tooling.html#install-the-tools)

## Installing the Chart
Expand Down
6 changes: 3 additions & 3 deletions examples/stable/mysql/mysql-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ actions:
name: '{{ .Deployment.Name }}'
namespace: '{{ .Deployment.Namespace }}'
args:
image: kanisterio/mysql-sidecar:0.37.0
image: kanisterio/mysql-sidecar:0.38.0
namespace: "{{ .Deployment.Namespace }}"
command:
- bash
Expand All @@ -45,7 +45,7 @@ actions:
name: '{{ .Deployment.Name }}'
namespace: '{{ .Deployment.Namespace }}'
args:
image: kanisterio/mysql-sidecar:0.37.0
image: kanisterio/mysql-sidecar:0.38.0
namespace: "{{ .Deployment.Namespace }}"
command:
- bash
Expand All @@ -66,7 +66,7 @@ actions:
- func: KubeTask
name: deleteFromBlobStore
args:
image: kanisterio/mysql-sidecar:0.37.0
image: kanisterio/mysql-sidecar:0.38.0
namespace: "{{ .Namespace.Name }}"
command:
- bash
Expand Down
2 changes: 1 addition & 1 deletion examples/stable/postgresql-deploymentconfig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cluster's DeploymentConfig resources.

- Setup OpenShift, you can follow steps mentioned below
- PV provisioner support in the underlying infrastructure
- Kanister controller version 0.37.0 installed in your cluster in namespace `kanister`
- Kanister controller version 0.38.0 installed in your cluster in namespace `kanister`
- Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ actions:
name: '{{ .DeploymentConfig.Name }}-{{ .DeploymentConfig.Namespace }}'
namespace: '{{ .DeploymentConfig.Namespace }}'
args:
image: kanisterio/postgres-kanister-tools:0.37.0
image: kanisterio/postgres-kanister-tools:0.38.0
namespace: '{{ .DeploymentConfig.Namespace }}'
command:
- bash
Expand Down Expand Up @@ -47,7 +47,7 @@ actions:
name: '{{ .DeploymentConfig.Name }}-{{ .DeploymentConfig.Namespace }}'
namespace: '{{ .DeploymentConfig.Namespace }}'
args:
image: kanisterio/postgres-kanister-tools:0.37.0
image: kanisterio/postgres-kanister-tools:0.38.0
namespace: '{{ .DeploymentConfig.Namespace }}'
command:
- bash
Expand All @@ -70,7 +70,7 @@ actions:
- func: KubeTask
name: deleteDump
args:
image: kanisterio/postgres-kanister-tools:0.37.0
image: kanisterio/postgres-kanister-tools:0.38.0
namespace: "{{ .Namespace.Name }}"
command:
- bash
Expand Down
6 changes: 3 additions & 3 deletions examples/stable/postgresql-wale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment

- Kubernetes 1.10+
- PV provisioner support in the underlying infrastructure
- Kanister controller version 0.37.0 installed in your cluster
- Kanister controller version 0.38.0 installed in your cluster
- Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)

## Installing the Chart
Expand All @@ -25,7 +25,7 @@ $ helm repo update
$ helm install my-release bitnami/postgresql \
--namespace postgres-test \
--set image.repository=kanisterio/postgresql \
--set image.tag=0.37.0 \
--set image.tag=0.38.0 \
--set postgresqlPassword=postgres-12345 \
--set postgresqlExtendedConf.archiveCommand="'envdir /bitnami/postgresql/data/env wal-e wal-push %p'" \
--set postgresqlExtendedConf.archiveMode=true \
Expand All @@ -41,7 +41,7 @@ In case, if you don't have `Kanister` installed already, you can use following c
Add Kanister Helm repository and install Kanister operator
```bash
$ helm repo add kanister https://charts.kanister.io
$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.37.0
$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.38.0
```

## Integrating with Kanister
Expand Down
4 changes: 2 additions & 2 deletions examples/stable/postgresql-wale/postgresql-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ actions:
- func: PrepareData
name: performRestore
args:
image: "kanisterio/postgresql:0.37.0"
image: "kanisterio/postgresql:0.38.0"
namespace: "{{ .StatefulSet.Namespace }}"
volumes:
"data-{{ .StatefulSet.Name }}-0": "/bitnami/postgresql"
Expand Down Expand Up @@ -282,7 +282,7 @@ actions:
name: deleteArtifact
args:
namespace: "{{ .Namespace.Name }}"
image: "kanisterio/postgresql:0.37.0"
image: "kanisterio/postgresql:0.38.0"
command:
- bash
- -o
Expand Down
4 changes: 2 additions & 2 deletions examples/stable/postgresql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment

- Kubernetes 1.10+
- PV provisioner support in the underlying infrastructure
- Kanister controller version 0.37.0 installed in your cluster
- Kanister controller version 0.38.0 installed in your cluster
- Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)

## Installing the Chart
Expand All @@ -38,7 +38,7 @@ In case, if you don't have `Kanister` installed already, you can use following c
Add Kanister Helm repository and install Kanister operator
```bash
$ helm repo add kanister https://charts.kanister.io
$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.37.0
$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.38.0
```

## Integrating with Kanister
Expand Down
6 changes: 3 additions & 3 deletions examples/stable/postgresql/postgres-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ actions:
name: '{{ index .Object.metadata.labels "app.kubernetes.io/instance" }}-postgresql'
namespace: '{{ .StatefulSet.Namespace }}'
args:
image: kanisterio/postgres-kanister-tools:0.37.0
image: kanisterio/postgres-kanister-tools:0.38.0
namespace: '{{ .StatefulSet.Namespace }}'
command:
- bash
Expand Down Expand Up @@ -47,7 +47,7 @@ actions:
name: '{{ index .Object.metadata.labels "app.kubernetes.io/instance" }}-postgresql'
namespace: '{{ .StatefulSet.Namespace }}'
args:
image: kanisterio/postgres-kanister-tools:0.37.0
image: kanisterio/postgres-kanister-tools:0.38.0
namespace: '{{ .StatefulSet.Namespace }}'
command:
- bash
Expand All @@ -70,7 +70,7 @@ actions:
- func: KubeTask
name: deleteDump
args:
image: kanisterio/postgres-kanister-tools:0.37.0
image: kanisterio/postgres-kanister-tools:0.38.0
namespace: "{{ .Namespace.Name }}"
command:
- bash
Expand Down
2 changes: 1 addition & 1 deletion examples/time-log/blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ actions:
args:
namespace: "{{ .Deployment.Namespace }}"
pod: "{{ index .Deployment.Pods 0 }}"
image: kanisterio/kanister-tools:0.37.0
image: kanisterio/kanister-tools:0.38.0
backupArtifactPrefix: "{{ .ArtifactsIn.timeLog.KeyValue.path }}"
backupIdentifier: "{{ .ArtifactsIn.backupIdentifier.KeyValue.id }}"
- func: ScaleWorkload
Expand Down
Loading

0 comments on commit a4eeec6

Please sign in to comment.