Karan Singh

Code Never Lies, Comments Sometime Do !!

Build Your Own Jupyter Notebook Environment

| Comments

Jupyter Notebook

If there is just ONE gear to select to dive into the deep waters of Data Science and Machine Learning, then without a second thought, its Juypter Notebook. Its a open source project which supports live coding on over 40 languages with native integration to Big Data and Machine learning frameworks like Spark, TensorFlow etc.

Don’t believe me … checkout ready to use and free Jupyter Notebooks Here

Enough Talk …. Let’s Get To Work

Home Lab Setup : Fedora 27 on Raspberry PI 3

| Comments


You know why you are here, so without further due, lets begin

  • Downlaod Fedora Media Writer for Mac OS X
  • (optioal) you could either download Fedora Server/Workstation from https://arm.fedoraproject.org/ OR directly use Fedora Media Writer which will download the required image and flash to the Memory card.
  • Insert memory card in memory card reader and plug that into your Macbook
  • Open Fedora Media Writer application, select “Custome Image” option, choose Fedora ARM image and flash Fedora OS to the memory card
  • Once flashing is done, insert the memory card to your raspberry-pi

Deep Learning: Face Recognition Without Coding

| Comments


Today, its 27th of October 2017 15:00 EEST, i am still in transit to home, after attending Spark Summit Europe 2017. The top two trends of this summit was

1. Machine Learning

2. Streaming workloads

I am fascinated by the advancement happened lately in the field of Machine Learning, Deep Learning and Artificial Intelligence.This technology is the biggest thing now, and is destined to be human scale.

As they say “The hardest part of any journey is taking that first step

So with that, i am all set to take my first step, where i am going to do my first Machine Learning toy lesson

Project #1: Face Recognition using face_recogination library (without coding)

OpenShift / K8s : DNS Configuration Explained

| Comments

openshift-route Life is easy when you have a DNS service … But you not always have DNS service handy to play with !!!

When you have an openshift local environment and do not have a DNS service in place, accessing your openshift application endpoints from outside master node could be challenging. I had the same problem in home lab, which i managed to fix.

In my setup, i have an openshift cluster hosted on a my home server. My applications which are ofcourse inside containers works fine from within openshift master node. However accessing my appliation from another host (e.g. my workstation) does not work. Reason being, DNS resolution for application endpoint missing.

Here is how you can access your application from outside openshift master noded.

Note: You must have a fully functional openshift environment with some apps running, exposed with their route configured.

Ceph : RGW SSL Made Simple

| Comments


It’s been a while since Ceph Rados Gateway (RGW) has built-in support for SSL. In this blog post we will quickly cover how to setup SSL for RGW and adding another layer of security to object storage endpoint without much efforts.

The first ingredient we require to configure SSL endpoint is “SSL Certificate” itself which must be obtained through an official certification authority, or CA. Its CA’s responsibilities to confirm the certificate’s identity as well as assert for its authenticity. For demonstration purpose we will use self-sign certificate, however it’s recommended to acquire SSL certificate through aurhotuzed CA for production usage.

Kubernetes : Deployment Using Ansible on VirtualBox by Vagrant

| Comments


Containers are everywhere. You will not find any tech event, tech meetup and tech discussion without using the word containers. Yes containers are almost ubiquitous. But containers alone will not solve your tech challenges, they need someone to give them ride. Containers are nothing but isolated gift box containing some present, they need someone to take care of the delivery to the right address. This is where container management/orchestration/scheduling systems comes into picture , Kubernetes, Mesos , Docker Swarm , Kontana are some examples of container orchestration systems.

Kubernetes is the new HOT container management system brought to you by Big Daddy Google. In this blog i will help you to get your hands dirty with Kubernetes (K8s). Here is what we are going to do

  • Setup a local environment using Vagrant and Virtualbox
  • Deploying K8s using Ansible
  • Interacting with K8s
  • Deploy your first application on K8s

OpenStack Summit Boston : Voting Begins

| Comments

openstack summit

Hello Stackers and Cephers , as you already know the next OpenStack summit is around the corner and is planned for 8-11 May , Boston MA. Its the Time to VOTE NOW.

This time i have submitted the following presentations which are very unique and touching different dimensions of your favorite technology .

Ceph User Group Finland : First Meetup

| Comments

My colleague Toni Willberg from Red Hat Finland office, came up with a brilliant idea of creating a Ceph local meetup group “Ceph user group Finalnd” , so we both pursued that idea and created Ceph user group Finland (CugF)

This is group that brings together software/devops/system engineers, cloud/solution architects with an interest in Ceph, software defined storage and data center storage infrastructure to collaborate and share their knowledge,experience and opinions about the future of storage.

On 15th February 2017, we organized our first meetup with 2 presentations + great discussion. Here are they :

  • I have presented “Ceph Introduction and Beyond” and here are the slides.

  • My friend Pietari Hyvärinen presented “Detailed view of operations in production scale Ceph systems with Grafana” (i will seek his permission before publishing his slides)

Special Thanks to @ToniWillberg for CugF + 8 different User Groups that he is running in Finland Metropolitian Area on a wide range of open source technologies.

What’s Next : In approx 2 months time we will schedule our second meetup. Along with snacks and beer ( call out for sponsors ) you will enjoy listening to some interesting topics. If you are based in Finland and want to be the part of this community, feel free to join and collaborate. We will be happy to see you :)