This sample demonstrates how to use the WebLogic Kubernetes Operator (hereafter “the operator”) to set up a WebLogic Server (WLS) cluster on the Azure Kubernetes Service (AKS). After going through the steps, your WLS domain runs on an AKS cluster. You have several options for managing the cluster, depending on which domain home source type you choose. With Domain on PV, you can manage your WLS domain by accessing the WebLogic Server Administration Console or WLST. With Model in Image, you use the operator to perform WLS administrative operations.
NOTE: For an alternative approach to this sample, see the Oracle WebLogic Server on AKS from the Azure Marketplace offering which automates the provisioning of AKS cluster, AKS resources, the Azure Container Registry (ACR), WebLogic Kubernetes Operator, and WebLogic Server images.
Azure Kubernetes Service (AKS) makes it simple to deploy a managed Kubernetes cluster in Azure. AKS reduces the complexity and operational overhead of managing Kubernetes by offloading much of that responsibility to Azure. As a hosted Kubernetes service, Azure handles critical tasks like health monitoring and maintenance for you. The Kubernetes masters are managed by Azure. You manage and maintain only the agent nodes. As a managed Kubernetes service, AKS is free - you pay for only the agent nodes within your clusters, not for the masters.
To learn more, see What is Azure Kubernetes Service?
This sample demonstrates running the WebLogic cluster on AKS using two domain home types. The instructions for each are self-contained and independent. This section lists the domain home source types recommended for use with AKS, along with some benefits of each. For complete details on domain home source types, see Choose a domain home source type.
Model in Image: running the WebLogic cluster on AKS with model in image offers the following benefits:
domainUIDand different configurations.
ConfigMap. Many such changes do not need to restart the entire domain for the change to take effect.
Domain on PV: running the WebLogic cluster on AKS with domain home on PV offers the following benefits:
Stop and Start an Azure Kubernetes Service (AKS) cluster using Azure CLI, as described in the azure docs. This allows you to optimize costs during your AKS cluster’s idle time. Don’t pay for running development clusters unless they are actively being used. You can pick up objects and cluster state right where you were left off.
For references to the relevant user documentation, see: