From the course: Kubernetes for Java Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Debug a deployment with IntelliJ
From the course: Kubernetes for Java Developers
Debug a deployment with IntelliJ
- As a Java developer, you're always dealing with tools like NetBeans, IntelliJ, and Eclipse, and you're used to debugging your application in those IDE's. Now, how do I bring those skillsets when I'm building my application in Kubernetes, and deploying in them? This section will explain how you can debug a kubernetes pod, if a cluster is running on your local machine. So, first thing first, deploy our Helm chart. So, let's go to our manifest charts directory, and now, I'm going to install my helm chart. Helm, install, name, myapp, myapp. And this deploys my application. Let's confirm it. We, of corse, have to say get before this. And so we can see all the resources have been successfully deployed. So, we are in good shape over there. Now let's go to IntelliJ, for example, in this case, and set up a break point over there. Here's my mavin project that is in IntelliJ here, essentially. And here is my greeting controller. These are my main business logic. Remember this is a very…
Contents
-
-
-
-
-
Kubernetes concepts and instantiation4m 54s
-
(Locked)
Kubernetes resources4m 13s
-
(Locked)
Kubernetes cluster concepts4m 27s
-
(Locked)
Kubernetes clusters: Getting started4m 41s
-
(Locked)
Getting started with Minikube3m 19s
-
(Locked)
Deploy using standalone manifests4m 29s
-
(Locked)
Deploy using standalone single manifest2m 20s
-
(Locked)
Introduction to Helm charts5m 38s
-
(Locked)
Deploy using Helm charts4m 18s
-
(Locked)
Debug a deployment with IntelliJ3m 42s
-
-
-
-
-