Conocimiento diario de Cloud y DevOps

Azure · Azure DevOps · GitHub Actions · Ansible · Kubernetes · AKS · Terraform · Helm · CI/CD

Actualizado: 2026-02-04

⭐ Consejo destacado

Copiá y compartí con un clic
Set Azure Subscription in Terraform
terraform

Sets the active Azure subscription so Terraform can authenticate and deploy to the correct environment. Run this before terraform init/plan/apply to avoid accidental deployments.

az account set --subscription <SUBSCRIPTION_ID>
azure terraform authentication

🔧 Consejos de hoy

10 elementos
Create Azure Resource Group
azure-cli

Creates a new Azure Resource Group in the specified region.

az group create --name <RG> --location <LOCATION>
azure resource-group cli
Deploy AKS Cluster
azure-cli

Deploys a production-ready AKS cluster with three nodes.

az aks create --resource-group <RG> --name <CLUSTER> --node-count 3 --generate-ssh-keys
aks kubernetes azure
Apply Kubernetes Manifest
kubernetes

Applies a Kubernetes manifest to the target namespace.

kubectl apply -f deployment.yaml -n <NAMESPACE>
kubernetes kubectl deployment
Install Helm Chart
helm

Installs a Helm chart into the specified Kubernetes namespace.

helm install <RELEASE> <CHART> -n <NAMESPACE>
helm kubernetes charts
Run Terraform Plan
terraform

Generates and displays the Terraform execution plan using a variable file.

terraform plan -var-file=vars.tfvars
terraform iac plan
Apply Terraform Changes
terraform

Applies infrastructure changes without requiring interactive approval.

terraform apply -auto-approve
terraform iac deploy
Build Docker Image
docker

Builds a Docker image from the current directory context.

docker build -t <IMAGE>:<TAG> .
docker containers build
Push Docker Image
docker

Pushes a Docker image to a container registry.

docker push <IMAGE>:<TAG>
docker registry cicd
Run Ansible Playbook
ansible

Executes an Ansible playbook using the specified inventory.

ansible-playbook -i inventory.ini playbook.yaml
ansible automation configuration
Trigger Azure DevOps Pipeline
azdo

Manually triggers an Azure DevOps pipeline run.

az pipelines run --name <PIPELINE>
azure-devops cicd pipelines
Run GitHub Actions Workflow Dispatch
github-actions

Triggers a GitHub Actions workflow using the CLI.

gh workflow run <WORKFLOW_FILE> --ref main
github actions cicd
Restart Kubernetes Deployment
kubernetes

Forces a restart of a Kubernetes deployment to pick up new configuration or secrets.

kubectl rollout restart deployment <DEPLOYMENT> -n <NAMESPACE>
kubernetes rollout operations
💡 Experiencia real

“Moved to Terraform modules and improved drift control.”

— Infra · Terraform