Conocimiento diario de Cloud y DevOps
Azure · Azure DevOps · GitHub Actions · Ansible · Kubernetes · AKS · Terraform · Helm · CI/CD
⭐ Consejo destacado
Copiá y compartí con un clicInitialize Terraform for Azure
terraformInitializes Terraform using an Azure Storage backend so state is stored remotely and safely. Replace the placeholders with your Azure resource names before running.
terraform init -backend-config="resource_group_name=<RESOURCE_GROUP>" -backend-config="storage_account_name=<STORAGE_ACCOUNT>" -backend-config="container_name=tfstate" -backend-config="key=infra.tfstate"
🔧 Consejos de hoy
10 elementosCreate Azure Resource Group
azure-cliCreates a new Azure resource group in a specified region.
az group create --name <RG> --location <LOCATION>
Deploy Container to AKS
kubectlApplies a Kubernetes manifest to deploy workloads to an AKS cluster.
kubectl apply -f <DEPLOYMENT_FILE>.yaml
Initialize Terraform
terraformInitializes a Terraform working directory and downloads required providers.
terraform init
Plan Terraform Changes
terraformGenerates and shows an execution plan for infrastructure changes.
terraform plan -out=tfplan
Install Helm Chart
helmInstalls a Helm chart into the specified Kubernetes namespace.
helm install <RELEASE_NAME> <CHART_PATH> --namespace <NAMESPACE>
Build Docker Image
dockerBuilds a Docker image from the local Dockerfile.
docker build -t <IMAGE_NAME>:<TAG> .
Apply Ansible Playbook
ansibleExecutes an Ansible playbook against hosts defined in the inventory.
ansible-playbook -i <INVENTORY_FILE> <PLAYBOOK>.yaml
Create AKS Cluster
azure-cliCreates an AKS cluster with a predefined number of nodes.
az aks create --resource-group <RG> --name <CLUSTER> --node-count 3
Checkout Code in GitHub Actions
github-actionsRetrieves repository code as part of a GitHub Actions workflow.
uses: actions/checkout@v4
Run Azure DevOps Pipeline Manually
azdoTriggers an Azure DevOps pipeline run via CLI.
az pipelines run --name <PIPELINE_NAME>
Restart Kubernetes Deployment
kubectlForces a rolling restart of a Kubernetes deployment.
kubectl rollout restart deployment <DEPLOYMENT_NAME> -n <NAMESPACE>
Push Docker Image
dockerPushes a previously built Docker image to a container registry.
docker push <REGISTRY>/<IMAGE_NAME>:<TAG>
💡 Experiencia real
“Standardized AKS namespaces + RBAC templates.”