Coder Social home page Coder Social logo

haondec / otomi-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linode/apl-core

0.0 0.0 0.0 212.99 MB

Self-hosted DevOps PaaS for Kubernetes

Home Page: https://otomi.io

License: Apache License 2.0

Shell 2.84% JavaScript 0.23% Python 0.37% TypeScript 13.28% Makefile 0.05% Smarty 12.35% Dockerfile 0.45% Open Policy Agent 3.55% Mustache 66.88%

otomi-core's Introduction


Self-hosted DevOps Platform for Kubernetes

Releases Docker pulls Build status Last commit License Contributions Website otomi.io Follow us on Twitter

Otomi integrated applications

Otomi turns any Kubernetes cluster into a DevOps Platform to provide paved roads from code to production

How Otomi helps

DevOps Teams - With self-service, automation and visibility to let them take full-service ownership

  • Create private Git repositories
  • Build OCI compliant images from application code and store them in a private registry
  • Deploy containerized workloads using a catalog with pre-filled golden path templates
  • Automatically update container images of workloads
  • Publicly expose applications
  • Get instant access to logs, metrics and traces, vulnerabilities, threads and policy violations
  • Configure network policies, response headers and CNAMEs
  • Manage secrets

Platform teams - To setup a Kubernetes-based platform for DevOps teams and provide them a paved road to production

  • Create a platform profile and deploy to any Kubernetes cluster
  • Onboard DevOps teams in a comprehensive multi-tenant setup and allow them to take full ownership over their applications
  • Get all the required capabilities in an integrated and automated way
  • Ensure governance with security policies
  • Implement zero-trust networking
  • Change the desired state of the platform based on Configuration-as-Code
  • Support multi- and hybrid cloud scenarios
  • Prevent cloud provider lock-in
  • Implement full observability
  • Create Golden path templates and offer them to DevOps teams through a catalog

Getting started

Helm

To install Otomi, make sure to have a K8s cluster running with at least:

  • Version 1.25, 1.26 or 1.27
  • A node pool with at least 8 vCPU and 16GB+ RAM (more resources might be required based on the activated capabilities)
  • Calico CNI installed (or any other CNI that supports K8s network policies)
  • A default storage class configured
  • When using the custom provider, make sure the K8s LoadBalancer Service created by Otomi can obtain an external IP (using a cloud load balancer or MetalLB)

NOTE: Install Otomi with DNS to unlock it's full potential. Check otomi.io for more info.

Add the Helm repository:

helm repo add otomi https://otomi.io/otomi-core
helm repo update

and then install the Helm chart:

helm install otomi otomi/otomi \
--set cluster.name=$CLUSTERNAME \
--set cluster.provider=$PROVIDER # use 'azure', 'aws', 'google', 'digitalocean', 'ovh', 'vultr', 'scaleway', 'civo', or 'custom' for any other cloud or onprem K8s

When the installer job is completed, follow the activation steps.

Platform architecture

Otomi platform

Self-service portal and Cloud Shell

The self-service portal (Otomi Console) offers seamless user experience for DevOps teams and platform administrators. Platform administrators can use Otomi Console to enable and configure platform capabilities and onboard development teams. DevOps teams can use Otomi Console to build images, deploy applications, expose services, configure CNAMEs, configure network policies and manage secrets. Otomi Console also provided direct and context aware access to platform capabilities like code repositories, registries, logs, metrics, traces, dashboards, etc. Next to the web based self-service, both teams and admins can start a Cloud Shell and run CLI commands.

Desired state store

When Otomi is installed, the desired state of the platform is stored in the otomi/values Git repository. Changes made through the Console will be reflected in the repository.

Golden path templates Catalog

The otomi/charts Git repo includes a set of build-in Helm charts that can be used to create workloads in the Console. You can also add your own charts and offer them to the teams on the platform.

Control plane

All changes made through the Console are validated by the control plane (otomi-api) and then committed in Git. This will automatically trigger the platform to synchronize the desired state to the actual state of the platform based on GitOps.

Automation

The automation (operator) is used to synchronize desired state with the state of applications like Keycloak, Harbor and Gitea.

Capabilities

Otomi offers a set of Kubernetes applications for all the required platform capabilities. Core applications are always installed, optional applications can be activated. When an application is activated, the application will be installed based on a configuration profile that contains defaults, best-practices and platform integrations. Default configuration can be adjusted using the Console.

Core Applications (that are always installed):

  • Istio: The service mesh framework with end-to-end transit encryption
  • Argo CD: Declarative Continuous Deployment
  • Keycloak: Identity and access management for modern applications and services
  • Cert Manager - Bring your own wildcard certificate or request one from Let's Encrypt
  • Nginx Ingress Controller: Ingress controller for Kubernetes
  • External DNS: Synchronize exposed ingresses with DNS providers
  • Tekton Pipeline: K8s-style resources for declaring CI/CD pipelines
  • Tekton Triggers: Trigger pipelines from event payloads
  • Tekton dashboard: Web-based UI for Tekton Pipelines and Tekton Triggers
  • Gitea: Self-hosted Git service
  • Cloudnative-pg: Open source operator designed to manage PostgreSQL workloads
  • Paketo build packs: Cloud Native Buildpack implementations for popular programming
  • Kaniko: Build container images from a Dockerfile

Optional Applications (that you can activate to compose your ideal platform):

  • Velero: Back up and restore your Kubernetes cluster resources and persistent volumes
  • Knative: Deploy and manage serverless workloads
  • Drone: Continuous integration platform built on Docker
  • Prometheus: Collecting container application metrics
  • Grafana: Visualize metrics, logs, and traces from multiple sources
  • Grafana Loki: Collecting container application logs
  • Harbor: Container image registry with role-based access control, image scanning, and image signing
  • HashiCorp Vault: Manage Secrets and Protect Sensitive Data
  • OPA/Gatekeeper: Policy-based control for cloud-native environments
  • Jaeger: End-to-end distributed tracing and monitor for complex distributed systems
  • Kiali: Observe Istio service mesh relations and connections
  • Minio: High performance Object Storage compatible with Amazon S3 cloud storage service
  • Trivy: Kubernetes-native security toolkit
  • Thanos: HA Prometheus setup with long term storage capabilities
  • Falco: Cloud Native Runtime Security
  • Opencost: Cost monitoring for Kubernetes language ecosystems
  • Grafana Tempo: High-scale distributed tracing backend
  • OpenTelemetry: Instrument, generate, collect, and export telemetry data to help you analyze your software’s performance and behavior

Supported providers

Otomi can be installed on any Kubernetes cluster. At this time, the following providers are supported:

Otomi Projects

Otomi open source consists out of the following projects:

  • Otomi Core (this project): The heart of Otomi
  • Otomi Tasks: Autonomous jobs orchestrated by Otomi Core
  • Otomi Clients: Factory to build and publish openapi clients used in by otomi-tasks

Documentation

Check out the dev docs index for developer documentation or go to otomi.io for more detailed documentation.

Contribution

If you wish to contribute please read our Contributor Code of Conduct and Contribution Guidelines.

If you want to say thank you or/and support the active development of Otomi:

  • Star the Otomi project on Github
  • Feel free to write articles about the project on dev.to, medium or on your personal blog and share your experiences

This project exists thanks to all the people who have contributed

License

Otomi is licensed under the Apache 2.0 License.

otomi-core's People

Contributors

j-zimnowoda avatar morriz avatar srodenhuis avatar k8sbee avatar ani1357 avatar eldermatt avatar mojtabaimani avatar dunky13 avatar githubcdr avatar staticvoid255 avatar bartusz01 avatar ferruhcihan avatar rawc0der avatar caslubbers avatar diabhey avatar renovate[bot] avatar dependabot[bot] avatar renovate-bot avatar merll avatar dennisvankekem avatar martijncalker avatar ben10k avatar k7o avatar leiarenee avatar oshah97 avatar panpan0000 avatar 0-sv avatar tre7roja avatar

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.