Posts with tag 'Openshift'

How to detect and diagnose pods with problems in Openshift

|
|
Tags:  Openshift

Pods are the basic unit of deployment of Kubernetes. Each pod contains one or more containers that share the same network connections and storage. In this post you will learn the diferent ways to diagnose pods with problems. The commands in this post were run in a computer with Ubuntu 22.04.1 LTS connected to Openshift...

Continue reading...

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...