-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Merge pull request #8 from cybozu-go/docs/add-deploy
add docs/deploy.md
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.1
- v0.2.0
- v0.1.0
- mantle-cluster-wide-chart-v0.2.2
- mantle-cluster-wide-chart-v0.2.1
- mantle-cluster-wide-chart-v0.2.0
- mantle-cluster-wide-chart-v0.1.0
- mantle-chart-v0.2.4
- mantle-chart-v0.2.3
- mantle-chart-v0.2.2
- mantle-chart-v0.2.1
- mantle-chart-v0.2.0
- mantle-chart-v0.1.1
- ceph-export-diff-v18.2.4.0
- ceph-export-diff-v16.2.4.3
- ceph-export-diff-v16.2.4.2
- ceph-export-diff-v16.2.4.1
Showing
1 changed file
with
43 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# How to deploy Mantle to DCs | ||
|
||
## Overview | ||
|
||
Mantle is packaged as two separate helm charts: | ||
|
||
- `mantle-cluster-wide` chart: It introduces cluster-wide resources such as CRDs and ClusterRoles. | ||
- `mantle` chart: It introduces namespaced resources such as Deployments and ServiceAccounts. | ||
|
||
Only one `mantle-cluster-wide` chart should be deployed in one k8s cluster, while `mantle` chart should be deployed for each required namespace. | ||
|
||
## Installation instructions | ||
|
||
First, add the Mantle's helm repository: | ||
|
||
``` | ||
helm repo add mantle https://cybozu-go.github.io/mantle | ||
helm repo update | ||
``` | ||
|
||
> [!NOTE] | ||
> The Mantle's Helm repository has **NOT** been published yet, so the instruction above doesn't run for now. We're planning to publish it soon. | ||
Then, install `mantle-cluster-wide` chart: | ||
``` | ||
helm install --wait mantle-cluster-wide mantle/mantle-cluster-wide | ||
``` | ||
|
||
Next, install `mantle` chart. It should be installed for each required namespace. In this instruction, we assume that it is necessary to deploy Mantle to `rook-ceph` namespace only: | ||
|
||
``` | ||
helm install --wait --namespace=rook-ceph mantle mantle/mantle | ||
``` | ||
|
||
Finally, check that Mantle is running: | ||
|
||
``` | ||
kubectl get pod -n rook-ceph | ||
``` | ||
|
||
## See also | ||
|
||
`e2e/Makefile` may help you install Mantle, because the e2e tests use the Helm charts to set up the testing environment. |