GithubHelp home page GithubHelp logo

malek-zaag / gettingstartedjosdk Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 41 KB

☸️ Java-Operator-Sample is a Kubernetes operator written in Java that automates the management of ConfigMaps. This operator monitors Custom Resources (CR) and dynamically updates a ConfigMap with data specified in the CR.

License: MIT License

Java 90.61% Makefile 7.74% Dockerfile 1.64%

gettingstartedjosdk's Introduction

Project logo

Getting Started Operator

Status License


Getting started with Java Kubernetes Operators.

🧐 About

Java-Operator-Sample is a Kubernetes operator written in Java that automates the management of ConfigMaps. This operator monitors Custom Resources (CR) and dynamically updates a ConfigMap with data specified in the CR. By leveraging the Kubernetes API, Java-Operator-Sample ensures that your configuration data is always in sync, simplifying the management of application configurations within your Kubernetes cluster.

Moreover, several Go projects aim to make the Operator writing process easy:

  • operator-sdk and its command line tool help developers get started faster
  • client-go facilitates programmatic interactions with the Kubernetes API server
  • apimachinery and controller-runtime offer useful utilities and patterns

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • Kubectl Version: v1.29.1
  • Kind Version 0.22.0
  • Docker Version 25.0.3
  • Helm v3.15.2
  • Go Version go1.22.4

Installing

bootstrap the project :

mvn io.javaoperatorsdk:bootstrapper:[version]:create -DprojectGroupId=org.acme -DprojectArtifactId=getting-started

start the operator in your local cluster:

mvn exec:java -Dexec.mainClass="org.acme.Runner"

🔧 Running the tests

For the automated tests, we implemented some unit tests just for the sake of example:

mvn test

Break down into end to end tests

You can run this integration test to verify that your operator meets the requirements:

mvn verify

🎈 Usage

After deploy, you need only to edit the custom resources manifest.

🚀 Deployment

Just run the following command :)

make deploy

✍️ Authors

The project was an extension of java-opertar-sdk.

🎉 Acknowledgements

  • Hat tip to anyone whose code was used
  • Inspiration
  • References

gettingstartedjosdk's People

Contributors

malek-zaag avatar

Stargazers

 avatar

Watchers

 avatar

gettingstartedjosdk's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.