Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

52 lines (33 sloc) 4.13 KB

Oracle WebLogic Operator Tutorial

Deploy Oracle WebLogic Domain (Domain-home-in-image) on Kubernetes using Oracle WebLogic Operator

This lab demonstrates how to deploy and run Weblogic Domain container packaged Web Application on Kubernetes Cluster using Oracle WebLogic Server Kubernetes Operator 2.0.

The demo Web Application is a simple JSP page which shows WebLogic Domain's MBean attributes to demonstrate WebLogic Operator features.


WebLogic domain can be located either in a persistent volume (PV) or in a Docker image. There are advantages to both approaches, and there are sometimes technical limitations of various cloud providers that may make one approach better suited to your needs.

This tutorial implements the Docker image with the WebLogic domain inside the image deployment. This means all the artefacts, domain related files are stored within the image. There is no central, shared domain folder from the pods. This is similar to the standard installation topology where you distribute your domain to different host to scale out Managed servers. The main difference is that using container packaged WebLogic Domain you don't need to use pack/unpack mechanism to distribute domain binaries and configuration files between multiple host.

In Kubernetes environment WebLogic Operator ensures that only one Admin and multiple Managed servers will run in the domain. An operator is an application-specific controller that extends Kubernetes to create, configure, and manage instances of complex applications. The Oracle WebLogic Server Kubernetes Operator (the "operator") simplifies the management and operation of WebLogic domains and deployments.

Helm is a framework that helps you manage Kubernetes applications, and helm charts help you define and install Helm applications into a Kubernetes cluster. Helm has two parts: a client (Helm) and a server (Tiller). Tiller runs inside of your Kubernetes cluster, and manages releases (installations) of your charts.

This tutorial has been tested on Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE).


Before you start update HOL desktop environment (VirtualBox image)

Depending on your network connection make sure you switched ON or OFF the proxy configuration by clicking the corresponding shortcut on the desktop.

After the proxy configuration double click the Update icon and wait until the update process complete. Hit enter when you see the Press [Enter] to close the window message to close the update terminal.

The topics to be covered in this hands-on session are:

  1. Setup Oracle Kubernetes Engine instance on Oracle Cloud Infrastructure.
  2. Create Oracle Container Pipelines Application to Build Custom WebLogic Domain Image
  3. Install WebLogic Operator
  4. Install Traefik Software Loadbalancer
  5. Deploy WebLogic Domain
  6. Scaling WebLogic Cluster
  7. Override JDBC Datasource parameters
  8. Update Web Application
  9. Assigning WebLogic Pods to Nodes
  10. Assigning WebLogic Pods to Licensed Nodes
You can’t perform that action at this time.