Difficulty: beginner
Estimated Time: 5 minutes

Welcome to Kubernetes Scenario! Here we will learn how to deploy apps on kubernetes includes

  1. build images from Dockerfile
  2. deploy Application with deployment.yml
  3. deploy service with service.yml
  4. deploy dashboard

You have completed this session.

build image, deploy applications and service on kubernetes

Congratulations! Now, you are able to deploy your own applications! Go ahead

bre on kubernetes

Step 1 of 3

Build image 'bre'

Build Image from Dockerfile

Image will be pulled from docker registry.

For more information about the parent image

refer jdk6-mvn3

This image includes

  1. JDK 1.6
  2. MAVEN 3.2.5
  3. TOMCAT 7

Build docker image via command below

docker build -t bre .

After building successfully, check if image bre has been created

docker images

Result should be like it

REPOSITORY IMAGE ID CREATED SIZE
bre XXXXXXXXXXXX 21 seconds ago 823MB