2018 Bootcamp Kubernetes Demo Artifacts
- Have a Google Cloud Platform Account with ability to start up at least 12 cpus in the us-central1-c location (or custom location if you are modifying scripts). This needs to be enabled or you need to reduce the number of instances specified in the setup-01-create-cluster.sh file.
- Have kubectl installed locally - https://kubernetes.io/docs/tasks/tools/install-kubectl/
- Have gcloud command line utility installed locally and signed into your GCP account - https://cloud.google.com/sdk/install
- Enable use of APIs on your GCP account. I believe the gcloud command line will prompt for this if they are not enabled.
- Set default GCP location to
us-central1-c
or modify the scripts to use your default location. https://cloud.google.com/sdk/docs/quickstarts - Place a license pack file (license.zip) in this directory. If you do not have a license pack, please contact support (email:[email protected] or use support portal)
- Ensure a current
license.zip
file is located in this directory. - Run
./setup.sh
- dotCMS is probably still initiallizing but you can start interacting with the cluster now. Some examples below.
- Once finished, you can run
./cleanup.sh
to shutdown cluster and the associated storage - WARNING - once the cleanup script is run, all persistent data will be gone.
- run
kubectl get svc
- locate 'External IP' for haproxy-svc
- Open page in browser http://[External IP]/
- If you receive a 503 Service Unavailable, dotCMS may still be initializing. You can just wait and refresh or if you want to view the logs, you can use kubectl logs command to view the logs for the dotcms pod.
- run 'kubectl get svc'
- locate 'External IP' for hazelcast-mancenter-svc
- Open page in browser http://[External IP]:8080/mancenter