Helm is a framework that helps you manage Kubernetes applications, and Helm charts help you define and install Helm applications into a Kubernetes cluster. The operator’s Helm chart is located in the
Important note for users of operator releases before 2.0
If you have an older version of the operator installed on your cluster, for example, a 1.x version or one of the 2.0 release
candidates, then you must remove it before installing this version. This includes the 2.0-rc1 version; it must be completely removed. You should remove the deployment (for example,
kubectl delete deploy weblogic-operator -n your-namespace) and the custom
resource definition (for example,
kubectl delete crd domain). If you do not remove
the custom resource definition, then you might see errors like this:
Error from server (BadRequest): error when creating "/scratch/output/uidomain/weblogic-domains/uidomain/domain.yaml": the API version in the data (weblogic.oracle/v2) does not match the expected API version (weblogic.oracle/v1
Helm manages releases (installations) of your charts. For detailed instructions on installing Helm, see https://github.com/helm/helm.
The operator Helm chart is pre-configured with default values for the configuration of the operator.
You can override these values by doing one of the following:
--valueoption on the Helm command line.
You can find out the configuration values that the Helm chart supports, as well as the default values, using this command:
$ helm inspect values kubernetes/charts/weblogic-operator
The available configuration values are explained by category in Operator Helm configuration values.
Helm commands are explained in more detail in Useful Helm operations.
The operator can expose an external REST HTTPS interface which can be accessed from outside the Kubernetes cluster. As with the operator’s internal REST interface, the external REST interface requires an SSL/TLS certificate and private key that the operator will use as the identity of the external REST interface (see below).
To enable the external REST interface, configure these values in a custom configuration file, or on the Helm command line:
externalRestIdentitySecretto the name of the Kubernetes
tls secretthat contains the certificates and private key.
externalRestHttpsPortto the external port number for the operator REST interface (defaults to
For more detailed information, see the REST interface configuration values.
For testing purposes, the WebLogic Server Kubernetes Operator project provides a sample script
that generates a self-signed certificate and private key for the operator external REST interface.
The generated certificate and key are stored in a Kubernetes
tls secret and the sample
script outputs the corresponding configuration values in YAML format. These values can be added to your custom YAML configuration file, for use when the operator’s Helm chart is installed.
The sample script should not be used in a production environment because typically a self-signed certificate for external communication is not considered safe. A certificate signed by a commercial certificate authority is more widely accepted and should contain valid host names, expiration dates, and key constraints.
For more detailed information about the sample script and how to run it, see the REST APIs.
The operator Helm chart includes the option of installing the necessary Kubernetes resources for Elastic Stack integration.
You are responsible for configuring Kibana and Elasticsearch, then configuring the operator Helm chart to send events to Elasticsearch. In turn, the operator Helm chart configures Logstash in the operator deployment to send the operator’s log contents to that Elasticsearch location.
As part of the Elastic Stack integration, Logstash configuration occurs for each deployed operator instance. You can use the following configuration values to configure the integration:
trueto enable the integration.
logStashImageto override the default version of Logstash to be used (
elasticSearchPortto override the default location where Elasticsearch is running (
elasticsearch2.default.svc.cluster.local:9201). This will configure Logstash to send the operator’s log contents there.
For more detailed information, see the Operator Helm configuration values.