Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/honeydipper/honeydipper
Basically, your Swiss army knife for systems engineering and operations. An event-driven, policy-based orchestration system, with a pluggable open architecture.
https://github.com/honeydipper/honeydipper
event-driven gcloud helm ifttt kubernetes operations orchestration terraform workflows
Last synced: 3 months ago
JSON representation
Basically, your Swiss army knife for systems engineering and operations. An event-driven, policy-based orchestration system, with a pluggable open architecture.
- Host: GitHub
- URL: https://github.com/honeydipper/honeydipper
- Owner: honeydipper
- License: mit
- Created: 2018-10-29T23:36:02.000Z (about 6 years ago)
- Default Branch: dev
- Last Pushed: 2024-04-12T18:17:15.000Z (7 months ago)
- Last Synced: 2024-04-13T17:26:07.707Z (7 months ago)
- Topics: event-driven, gcloud, helm, ifttt, kubernetes, operations, orchestration, terraform, workflows
- Language: Go
- Homepage:
- Size: 10 MB
- Stars: 59
- Watchers: 12
- Forks: 14
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Honeydipper
[![CircleCI](https://circleci.com/gh/honeydipper/honeydipper.svg?style=svg)](https://circleci.com/gh/honeydipper/honeydipper)
---
- [Overview](#overview)
- [Design](#design)
* [Vision](#vision)
* [Core Concepts](#core-concepts)
* [Features](#features)
+ [Embracing GitOps](#embracing-gitops)
+ [Pluggable Architecture](#pluggable-architecture)
+ [Abstraction](#abstraction)
- [More information](#more-information)
- [TODO](#todo)
- [License](#license)
- [Contributing](#contributing)## Overview
A IFTTT style event-driven, policy-based orchestration system that, is tailored towards SREs and DevOps workflows, and has a pluggable open architecture. The purpose is to fill the gap between the various components used in DevOps operations, to act as an orchestration hub, and to replace the ad-hoc integrations between the components so that the all the integrations can also be composed as code.The official web site is https://honeydipper.io
The documents and community repo references are also live at https://honeydipper.readthedocs.io/en/latest/
## Design
### Vision
Engineers often use various systems and components to build and deliver services based on software products. The systems and components need to interact with each other to achieve automation. There are usually integration solutions that when implemented the components and systems can operate seamlessly. However, the integrations are usually created or configured in ad-hoc fashion. When the number of systems/components increases, the number of integrations and complexity of the integrations sometimes become unmanageable. All the systems/components are entangled in a mesh like network (See below graph). A lot of redundant configuration or development work become necessary. It is so hard, sometimes even impossible, to switch from one tool to another.![Systems Ad-hoc Integration Mesh](./docs/DevOpsSystemsAd-hocIntegrationMesh.png)
Our vision is for Honeydipper to act as a central hub forming an ecosystem so that the various systems and components can be plugged in together and the integrations can be composed using rules, workflows and abstracted entities like systems, projects and organizations. With a centralized orchestration, redundant configurations and development work can be reduced or eliminated. With the abstraction layer, The underlying tools and solutions become interchangeable.
![Systems orchestrated with Honeydipper](./docs/DevOpsSystemsHoneydipper.png)
The core of Honeydipper is comprised of an event bus, and a rules/workflow engine. Raw events from various sources are received by corresponding event drivers, and then packaged in a standard format then published to the event bus. The rules/workflow engine picks up the event from the bus, and, based on the rules, triggers the actions or a workflow with multiple actions.
![Dipper Daemon](./docs/DipperDaemon.png)
### Core Concepts
In order for users to compose the rules, a few abstract concepts are introduced:* Driver (Event)
* Raw Event
* System (Trigger): an abstract entity that groups dipper events and some configurations, metadata together
* Dipper Event (DipperMessage): a data structure that contains information that can be used for matching rules and being processed following the rules
* Rules: if some Dipper Event on some system happens, then start the workflow of actions on certain systems accordingly
* Features: A feature is a set of functions that can be mapped to a running driver, for example, the `eventbus` feature is fulfilled by `redisqueue` driver
* Services: A service is a group of capabilities the daemon provides to be able to orchestrate the plugged systems through drivers
* Workflow: Grouping of the actions so they can be processed, sequentially, parallel, etc
* Dipper Action (DipperMessage): a data structure that contains information that can be used for performing an action
* System (Responder): an abstract entity that groups dipper actions, configurations, metadata together
* Raw Action
* Driver (Action)As you can see, the items described above follow the order or life cycle stage of the processing of the events into actions. Ideally, anything between the drivers should be composable, while some may tend to focusing on making various systems, Dipper event/actions available, others may want to focus on rules, workflows.
### Features
#### Embracing GitOps
Honeydipper should have little to no local configuration needed to be bootstrapped. Once bootstrapped, the system should be able to pull configurations from one or more git repo. The benefit is the ease of maintenance of the system and access control automatically provided by git repo(s). The system needs to watch the git repos, one way or another, for changes and reload as needed. For continuous operation, the system should be able to survive when there is a configuration error, and should be able to continue running with an older version of the configuration.#### Pluggable Architecture
Drivers make up an important part of the Honeydipper ecosystem. Most of the data mutations and actual work processes are handled by the drivers, including data decryption, internal communication, and interacting with external systems. Honeydipper should be able to extend itself through loading external drivers dynamically, and when configurations change, reload the running drivers hot or cold. There should be an interface for the drivers to delegate work to each other through RPCs.#### Abstraction
As mentioned in the concepts, one of Honeydipper's main selling points is abstraction. Events, actions can be defined traditionally using whatever characteristics provided by a driver, but also can be defined as an extension of another event/action with additional or override parameters. Events and actions can be grouped together into systems where data can be shared across. With this abstraction, we can separate the composing of complex workflows from defining low level event/action hook ups. Whenever a low level component changes, the high level workflow doesn't have to change, one only needs to link the abstract events with the new component native events.## More information
Please find the main document index at https://honeydipper.readthedocs.io/en/latest/
To install, See [Installation Guide](./docs/INSTALL.md).
For driver developers, please read this guide. [Honeydipper driver developer's guide](./docs/developer.md)
To get started on developing. See [How to setup local test environment](./docs/howtos/setup_local.md).
## TODO
* Python driver library
* API service
* Dashboard webapp
* Auditing/logging driver
* State persistent driver
* Repo jailing
* RBAC## License
Honeydipper is licensed under the [MIT License](./LICENSE).
## Contributing
Thank you for your interest! Please refer to the [Code of Conduct](./CODE_OF_CONDUCT.md) for guidance.