This time I will not write a lenghtly post. Instead, I’ll try to explain different deployment strategies through diagrams. This is for all those who dislike black and white terminal and prefer colors, boxes, and lines with arrows. The deployment strategies are not presented in any particular order. Serverless Deployments With Knative The flow of a request with API gateway ...
Read More »Home » Kubernetes »
Configuring and using AWS EKS in production
Its been some weeks now that our migration to Amazon EKS (work place) is completed and the clusters are in production. I have written a brief in the past on some major points, you can find it here. With some extra confidence while the system is serving real traffic I decided to come back for a more concrete and thorough ...
Read More »Hot-deploying into Kubernetes using Telepresence & WAD
When you’re testing your enterprise application in a Kubernetes environment, the turnaround for changing, re-packaging, and re-deploying your application can become quite high. Telepresence aims to mitigate this, by proxying a locally running process into our Kubernetes cluster, as if the local process were part of the cluster. If we combine that approach with a hot-redeploy tool such as WAD ...
Read More »The Kubernetes Spark operator in OpenShift Origin (Part 1)
This series is about the Kubernetes Spark operator by Radanalytics.io onOpenShift Origin. It is an Open Source operator to manageApache Spark clusters and applications.In order to deploy the operator on OpenShift Origin, the first time you need to clone the GitHub repository for it: git clone https://github.com/radanalyticsio/spark-operator.git Then login to the cluster using the OpenShift command-lineoc: oc login -u <username>:<password> ...
Read More »Running PostgreSQL in a Cloud on Oracle Containers Engine for Kubernetes
In this post I am going to show a few steps to deploy and run PostgreSQL database in a K8S cluster on OKE.The deployment is going to be based on postgres:11.1 Docker image which requires a few environment variables to be configured: POSTGRES_DB (database name), POSTGRES_USER and POSTGRES_PASSWORD. I am going to store values of these variables in K8S ConfigMap ...
Read More »Deployment Strategies with Kubernetes and Istio
In this post I am going to discuss various deployment strategies and how they can be implemented with K8s and Istio. Basically the implementation of all strategies is based on the ability of K8s to run multiple versions of a microservice simultaneously and on the concept that consumers can access the microservice only through some entry point. At that entry ...
Read More »Load Testing of a Microservice. Kubernetes way
Let’s assume there is a microservice represented by a composition of containers running on a K8s cluster somewhere in a cloud, e.g.Oracle Kubernetes Engine (OKE). At some point we want to quickly stress test a specific microservice component or the entire microservice. So we want to know how it works under the load, how it handles many subsequent requests coming ...
Read More »Build a Microservice Architecture with Spring Boot and Kubernetes
“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. In this tutorial, you’re going to use Kubernetes to deploy a Spring Boot microservice architecture to Google Cloud, specifically the Google Kubernetes Engine (GKE). You’re also going ...
Read More »Monitor applications using Prometheus Operator on Kubernetes
You can make the Prometheus configuration aware of the Kubernetes environment your applications are running in. I’ve described how to do that manually, in a previous blog post. Prometheus Operator is an extension to Kubernetes that manages Prometheus monitoring instances in a more automated and effective way. Prometheus Operator allows you to define and manage monitoring instances as Kubernetes resources. ...
Read More »