Creating Custom metric in Spring boot application using micrometer api and expose metrics for Prometheus. Will look at Counter metric.
Tag: Kubernetes
How to connect Spring boot microservice to MongoDB cluster
Learn how to deploy MongoDB Cluster (Replica set) in Kubernetes and connect your Spring Boot microservice application to DB. In this post, would like to briefly explain how to deploy MongoDB as a Cluster (replica set configuration) with 3 pods in a Kubernetes cluster and connect a Spring boot application/microservice to it. There are few […]
Enable OIDC Groups based access to Tanzu Kubernetes Grid
In this post, we are going to see how to modify the configuration of Okta, Dex, and Gangway to allow us to use groups in TKG Workload Cluster for RBAC.
Configure Tanzu Kubernetes Grid to use OIDC with Okta
VMware Tanzu Kubernetes Grid (TKG) provides user authentication by using Dex and Gangway. TKG running on Amazon EC2 supports only OIDC, so we are going to use Okta as the Identity provider and enable User Authentication on TKG clusters running on Amazon EC2.