Conocimiento diario de Cloud y DevOps

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

Actualizado: 2026-02-06

⭐ Consejo destacado

Copiá y compartí con un clic
Run Workflow Only on Specific Folder Changes
github-actions

This trigger configuration ensures the workflow runs only when files under the app/ directory change. It helps reduce unnecessary workflow executions and saves CI minutes.

on: { push: { paths: ["app/**"] } }
triggers ci best-practice

🔧 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 ARM Template via Azure DevOps Pipeline
azdo

Deploys an ARM template as part of an Azure DevOps pipeline step.

powershell: az deployment group create --resource-group <RG> --template-file infra.json
azure arm pipeline
GitHub Actions Workflow Trigger on Push
github-actions

Configures a GitHub Actions workflow to trigger when changes are pushed to the main branch.

on:
  push:
    branches: ["main"]
github cicd workflow
Apply Kubernetes Manifest
kubernetes

Applies a Kubernetes manifest to the target namespace.

kubectl apply -f deployment.yaml -n <NAMESPACE>
k8s deployment cli
Get AKS Credentials
aks

Fetches kubeconfig credentials for interacting with an AKS cluster.

az aks get-credentials --resource-group <RG> --name <CLUSTER>
aks k8s authentication
Install Helm Chart
helm

Installs a Helm chart into a Kubernetes namespace.

helm install <RELEASE> <CHART> --namespace <NAMESPACE>
helm k8s release
Initialize Terraform Working Directory
terraform

Initializes a Terraform directory by downloading providers and preparing the environment.

terraform init
terraform iac init
Validate Terraform Configuration
terraform

Checks Terraform configuration files for syntax and structural validity.

terraform validate
terraform iac validation
Run Ansible Playbook
ansible

Executes an Ansible playbook against hosts defined in the inventory.

ansible-playbook -i inventory.yaml playbook.yaml
ansible automation configuration
Build Docker Image
docker

Builds a Docker image from a local Dockerfile.

docker build -t <IMAGE_NAME>:<TAG> .
docker container build
Push Docker Image to Registry
docker

Pushes a locally built Docker image to a remote container registry.

docker push <REGISTRY>/<IMAGE_NAME>:<TAG>
docker registry cicd
Restart Kubernetes Deployment
kubernetes

Forces a rolling restart of a Kubernetes deployment.

kubectl rollout restart deployment/<DEPLOYMENT> -n <NAMESPACE>
k8s deployment rollout
💡 Experiencia real

“Moved to Terraform modules and improved drift control.”

— Infra · Terraform