Posts with category 'Devops'

| Page 2

Restart an Openshift deployment or deployment config

|
|
Tags:  Openshift

The easiest way to restart is reducing the number of pods to zero and increase again up to the desired pod count: oc get deployment thingsandcodeDeployment # Shows the current number of pods oc scale deployment thingsandcodeDeployment --replicas=0 # Stops the deployment oc scale deployment thingsandcodeDeployment --replicas=2 # Starts new pods for deployment

Continue reading...

How to use Azure what-if command to validate changes before deploying an ARM template

|
|
Tags:  Azure

UPDATED 24/01/2023: You may be interested in a newer post about the entire ARM template lifecycle that includes What-If operation. You can read it here: How to validate, plan, and deploy ARM templates Changes on production are dangerous stressful processes. Fortunately, there are tools that make deployments easier and prevent disasters. In this post you...

Continue reading...

How to create an Azure Keyvault secret and copy an access key using an ARM template

|
|
Tags:  Azure

Projects hosted in Azure should store passwords and other sensitive information in a Keyvault. It’s a good practice that makes an application safer because it prevents the leakage of the information in case of unauthorized access to the server. Another good practice is deploy using Infrastructure as Code (IaC) because it removes manual processes that...

Continue reading...