This is a video guide illustrating Kubernetes deployment on Google Cloud.
Installing the terraform tool: 0:26
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common curl && \
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - && \
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" && \
sudo apt-get update && sudo apt-get install terraform && \
terraform -version
Installing the gcloud tool: 0:55
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
curl https://packages.cloud.google.com/apt... | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && \
sudo apt-get update && sudo apt-get -y install google-cloud-sdk && \
gcloud --version
Configuring the gcloud tool: 2:06
gcloud init
gcloud auth application-default login
Installing the kubectl tool: 3:38
sudo apt-get update && \
sudo apt-get install -y apt-transport-https ca-certificates curl && \
sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt... && \
echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list && \
sudo apt-get update && \
sudo apt-get install -y kubectl && \
kubectl version
Configuring the cluster by editing tfvars file: 4:00
cd ~/terraform/gke
vim terraform.tfvars
Creating the cluster: 4:33
terraform init
terraform apply
Confirm cluster creation by typing – ‘yes’ 4:50
*Can you put a notification that appears saying the viewer can skip from 5:00 – 8:20
Because during this time, the cluster is being created so the user doesn’t have to manually take any action. I think having this notification can help save viewers a lot of time in addition to the time stamps.*
Configuring the kubectl tool to work with our cluster: 8:24
gcloud container clusters get-credentials test-gke-itext-dito --region us-west1-c
Creating the config file: 8:37
kotlin deploy-kubernetes.main.kts create-config-file --admin-email [email protected] --admin-password [email protected]
Creating the app file: 8:57
kotlin deploy-kubernetes.main.kts create-app-file
Running the deploy command: 9:12
kotlin deploy-kubernetes.main.kts deploy
Questions? Contact us and/or schedule a demo today: https://itextpdf.com/en/products/itex...
Additional resources for iText DITO can be found here: https://wiki.itextsupport.com/home/di...
Facebook: / itextpdf
Twitter: / itext
LinkedIn: / itex. .