Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

[Technical Session] Monitoring Kubernetes in the Cloud on EKS, AKS, and GKE

Monitoring Kubernetes in the Cloud on EKS, AKS, and GKE

Air-Date August 2, 2018

Run Time: 60 minutes

 

 

Resource links>>

Source Code on GitHub: AppDynamics/AD-Capital-Kube

AppDynamics Product Docs - Kubernetes and AppDynamics APM

Technical Session: Monitoring Kubernetes Microservices Applications

Blog: Monitor Amazon EKS with AppDynamics

Blog: The AppD Approach: Monitoring Kubernetes Events

Kubernetes: Production Grade Container Orchestration

Amazon Elastic Container Service for Kubernetes (EKS)

Azure Kubernetes Service (AKS)
Google Cloud Kubernetes Engine (GKE)

 

@Mark.Prichard and @Eric.Johanson take a look at a detailed example of a containerized application and how to successfully deploy it using Kubernetes to each of the three main container management services: Amazon Elastic Container Service for Kubernetes (EKS), Microsoft Azure Kubernetes Service (AKS), and Google Kubernetes Engine (GKE).  


In this technical session, designed for operations teams who manage cloud native deployments,
we took an in-depth look at: How to deploy applications to the cloud with full Application Performance Monitoring of the application, container, and orchestration layers. Compared the experience of managing and monitoring applications using Kubernetes services between each of the “Big Three” (EKS, AKS, GKE). 

Shared best practices and design decisions that you should consider when moving services and applications to the cloud native space.

 

Q&A 

 

Q: Do you provide Docker images with AWS monitors built in?

A: We don't provide it currently, but we would take it as an action item. Following the same approach that we showed you in the webinar, we could package the Docker image with built-in AWS monitoring and make it available on the Docker Store. The AppDynamics Java Agents have tags and we could build Machine Agents for AWS with certain tags and built-in extensions, so it is doable.

 

Q: Does the AppDynamics Agent need to be installed in every pod in Kubernetes or does installing it in a single container apply to all containers in a pod?

A: Kubernetes monitoring is application based. What we showed you today in the webinar is Java-based application monitoring on EKS, AKS, and GKE. Our example used the Java Agent, but AppDynamics provides different types of Application Agents. We don't want you to think that Kubernetes monitoring is only Java-based, so we would do a webinar based on another agent type. You have containerized application components that you want to monitor with APM. Depending on the runtime, you install the corresponding type of APM Agent on the containers. On each Kubernetes worker node where your application is running, you install the Machine Agent to have those containers monitored. If you don't have a Machine Agent installed and if you have containers that are unrelated or that are not being monitored through APM or infrastructure components, you don't need AppDynamics App Agents.

 

Q: Do you have instructions on how to build the Machine Agent Docker image with AWS monitors (e.g. AWS Cloud watch, Cloud search etc)?

A: We will publish a blog to demonstrate how to build and deploy Docker image with AWS monitors. We will also include the Docker file with the blog to show you how to build it, and if you don't want the component you can comment it out and rebuild it. We will also post the image on the Docker store.

 

Q: What are the new enhancements in 4.5 as per release notes?

A: One of the major enhancements in 4.5 is Dynamic Monitoring Mode (DMM) for all Docker Visibility Metrics. See Dynamic Monitoring Mode and Docker Visibility to learn how it works. Basically, it is a flag that you can set on the AppDynamics Controller and it selectively control the number of Docker Visibility metrics reported for individual containers. The default is the standard Key Performance Indicator (KPI) mode. Diagnostic mode and Advanced Diagnostic mode help with detailed troubleshooting. In normal operations, we use KPI mode and if you detect any issue on a particular node or a server, you can turn advanced modes on to collect additional metric data to diagnose problems.

 

Q: Can we install AppDynamics in our VMs rather than in a container using Docker or Kubernetes?

A: The examples we demonstrated today are specific to Docker and Kubernetes but you can run AppDynamics replication on VMs like many of our customers do. Many AppDynamics customers are running Docker and Kubernetes on top of VMs too.

 

Q: Can we use AppDynamics with OpenShift?

A: AppDynamics supports RedHat OpenShift. See RedHat OpenShift for instruction on using it. We are also planning a webinar on this topic, covering features such as rolling upgrade. OpenShift and Kubernetes are identical and they are 99% the same. OpenShift has a security framework and its deployment model is enterprise grade. 

 

Q: Can AppDynamics integrate with tools like CloudWatch and monitor the end to end application like PurePath?

A: AppDynamics has introduced rich set of extensions that handles AWS. We use different AWS APIs. Putting those things together and building a Docker image is doable.

 

Q: How about hybrid applications?

A: We do see a hybrid application pattern as well. Supporting applications on hybrid cloud is one of the beauties of the Kubernetes approach. GKE is offering on-prem and there are others setting up Kubernetes on-prem. The main challenge is in security and authentication. Having those things ironed out to be working across cloud, hybrid application is a possibility.

 

Q: How do I install agents on microservice based container applications?

A: Some of the topics we discussed in this session are relevant to this question. There is a fundamental trade-off between operational convenience and flexibility. You can either use the AppDynamics base image and extend to include your application code, or build your own if you have certain code standards to follow. From an operational perspective, it is easy. The downside of using your own image is the proliferation of images, with different tags and versions that you have to manage. Another scheme is dynamically managing it using a sidecar method as we showed in our previous webinar. What we showed was to have the agents loaded into a subnet network storage and pull them into the container as needed. It requires more operational setup and you need to specify the path you use in order to pull the image file. But, it will resolve in smaller and ligher images so it is faster to load. You can also turn APM off in development mode. Run the container without APM and dynamically inject when you need them. Customers favor one of these methods but all these boils down to what you chose - operational convenience or flexibility.

 

Q: Will you share the installation steps with us? 

A: The installation steps can be found here: Monitoring Applications in Docker Containers

 

Q: Is it open source or licensed offered?

A: It is not open source. You need a Server Visibility license to use it. See Monitoring Docker Containers for more information.

 

Q: Is there any road map to support Vagrant, Apache Mesos & RancherOS?

A: We have customers interested in monitoring these platforms. Considering the way we do container monitoring, AppDynamics APM could work on those technologies. We would certainly publish best practice guides and examples either on Github or in a blog that shows how to package and deploy the agents for those technologies. We would also make the Docker images for a wider range of agents available on the Docker store. Source code is available for the agents and it's the matter of putting them together to make it deployment-specific.

Version history
Revision #:
10 of 10
Last update:
‎08-27-2018 03:30 PM
Updated by:
 
Labels (1)
0 Kudos