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.
Deploy using standalone manifests
From the course: Kubernetes for Java Developers
Deploy using standalone manifests
- [Narrator] After the cluster is created, our first thing is to deploy our application. This is the same Java application created using Spring Boot and packaged as a Docker container. Now if you recall, our image name was Arun Gupta/Greeting. And if you also recall, when we deploy a Docker image as a container in the Kubernetes cluster, it is deployed using a resource manifest. So, let's take a look at what our resource manifest looks like. Now, I'm in the Workspace directory. So let's go to manifests, standalone directory. And the first thing we're going to look at is our greeting deployment manifest. There is usually apiVersion, kind, metadata, we're creating a single replica of the pod over here. This is my pod template. In that I'm assigning app colon greeting as a label to each pod. It's important we understand this label because when I'm creating my service later on, it's going to rely on these particular labels being on the pod. Then I go to pod Spec, in that I'm creating a…
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
-
-
-
-
-