Home » DevOps

DevOps

Cloud Native Container Design Principles

Software design principles Principles exist in many areas of life, and they generally represent a fundamental truth or belief from which others are derived. In software, principles are rather abstract guidelines, which are supposed to be followed while designing software. There are fundamental principles for writing quality software such as KISS (Keep it simple, stupid), DRY (Don’t repeat yourself), YAGNI ...

Read More »

Docker Trick: Running Containers Efficiently Using A Bash Script

One of the basic problems with running a docker image is that its too easy to spew up multiple instances or containers of the same image. Consider running the following container for instance: docker run -it -e AWS_ACCESS_KEY_ID="test" -e AWS_SECRET_ACCESS_KEY="test" \ --net=host "prahladyeri/testimage:latest" /bin/bash This will start a fresh container instance from image prahladyeri/testimage:latest and you may optionally pass environment ...

Read More »

Docker is the best thing to happen to Linux since the GNU bread

Its has become an oft-repeated cliche now that docker has become the latest buzzword, both in DevOps circles as well as the open source community. But being the ever cynic and contrarian, I wasn’t quite convinced of its merits until quite recently, I thought it was just another hype that will come and go like all other things. After all, ...

Read More »

Remote access to Minikube with Kubectl

Let’s say you need to install a Kubernetes cluster in your organization for development and testing purposes. Minikube looks like a perfect fit for that job. It was specially designed for users looking to try out Kubernetes or develop with it day-to-day. It runs a single-node Kubernetes cluster inside a VM on a standalone machine. So, you found a server for ...

Read More »

Docker | Windows 10/ Mac OS | unauthorized: incorrect username or password when trying to pull images

It happens because the docker client (on macOS or Windos 10) allows you to sign in with your email address and password. If you sign out and sign in with your Docker Username and password everything will work. So here’s a better description of the issue Description When trying to pull images from the Docker registry docker: Error response from daemon: ...

Read More »

Running Ansible on a Windows System

On my last conference talk (it was about Ansible and Docker at DevOpsCon in Berlin), I was asked what is the best way to run Ansible on a Windows system. Ansible itself requires a Linux-based system as the control machine. When I have to develop on a Windows machine, I install a Linux-based virtual machine to run the Ansible’s playbooks ...

Read More »

Spring Boot & Cockroach DB in Kubernetes/OpenShift

In my previous post, I showed why Cockroach DB might help you if you need a cloud native SQL database for your application. I explained how to install it in Kubernetes/OpenShift and how to validate that the data is replicated correctly. In this post, I am going to show you how to use Cockroach DB in a Spring Boot application. Notice that ...

Read More »

CockroachDB: A cloud native SQL database in Kubernetes

CockroachDB 2.0 has just been released. For those who don’t know what it is, it can be summarized as a SQL database for the cloud era. One of the best things about CockroachDB is that it automatically scales, rebalances and repairs itself without sacrificing the SQL language. Moreover, Cockroach implements ACID transactions,  so your data is always in a known ...

Read More »

Cloud Happiness – How to install new OpenShift Container Platform 3.9 in just minutes

This installation needs to have the Red Hat Middleware product streams installed (pre-configured container options) and all the extras like source to image and .Net Core containers.Since the release of the OpenShift Container Platform  it has been my desire to provide a simple, fully configured and easy to use installation. Since I last updated this project, OpenShift Container Platform 3.9 ...

Read More »