Using private container registries from minikube

A guide to how would you download image from private container registry in minikube

Suraj Deshmukh

2 minute read

I am doing Kubernetes native development using minikube. And for doing that I had to download a Container image that is available in internally hosted private container registry. On the configuration side of doing that you will need to create Kubernetes Secret of type docker-registry. And now refer that secret you just created in your Pod manifest under pod.spec.imagePullSecrets. For more info follow the tutorial in Kubernetes docs on Pull an Image from a Private Registry.

Static Pods using Kubelet on Fedora

Extension to the Kelsey Hightower's tutorial on 'Standalone Kubelet'

Suraj Deshmukh

2 minute read

I wanted to try out Standalone Kubelet Tutorial of Kelsey Hightower by myself but I could not follow it as it is, because it was firstly on GCE and secondly it uses CoreOS, but since I am very familiar to Fedora I thought of following that tutorial on it. To get a quick setup of a fresh Fedora machine use Vagrant. I have used Vagrantfile available here. This blog is only replacement of section Install the Standalone Kubelet in tutorial.

Sharing Vagrant Box offline

Share Vagrant boxes like you shareed Operating System ISOs

Suraj Deshmukh

2 minute read

If you have some box that was downloaded on your machine from Atlas but now you wanna share it on other machines and you don’t have internet to download it, how do you share it? You will need to export the box from machine that has it downloaded already. So on machine with boxes: $ vagrant box list centos/7 (libvirt, 1610.01) centos/7 (libvirt, 1704.01) fedora/25-cloud-base (libvirt, 20161122) fedora/26-cloud-base (libvirt, 20170705) I wanted to share fedora/26-cloud-base box to another machine.

Add new Maps to Counter Strike

Steps to add new maps to CS

Suraj Deshmukh

1 minute read

If you are playing Counter Strike on Steam on linux you might be wondering how do I install new maps in the game. So here are steps to install maps. All the game maps for Counter Strike - Condition Zero are stored in following path: ~/.local/share/Steam/steamapps/common/Half-Life/czero/maps Format of the map files is .bsp. So download the map files from over internet and then put in this location and now you should be able to see the maps in game.

List of Kubernetes Bangalore meetup event report

List of all the Kubernetes and OpenShift meetup event reports

Suraj Deshmukh

1 minute read

List of all the event reports from Kubernetes Bangalore meetup. April 2017 May 2017 June 2017 July 2017 Kubernetes 2nd Birthday Celebration August 2017 September 2017 October 2017 November 2017

Kubernetes Learning resources

Places you can find learning material for Kubernetes

Suraj Deshmukh

1 minute read

Following is the list of all the places you can learn Kubernetes from: Scalable Microservices with Kubernetes - Video tutorial Fundamentals of Containers, Kubernetes, and Red Hat OpenShift - Video tutorial Kubernetes By Example - DIY tutorial Learn Kubernetes using Interactive Browser-Based Scenarios - DIY tutorial in your own web browser Interactive Learning Portal for OpenShift - DIY tutorial in your own web browser Kubernetes docs - Textual DIY docs Kubernetes API reference v1.

Bangalore Kubernetes Meetup July 2017

Kubernetes Meetup presentation and talks

Suraj Deshmukh

2 minute read

This edition of meetup was held at Nexus Ventures by folks at OpenEBS on July 8th 2017, which started on a lovely Saturday morning. Kiran Mova set the floor rolling with his talk on Hyperconverged version of OpenEBS with Kubernetes. Where he talked about containerized storage vs traditional storage, instead of building clustering into OpenEBS how they are leveraging Kubernetes’s capabilities to do clustering. He also explained difference between various storage providers viz.

Clean Node setup

This will help in intalling node without sudo

Suraj Deshmukh

1 minute read

Make sure you have npm installed. $ sudo dnf -y install npm Package npm-1:3.10.10-1.6.10.3.1.fc25.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! Taken from this post. mkdir "${HOME}/.npm-packages" echo ‘prefix=${HOME}/.npm-packages’ | tee -a ~/.npmrc echo ‘ #====================================== # npm related stuff NPM_PACKAGES="${HOME}/.npm-packages" PATH="$NPM_PACKAGES/bin:$PATH" # Unset manpath so we can inherit from /etc/manpath via the manpath command unset MANPATH # delete if you already modified MANPATH elsewhere in your config export MANPATH="$NPM_PACKAGES/share/man:$(manpath)" #====================================== ‘ | tee -a ~/.

Bangalore Kubernetes Meetup May 2017

Kubernetes and OpenShift 101 hands-on workshop

Suraj Deshmukh

3 minute read

“One does not simply deploy containers to production” With the rising craze around the container community in Bangalore and relative lack in awareness around different container technologies like Kubernetes and OpenShift, an effort was made in imparting knowledge in this direction. So, this time around newbies were targeted for the Kubernetes Meetup. With the above objective, it was decided to have a Kubernetes 101 workshop at Red Hat Bangalore office on May 21, 2017 to familiarize people with concepts of Kubernetes and OpenShift and their usage and relevance as container orchestration tools for managing application deployments.

Enabling local development with Kubernetes

If you are doing development and want to use kubernetes for it, then here is how you can do it.

Suraj Deshmukh

5 minute read

I want to show how you can enable Kubernetes in your day to day development workflow. So that you get the feel of production deployment locally from day 1. I have a flask application which I am working on. The basic directory structure looks like this: $ ll total 24 -rw-rw-r–. 1 foo foo 427 Apr 23 16:23 app.py -rw-rw-r–. 1 foo foo 201 Apr 23 16:55 docker-compose.yml -rw-rw-r–. 1 foo foo 363 Apr 23 16:21 Dockerfile -rwxrwxr-x.