TOP 10 Posts for this year 2020
Here are TOP 10 best and the most popular reads for this year, hope you would love this compilation. As always, please feel free to leave your comment in case of any questions or additional inputs.
Happy Holidays and Good Luck!
- #1.TOP 6 GUI tools for managing Docker environments
- #2. How to deploy Angular 6 + Spring Boot app as single deployment unit ?
- #3.How to scale services using Docker Compose
- #4.Docker tutorial : Build Docker images using Jenkins
- #5.How do I connect to Postgresql running on host from Docker container
- #6.Monitoring Docker containers using Prometheus + cAdvisor + Grafana
- #7.How to set memory limit for your Java containers?
- #8.Kubernetes tutorial – Create deployments using YAML file
- #9.ULTIMATE GUIDE to Coursera Specializations That Will Make Your Career Better (Over 100+ Specializations covered)
- #10.Kubernetes Tutorial: Distributed tracing with Jaeger
As containers take root, dozens of tools have sprung up to support them. Here we look at the TOP 6 GUI tools for managing docker environments.
In this article, we are going to check how to deploy Angular 6 & Spring Boot REST application as a single deployment unit but however best practice is to separate Spring boot and Angular application so that we decouple the client code and server code, hence the application becomes highly scalable and manageable. But sometimes there could be scenarios for example. small application/teams it is advisable to package as a single unit and deploy them. In this article, we are going to check how to use maven resources plugin and spring boot jar packaging to build and deploy as a single unit.
- #1.Install Prerequisites
- #2.Create a new Spring Boot and Angular 6 application
- #3. Use Maven resource plugin to package as a single jar
In this post, we can look at how to use existing Docker compose file and scale services.Docker Compose tool is used to define and start running multi-container Docker applications. Configuration is as easy, there would be a YAML file to configure your application’s services/networks/volumes, etc., Then, with a single command, you can create and start all the services from the compose configuration.
In this post, we are going to check how to configure Jenkins to build Docker Images based on a Dockerfile. Below are the steps of how you can use Docker within a CI/CD pipeline, using Images as a build artifact that can be promoted to different environments, and finally production.
- Step #1: Launch Jenkins
- Step #2: Configure the plugins and start building Docker Images.
- Step #3: Configure Docker agent
- Step #4: Test the setup
There could be instances where you want to connect to Postgresql database on the host from your containers. In this post, we take look at configuration steps on how to connect to Postgresql running on the host from your Docker containers.
- #1.Definition of Docker files
- #2.Define services in Docker compose file
- #3.Configure Postgresql to able to connect from Docker containers
- #4.Build and run your app with Compose
With the increasing adoption of containers and microservices in the enterprises, monitoring utilities have to handle more services and server instances than ever before. Support for multi-dimensional data collection, querying and the perfect dashboard visualization tool is a great strength and makes the right fit to be part of your operational toolset. In this post, we take look at Monitoring Docker containers using Prometheus + cAdvisor + Grafana.
- #1. Prepare Docker Compose Configuration
- #2.Prometheus Node Exporter Configuration
- #3.cAdvisor Configuration
- #4.Prometheus Configuration
- #5.Alert Manager Configuration
- #6.Grafana Configuration
- #7.View Metrics
By default, Docker containers have no resource constraints and can use as much as the host’s kernel memory and scheduler allows but there could be scenarios where you have to set it explicitly. For example in case if your container consumes too much of the host machine’s memory and if the kernel detects that there is not enough memory to perform system functions, the kernel would take over and start killing processes to free up memory. This could effectively bring your application down, in this post we are going to look at how to set the memory limit for containers and in specific how to address the challenges in case of running Java applications on Docker containers.
- #1. Setting memory limit for individual containers
- #2. Setting memory limit on Docker Compose
- Does JVM know whether it is running on container?
- Key considerations while setting memory
In this post, we are going to learn how to create application deployment using the YAML file, and also we can check how to create services to control the application communication.
- Step #1.Create an nginx deployment
- Step #2.Create Deployment based on the YAML file
- Step #3.Create service
- Step #4.Deploy service
- Step #5.Update nginx deployment to have 4 replicas
- Step #6.Apply the updated nginx deployment to have 4 replicas
#9.ULTIMATE GUIDE to Coursera Specializations That Will Make Your Career Better (Over 100+ Specializations covered)
Coursera Specialization is a series of courses that help you master a skill. To begin, you can enroll in the Specialization directly, or review its courses and choose the one you’d like to start with. When you subscribe to a course that is part of a Specialization, you’re automatically subscribed to the full Specialization. You can either complete just one course or you can pause your learning or end your subscription at any time.
Every Specialization includes a hands-on project. You’ll need to successfully finish the project(s) to complete the Specialization and earn your certificate. If the Specialization includes a separate course for the hands-on project, you’ll need to finish each of the other courses before you can start it.
When you finish every course and complete the hands-on project, you’ll earn a Certificate that you can share with prospective employers and your professional network. In this post, we checkout the ULTIMATE GUIDE to Coursera Specializations, I have over 100+ specializations covered here.
Jaeger is an open-source distributed tracing system by Uber Technologies. Like Dapper or Zipkin, it is used for monitoring and troubleshooting microservices-based distributed systems. In this post, we are going to look at how to deploy Jaeger onto the Kubernetes cluster.
- #1.Why Distributed Tracing ?
- #2.Key Features of Jaeger
- #3.Jaeger Architecture
- #4.Deploy Jaeger Template on Kubernetes Cluster
- #5.Sample Traces View
Like this post? Don’t forget to share it!