|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/the-complete-guide-to-running-java-in-docker-and-kubernetes/
课程评论:没有评论
课程名称:全面指南:在Docker和Kubernetes中运行Java 概述:如果您需要学习如何在Docker和Kubernetes中运行、调优和维护JVM应用程序,那么本课程非常适合您。该课程与其他Java/Docker/Kubernetes课程大相径庭,重点关注在生产环境中获得成功所需的所有技能。虽然所有示例均以Java为基础,但内容同样适用于Scala、Groovy和Kotlin等任何JVM语言。 课程从Docker和Kubernetes的介绍开始,然后进入更有趣的部分。我们将学习以下内容:什么是容器、Linux cgroups、Linux命名空间。接着,我们将探讨JVM及您的Java应用在Kubernetes中运行时在cgroups和命名空间下的不同表现,包括:JVM自我调节、CPU共享和配额的工作原理,以及Kubernetes如何管理CPU和内存。 随后,我们将教授构建生产就绪镜像所需的所有技术,包括:选择基础镜像、JDK与JRE的基础镜像、多阶段Docker构建、GraalVM、类数据共享和提前编译。我们还将实验不同的JVM版本和设置。 课程结束时,您将掌握如何:构建生产就绪的镜像、在Kubernetes中选择使用CPU限制、配额或两者、选择内存限制并调整JVM以便在Kubernetes中运行,了解Kubernetes中的CPU使用情况,并理解其与虚拟机和物理机器的不同。
If you need to learn how to run, tune, and maintain JVM applications that run in Docker and/or Kubernetes then this is the course for you.This course is very different from other Java/Docker/Kubernetes courses. It focuses on all the skills that you need to succeed in production.All of the examples are in Java but the content is applicable for any JVM language including Scala, Groovy, and Kotlin.We'll start with introductions for Docker and Kubernetes then we'll get into the fun stuff. We'll learn:What a container is under the coversLinux cgroupsLinux namespacesThen we will go into how the JVM and your Java application behave differently in Kubernetes when running inside cgroups and namespaces. We'll cover:JVM ergonomicsHow CPU Shares and Quota workHow Kubernetes manages CPU and Memory Then we will teach you all the techniques needed to build production-ready images:Selecting a base imageJDK vs JRE based imagesMulti-stage Docker buildsGraalVMClass data sharingAhead of time compilationWe will experiment with different JVM versions and settings.By the end of this course you'll know how to:Build a production-ready imageSelect between using CPU limits, quotas, or both in KubernetesSelect memory limits and tune the JVM for running in KubernetesUnderstand CPU usage in Kubernetes and know why it is different to VMs and physical machines.