https://github.com/operator-framework/java-operator-plugins
Operator SDK Java Plugin
https://github.com/operator-framework/java-operator-plugins
Last synced: 3 months ago
JSON representation
Operator SDK Java Plugin
- Host: GitHub
- URL: https://github.com/operator-framework/java-operator-plugins
- Owner: operator-framework
- License: apache-2.0
- Created: 2020-12-04T19:05:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T00:38:02.000Z (3 months ago)
- Last Synced: 2025-04-02T04:07:32.290Z (3 months ago)
- Language: Go
- Homepage:
- Size: 264 KB
- Stars: 26
- Watchers: 7
- Forks: 25
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
## This repository is now deprecated and it is no longer actively maintained. Please use the provided Quarkus tools as described in the bootstraping instructions - https://github.com/quarkiverse/quarkus-operator-sdk?tab=readme-ov-file#bootstrapping-a-project.
# Java Operator Plugin
## Overview
This project is a component of the [Operator Framework][of-home], an
open source toolkit to manage Kubernetes native applications, called
Operators, in an effective, automated, and scalable way. Read more in
the [introduction blog post][of-blog].[Operators][operator-link] make it easy to manage complex stateful
applications on top of Kubernetes. However writing an operator today can
be difficult because of challenges such as using low level APIs, writing
boilerplate, and a lack of modularity which leads to duplication.## License
Operator SDK is under Apache 2.0 license. See the [LICENSE][license_file] file for details.
[license_file]:./LICENSE
[of-home]: https://github.com/operator-framework
[of-blog]: https://coreos.com/blog/introducing-operator-framework
[operator-link]: https://coreos.com/operators/### Build and Install the Operator-SDK
```
go mod tidy
make install
```Now that the plugin is integrated with the `operator-sdk` you can run the `init` command to generate the sample java operator
- Use the quarkus plugin flag
- Pick the domain and project name as prefered.```
operator-sdk init --plugins quarkus --domain xyz.com --project-name java-op
```Once the operator is scaffolded check for the following files
```
.
├── Makefile
├── PROJECT
├── pom.xml
└── src
└── main
├── java
└── resources
└── application.properties4 directories, 4 files
```