DevOps Classroomnotes 06/Aug/2023

Creating kubernetes cluster from terraform

  • Refer Here for the changes
  • Workflow
  • Refer Here for the k8s manifest
  • Softwares
    • Terraform
    • azure cli
    • kubectl
  • Manual deployment steps
cd deploy
terraform init
terraform apply -auto-approve
az aks get-credentials --resource-group rg-national-cod --name cluster-star-goat
kubectl apply -f ../k8s/nop-deploy.yaml

Git Alias

Git Hooks

  • Refer Here
  • Refer Here and navigate to hooks section
  • Refer Here for popular hooks
  • Since for hosted git repo’s like GitHub, GitLab we have no access to hooks folder, they give us webhooks
  • Refer Here
  • Refer Here for github actions approach instead of webhooks

Git stash

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner