Prometheus supports scraping multiple instances of an application. Applications that run in orchestrated environments require to be discovered dynamically, since their IP addresses will change. Prometheus can be configured to use the Kubernetes API to discover changes in the list of running instances dynamically. The following shows a minimalistic Prometheus example of instrumenting an application with multiple pod instances. Prometheus ...
Read More »Home » Kubernetes »
Configuring Open Liberty Datasources via Kubernetes Secrets
In Open Liberty, configuration of datasource credentials is typically done in the server.xml file. If we use containers and container orchestration, we ideally make use of Infrastructure-as-Code and store all configuration under version control. However, this is certainly not desired for these datasource credentials. For that reason, Kubernetes secret definitions allow us to separately store secret values that shouldn’t be ...
Read More »Spring Boot Microservices , Docker and Kubernetes workshop – part2
In the previous post we created our first micro service “ProductService” using SpringBoot and Docker. In this part we will go into details of how to manage multiple microservices using Spring Cloud, netflix libraries, API gateways . For our order management system, let’s say, a minimal relationship could be something like this : So, let’s build 2 more services called “orderService” ...
Read More »Spring Boot Microservices , Docker and Kubernetes workshop – part1
In this series of workshop we will build few micro services using spring boot, docker and then deploy them into kubernetes. So, Lets get started. First we need to define a problem statement to begin with. Lets say we want to build a order management system. Identifying domains First step would be to understand what domains are required, for simplicity ...
Read More »Deploying and scaling an Oracle database on a multi-node Kubernetes cluster
In this post I am going to explain how to deploy and scale an Oracle Express database on a multi-node Kubernetes cluster. I am going to use this Docker container by Maxym Bylenko. I am referring to the container for the Oracle XE 11g because of the following open issue with that for Oracle XE 12c at the time I did the process described ...
Read More »Zero-Downtime Rolling Updates With Kubernetes
The software world moves faster than ever. In order to stay competitive, new software versions need to be rolled out as soon as possible, without disrupting active users. Many enterprises have moved their workloads to Kubernetes, which has been built with production-readiness in mind. However, in order to achieve real zero-downtime with Kubernetes, without breaking or loosing a single in-flight ...
Read More »Monitoring Kubernetes and OpenShift with AppDynamics
Continuously build, test and monitor your Microservices for optimal performance. Summary Kubernetes and OpenShift are powerful and flexible. They’re also complex to setup, monitor and maintain at scale. Here’s a sneak peek into what we monitor in OpenShift, as well as some hard-earned advice on how our strategy might benefit your own environments. Here at AppDynamics, we build applications for ...
Read More »Knative serving – using Ambassador gateway
This is a continuation of my experimentation with Knative serving, this time around building a gateway on top of a Knative serving applications. This builds on two of my previous posts – on using Knative to deploy a Spring Boot App and making a service to service call in Knative. Why a Gateway on top of Knative application To explain ...
Read More »Knative Serving – Service to Service call
In a previous post I had covered using Knative’s Serving feature to run a sample Java Application. This post will be go into the steps to deploy two applications, with one application calling the other. Details of the Sample The entire sample is available at my github repository – https://github.com/bijukunjummen/sleuth-webflux-sample. The applications are Spring Boot based. The backend application exposes ...
Read More »