To simplify many aspects of running Oracle WebCenter Sites (WCS) application infrastructure, Oracle introduces WCS deployment on Kubernetes. Running Oracle WebCenter sites application container on Kubernetes cluster can help you with:
Using deployment scripts, you can build and run your WebCenter Sites containers, along with other applications to monitor your environment, above your Kubernetes Cluster and manage your domain scripts and files in the persistent volume.
Consider the following building tasks while setting up your Oracle WC Sites on Kubernetes:
Get WC Sites Image
WebCenter Sites container image are self-contained image based on 220.127.116.11 and above. You can install Oracle WebCenter Sites container images in the following ways:
For test and development purposes, you can create an Oracle WebCenter Sites image using the Dockerfile as described in Creating Oracle WebCenter Sites Docker Containers. To understand how patching and upgrading works with WCS Docker image read Patching WebCenter Sites in Kubernetes Environment.
Setting-up WCS on Kubernetes involves couple of steps starting from setting up Kubernetes and its tools for network and utility applications installation. You can follow the cheat sheet to set-up your environment. The WebCenter Sites domain can be configured with on-prem Oracle Database, Operator container etc. above the Kubernetes cluster or alternatively, you can use an external database such as DBCS, ATP etc.
Create and Set-up WCS Domain using WebLogic Operator
WebCenter sites on Kubernetes uses WebLogic operator to provide an improved user experience when automating operations such as: provisioning, lifecycle management, application versioning, product patching, scaling, and security. The operator is available in GitHub repository, and its corresponding images are also available to be pulled from GitHub Container Registry. You can find more details on how WebLogic operator supports different operations for domain management in WebCenter sites on Kubernetes and load balancing in Manage WebCenter Sites Cluster on Kubernetes with WebLogic Operator.
Set-up Load Balancer
To monitor servers and distribute network traffic among multiple servers, WebLogic Operator provide OOTB support for ingress-based load balancers such as Traefik, NGINX and Voyager. Steps to set-up and configure these ingress controllers are available in Github Documentation.
Monitor WCS Domain
You can monitor a WebCenter Sites domain using Prometheus and Grafana. Prometheus scrapes and export the metrics from the WC Sites domain instance using the WebLogic Monitoring Exporter. Runtime metrics for specific WCS instances are exposed by WebLogic Monitoring Exporter to the Prometheus and Grafana tools where Grafana provides better visual presentation and dashboards with multiple graphs. Steps to set-up WebLogic Monitoring Exporter are available in GitHub.
Process Server Logs
You can publish and analyse logs from the operator using products from the Elastic Stack. The Elastic Stack (ELK) consists of several open source products, including Elasticsearch, Logstash, and Kibana. Using the Elastic Stack with your log data, you can gain insight about your application's performance in near real time. You can follow GitHub Documentation to setup ELK stack for WCS environment. To learn more about processing logs and monitoring WCS domain, read this blog.
Above building steps will provide you the required information on all the building blocks of the environment and also, the scripts that are available for you to automate the process of setting up and configuring WCS environment across the cluster irrespective of the platform you are using. You can use any option such as:
You can consider using OKE (Oracle Kubernetes Engine) which is an OCI offering which uses Kubernetes for automating deployment, scaling, and management of containerized applications across clusters of hosts. You can refer WebCenter Sites on Oracle Container Engine for Kubernetes(OKE) blog for more information.
Our future plans include certification of WCS on Kubernetes on Open Shift. Please stay tuned for more information. You can follow WebCenter Sites on Kubernetes Guide to get started. We hope this announcement is helpful to those of you seeking to deploy WebCenter Sites on Kubernetes, and look forward to your feedback.