MCPcopy Index your code
hub / github.com/OpenLiberty/open-liberty-operator

github.com/OpenLiberty/open-liberty-operator @1.6.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.6.2 ↗ · + Follow
985 symbols 2,118 edges 38 files 622 documented · 63%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build Status Go Report Card

Open Liberty Operator

The Open Liberty Operator can be used to deploy and manage applications running on Open Liberty or WebSphere Liberty into Kubernetes-based platforms, such as Red Hat OpenShift. You can also perform Day-2 operations such as gathering traces and dumps using the operator.

If there's a certain functionality you would like to see or a bug you would like to report, please use our issues tab to get in contact with us.

Operator Installation

You can install the Open Liberty Operator directly via kubectl commands or assisted by the Operator Lifecycle Manager.

Use the instructions for one of the releases to directly install this Operator into a Kubernetes cluster.

Overview

The architecture of the Open Liberty Operator follows the basic controller pattern: the Operator container with the controller is deployed into a Pod and listens for incoming resources with Kind: OpenLibertyApplication.

In addition, Open Liberty Operator makes it easy to perform Day-2 operations on an instance of Open Liberty server running inside a Pod: - Gather server traces using resource Kind: OpenLibertyTrace - Generate server dumps using resource Kind: OpenLibertyDump - Gather server performance data using resource Kind: OpenLibertyPerformanceData

Documentation

For information on how to use the Open Liberty Operator, see the documentation.

License

Usage is provided under the EPL 2.0 license. See LICENSE for the full details.

Contributing

We welcome all contributions to the Open Liberty Operator project. Please see our Contributing guidelines.

Extension points exported contracts — how you extend this code

CustomMatcher (Interface)
CustomMatcher is an interface for matching apps that satisfy a custom logic [1 implementers]
internal/controller/enqueue_with_matcher.go
LeaderTrackerMetadata (Interface)
(no doc) [2 implementers]
utils/leader_tracker.go
PodInjectorClient (Interface)
(no doc) [1 implementers]
utils/utils.go
LeaderTrackerMetadataList (Interface)
(no doc) [2 implementers]
utils/leader_tracker.go

Core symbols most depended-on inside this repo

GetLeafIndex
called by 54
utils/tree/tree.go
createEnvVarSSO
called by 26
utils/utils.go
ParseDecisionTree
called by 25
utils/tree/tree.go
Update
called by 20
internal/controller/enqueue_with_matcher.go
GetReferences
called by 19
api/v1/openlibertyapplication_types.go
GetName
called by 17
utils/leader_tracker.go
GetType
called by 14
api/v1/openlibertyapplication_types.go
writeResponse
called by 13
utils/socket/pod_injector.go

Shape

Method 615
Function 250
Struct 107
TypeAlias 9
Interface 4

Languages

Go100%

Modules by API surface

api/v1/openlibertyapplication_types.go188 symbols
api/v1beta2/openlibertyapplication_types.go132 symbols
api/v1/zz_generated.deepcopy.go104 symbols
utils/utils.go93 symbols
api/v1beta2/zz_generated.deepcopy.go64 symbols
utils/leader_tracker_test.go28 symbols
utils/leader_tracker.go26 symbols
api/v1/openlibertytrace_types.go26 symbols
internal/controller/password_encryption_key_sharing.go25 symbols
api/v1beta2/openlibertytrace_types.go25 symbols
utils/tree/tree.go24 symbols
internal/controller/semeru_compiler.go22 symbols

For agents

$ claude mcp add open-liberty-operator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact