3.2.2.5. Installing the cluster using kubectl

When you have prepared the yaml files to suit your needs, you install the cluster using the kubectl apply command. The following example sets custom passwords using the mysql-passwords.yaml file and then creates a 3-node cluster using the tungsten_v1alpha1_mysqlcluster.yaml file:

shell> kubectl apply -f examples/mysql-passwords.yaml
shell> kubectl apply -f examples/tungsten_v1alpha1_mysqlcluster.yaml