Image by Wokandapix from Pixabay

What is Kustomize?

Kustomize will provide a template-free way to customize application manifests leaving the original YAML file intact and untouched. Kustomize can be used as a standalone binary or with kubectl. Starting Kubernetes 1.14 it’s built into kubectl. In this tutorial, let’s see how we can use kustomize

Install- Kustomize-Standalone binary

We have the latest version of Kustomize installed(i.e. 4.1.2)

Image by MichaelGaida from Pixabay

In this tutorial, we will see how we can use pack and build packs to convert code into runnable images which are OCI compliant. We will run a basic Hello Whale application using spring boot.

Step-1: Using Spring Initializer Generate the base code and add the dependencies like Thymeleaf and Web. Select the Project Type as Maven.

Coral USB Accelerator

TPU — Tensor Processing Unit is an ASIC AI accelerator used for machine learning tasks specifically developed using Tensorflow. Edge TPU is designed and released in early 2019 and used in ML Inference acceleration use cases at the Edge. One such Edge TPU device is Coral USB Accelerator.

We can connect the Edge TPU Device( i.e. Coral USB Accelerator) to a computer and perform inference actions using the same. Coral USB Accelerator — Edge TPU is capable of performing 4 trillion operations per second using 2W.

Coral USB Edge TPU supports only TensorFlow Lite models that are fully 8-bit quantized…

Photo by Lucian Alexe on Unsplash

In the previous post, I have provided a basic introduction of Cron Job within Kubernetes. In this post, we will see bit advanced features of CronJob in Kubernetes and we will start with Parallelism.

Parallelism — For a job to run on multiple pods in parallel, we need to set the parallelism parameter in the manifest file. .spec.parallelism can be set to any non-negative value. If it is not mentioned, the default value will be set as 1.

Below manifest will help in actually running the job in parallel and will have 2 pods and every 1 minute the pattern…

Photo by Jon Tyson on Unsplash


In my previous post, I have written about Jobs, in this post, we will cover as what is Cron and how it works within Kubernetes.

CronJob help run Jobs which are transient and scheduled to run at a specific interval. These Jobs are similar to Cron in Linux. Cron jobs are useful to schedule recurring and periodic tasks. Some examples of such tasks include performing back-ups and sending emails etc. Cron job can create multiple jobs and we need to make sure jobs are idempotent.

In Kubernetes .spec.schedule takes the cron string format as 0 * * * * or…

Photo by Michael Dziedzic on Unsplash

OpenID Connect is an identity layer on top of the OAuth 2.0 protocol. In this post, we will see how we can configure the Kubernetes cluster through OIDC(OpenID Connect) to authenticate and authorize using google account.

Step-1: Create a Kubernetes cluster and ensure it’s up and running. In this tutorial, I have used a 2 node cluster running on bare metal.

Image by 272447 from Pixabay

Basic Process Health Check is performed by Kubernetes. If the main process of the application is not running, Kubernetes will actually do a restart. This type of basic Health Check is not enough, for example, the process might have hung up and not able to serve the customer requests and it will give a false-positive result mentioning that the process is alive, thus making us believe that the application is healthy.

In this article, we will see how we can have the Liveness & Readiness probe defined and deployed in Kubernetes.

To address the above-mentioned issue, Kubernetes introduced health checks…

Image by Artie_Navarre from Pixabay

In this post, we will discuss DaemonSet, Use-Cases, How to create a DaemonSet, Upgrade and Delete it. Also, we will see how Daemonset will deploy the pods the moment the cluster is re-sized.

What is DaemonSet? The main reason to replicate the pod across all nodes is to have an agent or Daemon for a special purpose and to achieve the same, we will use DaemonSet in Kubernetes. Daemonset is a controller in Kubernetes which is different from ReplicaSet.It will assure a copy of the pod will run on all cluster nodes. …

Image by Maritime_Filming_UK from Pixabay

In Last two articles , I have explained as how to invoke AWS lambda using Serverless Framework & AWS IoT Button. We will shift the gears now and see as how we can have serverless on Kubernetes using Knative on GKE Cluster. The main feature of Knative serverless containers, is that we can see the pods up and running only when there is traffic, else it will scale down to zero.

Step-1: Setup a GKE Cluster with Istio enabled and have the min number of CPU’s included before spinning up a cluster.

In the previous article, we have seen how we can use a serverless framework to trigger a simple lambda function. Now in this tutorial, we will use AWS IoT Button to trigger a lambda function which will help in the start and stop of the EC2 Instance through a button press.

Step-1: Launch EC-2 instance in the AWS console. Select a free-tier instance.

Vamsi Jakkula

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store