This project is intended to deploy wordpress and MySQL using Google Kubernetes Engine
This instructions will help you to get a copy of the project in your host with the purpose of test
- Web browser
- Linux or macOS or Windows
- Kubernetes
- Google Cloud SDK
- Bash for Windows (git bash should suffice)
-
Cloud SDK requires Python; supported versions are Python 3 (preferred, 3.5 to 3.8) and Python 2 (2.7.9 or higher).
Check your python version
python -v
-
Download the Google Cloud SDK
wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-341.0.0-darwin-x86_64.tar.gz
a. Extract the archive file
tar -xvf google-cloud-sdk-341.0.0-darwin-x86_64.tar.gz
b. Run the script
./google-cloud-sdk/install.sh
c. Export the path
export PATH=~/google-cloud-sdk/bin:$PATH
d. Run
gcloud init
to initialize the SDKgcloud init
e. Let's obtain info about our configuration
gcloud config list
- Download the latest version
wget https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
- Set the execution permissions of the kubectl binary
chmod +x ./kubectl
- Move the binary into your PATH.
mv ./kubectl /usr/local/bin/kubectl
- Check if the most recent version has been installed
kubectl version --client