Posts

Showing posts from July, 2019

Kubernetes Access Control Overview and setup up RBAC in Kubernetes Cluster

Image
You may have already seen lots of articles discussing about RBAC implementation in Kubernetes Cluster. In this article I am sharing the basic RBAC implementation which I have tested on my local Kubernetes cluster using  Minikube . Below are the details about  Minikube and  Kubectl , I am using for this test. Kubernetes Basic Architecture -  In Kubernetes, you must be authenticated (or logged in) before your request can be authorized (granted permission to access). You can go through official documentation for more details  Accessing Control Overview . There are two types for requests made to Kubernetes API-Serve one is the external request made by human being and another is internal from pod using service accounts.  In this post we'll discuss about first type. Note that external users not stored in Kubernetes, these will be stored somewhere in external system and there are multiple type of authentications. We...

How to check Mac OS X Version and other related information

Image
There are few ways you can use to check OS X version. First and simple one is the GUI. Just click on the  Apple menu (  ) at the top left of your screen, and choose  About This Mac. What but if you don't have access to GUI or you want to fetch these details through scripts, then you can use below CLI methods to find out the same. 1. sw_vers - This command will show the ProductName, ProductVersion and BuildVersion.   2. System Profile (system_profile) -  3.  Mac OS X user defaults system 4. Let the System speak it for you :)- 5. Kernal and Machine Architecture Details(uname)- Different available options-

Running and Dynamically Scaling your Jenkins (CI/CD) platform on Kubernetes

Image
Overview            Now a days in the fast moving and changing world, we need a CI/CD platform which we can scale in/out as per requirements. This auto scaling feature help us to be cost effective and don't need to worry about the changing demands. In this article will go through the implementation of same kind of setup. Here we'll create Jenkins setup which will be on Kubernetes and scale automatically as per needs. Interesting thing is that for this demo you don't need any specific inhouse or cloud platform. We are going to do this exercise using Docker Desktop. I have done this on Windows, but if you can use this for Mac as well. Just want to summarize the tools, not going in deapth as assuming that most of  the guys are aware on these tool sets. Otherwise suggest to follow documentation. Jenkins -        Jenkins is the leading open source automation server, Jenkins provides hundreds ...