Joe Black | me@joeblack.nyc | github
Jobs that will bootstrap a new kazoo cluster within a kubernetes cluster.
- Label sbc nodes:
kubectl label node saturn.telephone.org sbc=true
. - Label media nodes:
kubectl label node saturn.telephone.org media-server=true
.
- Edit the manifests under
kubernetes/<environment>
to reflect your specific environment and configuration. - copy, edit, and deploy ratedeck rates:
cp images/config/config/ratedeck-rates-example.csv images/config/config/ratedeck-rates.csv
vim images/config/config/ratedeck-rates.csv
docker-compose build
docker push telephoneorg/bootstrap-config:latest
- copy, edit, and deploy cluster configuration:
cp images/pre-init/config/cluster-example.yaml images/pre-init/config/cluster.yaml
vim images/pre-init/cluster.yaml
kubectl create secret generic cluster --from-file=images/pre-init/config/cluster.yaml
- Deploy the boostrap job:
kubectl apply -f `kubernetes/<environment>`