Bartosz Bierkowski - Low dose cloud

OpenShift

Minishift: recover .kube/config

I deleted my .kube/config file, which stores the configuration for OpenShift cluster in Minishift. The cluster accepts any user, so it’s not a problem. Only when you want to have a look around and become an admin, you need system:admin credentials or cluster-admin privileges. The oc login -u system:admin command does not work, as it […]

Posted in minishift, OpenShift | Leave a comment

OpenShift CLI Morsels: access all api objects

When learning about OpenShift, it is good to know what kind of resources you can access. I mentioned earlier listing all objects and types, but you can actually access many more api objects using just the oc client. I found a command displaying all the APIs accessible from oc. First one displays all cluster level […]

Posted in OpenShift | Leave a comment

Changes in oc client from OpenShift v3.10 to v3.11

With each new version of command line tool, especially one so dynamically evolving like OpenShift client, I am always curious what are new features added. The new API objects are mapped into new commands, but usually there are more changes under the hood.So, I ran a little diff between top level commands of oc 3.10 […]

Posted in Featured, OpenShift | Tagged | Leave a comment

All OpenShift Morsels

There are quite a few OpenShift Morsels available already, so let me put them on a single page for a faster search and browse. Basic knowhow Short knowhow transfers, some small tips how to setup something or learn about OpenShift client. OpenShift CLI morsels: getting docs from oc client OpenShift CLI morsels: showing labels of […]

Posted in Featured, morsels, OpenShift, OpenShift CLI morsels | Leave a comment

OpenShift Morsels: rolling back the deployments

On day #24 we check again rolling back the deployment.

Posted in Featured, morsels, OpenShift, OpenShift CLI morsels | Leave a comment

OpenShift Morsels: pausing deployments

On day #23 last look at the oc rollout subcommands brings us to pausing and resuming the deployments

Posted in Featured, morsels, OpenShift, OpenShift CLI morsels | Leave a comment

OpenShift Morsels: retrying deployments

On day #22 retrying the deployment and going back to previous version.

Posted in Featured, morsels, OpenShift, OpenShift CLI morsels | Leave a comment

OpenShift Morsels: dealing with history of deployments

Continuing the topic of handling deployments on day #21.

Posted in Featured, morsels, OpenShift, OpenShift CLI morsels | Leave a comment

OpenShift Morsels: rolling out new version of application

Since we talked already about rollout strategies, lets have a look how to rollout this new version of application on day #20

Posted in Featured, morsels, OpenShift, OpenShift CLI morsels | Leave a comment

OpenShift Morsels: execute actions before your pod starts using init containers

On day #19 I will introduce you to init containers.

Posted in Featured, morsels, OpenShift, OpenShift CLI morsels | Leave a comment