Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 2.35 KB

README.md

File metadata and controls

62 lines (48 loc) · 2.35 KB

Prerequisites

Scylla Operator has a Cert Manager dependency, you have to install it first. It can be installed via following command executed in the root directory of repository:

kubectl apply -f examples/common/cert-manager.yaml

Proceed to next steps once Cert Manager becomes ready. To wait for it execute the following command:

kubectl wait --for condition=established crd/certificates.cert-manager.io crd/issuers.cert-manager.io
kubectl -n cert-manager rollout status deployment.apps/cert-manager-webhook

Scylla Operator deployment

To deploy Scylla Operator, execute the following from root directory in the repository:

kubectl apply -f deploy/operator

Before Scylla or Scylla Manager can be deployed, CRD must enter established mode and Scylla Operator needs to become ready. To wait for it use following commands:

kubectl wait --for condition=established crd/scyllaclusters.scylla.scylladb.com
kubectl wait --for condition=established crd/nodeconfigs.scylla.scylladb.com
kubectl wait --for condition=established crd/scyllaoperatorconfigs.scylla.scylladb.com
kubectl -n scylla-operator rollout status deployment.apps/scylla-operator
kubectl -n scylla-operator rollout status deployment.apps/webhook-server

If you would like to customize Scylla Operator deployment, you can either edit manifests manually, or check out our Scylla Operator Helm chart.


Scylla Manager deployment

There are two types of deployments, one dedicated for production deployments, second one for development purposes.
The main difference between them are amount of resources allocated for Scylla Manager internal Scylla single node cluster.

To deploy Scylla Manager, run following command from root directory in the repository:

Production environment

kubectl apply -f deploy/manager/prod

Development environment

kubectl apply -f deploy/manager/dev

Scylla Manager is ready to be used once internal Scylla cluster is up, and Manager is running. To wait for them execute:

kubectl -n scylla-manager rollout status statefulset.apps/scylla-manager-cluster-manager-dc-manager-rack
kubectl -n scylla-manager rollout status deployment.apps/scylla-manager-controller

If you would like to customize Scylla Manager, you can either edit manifests manually, or check out our Scylla Manager Helm chart.