Giter Club home page Giter Club logo

primaza's Introduction

Checks: nightly tests security checks

Discuss: Static Badge

๐Ÿชข Primaza

Primaza is a multi-cluster Service Consumption Framework. Primaza is namespace-scoped and does not required any resource at cluster level other than its CRDs.

With Primaza you can create Primaza Tenants and link namespaces from multiple clusters. These namespaces can be configured to allow primaza to Discover Services and/or Bind Services to applications.

Tenants are isolated and can be logically separated in Environments. Environments are isolated from a point of view of a non-admin user. Finally, services can be configured to be shared across Environments.

Please refer to ๐Ÿ“˜ The Primaza Book for a detailed explanation of internals and for Tutorials.

For an easy setup of a Primaza tenant, please take a look at primazactl.

image

Contributing and Code of Conduct

Discussions on new features happens in the ๐Ÿ—จ๏ธ Repository's Discussions, feel free to contribute.

Also, refer to CONTRIBUTING.md and CODE_OF_CONDUCT.md for contribution rules.

primaza's People

Contributors

baijum avatar dependabot[bot] avatar dperaza4dustbit avatar fbm3307 avatar filariow avatar kartikey-star avatar mmulholla avatar pmacik avatar sadlerap avatar

primaza's Issues

Implement ClusterEnvironment healthcheck

Story: APPSVC-1282

Feature: Worker cluster healthchecks

    Scenario: When worker cluster becomes reachable, ClusterEnvironment goes online

        Given Primaza Cluster "primaza-main" is running
        And   Worker Cluster "primaza-worker" for "primaza-main" is running
        And   On Primaza Cluster "primaza-main", Worker "primaza-worker"'s ClusterContext secret "primaza-kw" is published
        And   On Primaza Cluster "primaza-main", Resource is created
        """
        apiVersion: primaza.io/v1alpha1
        kind: ClusterEnvironment
        metadata:
            name: primaza-worker
            namespace: primaza-system
        spec:
            environmentName: dev
            clusterContextSecret: primaza-kw
            applicationNamespaces:
            - applications
        """
        And  On Primaza Cluster "primaza-main", ClusterEnvironment "primaza-worker" state is "Offline"
        When Clusters "primaza-main" and "primaza-worker" can communicate
        Then On Primaza Cluster "primaza-main", ClusterEnvironment "primaza-worker" state will eventually move to "Online"
        And  On Primaza Cluster "primaza-main", ClusterEnvironment "primaza-worker" last status condition has Type "Online"

    Scenario: When worker cluster is no more reachable, ClusterEnvironment goes offline

        Given Primaza Cluster "primaza-main" is running
        And   Worker Cluster "primaza-worker" for "primaza-main" is running
        And   Clusters "primaza-main" and "primaza-worker" can communicate
        And   On Primaza Cluster "primaza-main", Worker "primaza-worker"'s ClusterContext secret "primaza-kw" is published
        And   On Primaza Cluster "primaza-main", Resource is created
        """
        apiVersion: primaza.io/v1alpha1
        kind: ClusterEnvironment
        metadata:
            name: primaza-worker
            namespace: primaza-system
        spec:
            environmentName: dev
            clusterContextSecret: primaza-kw
            applicationNamespaces:
            - applications
        """
        And  On Primaza Cluster "primaza-main", ClusterEnvironment "primaza-worker" state will eventually move to "Online"
        When Clusters "primaza-main" and "primaza-worker" can NOT communicate
        Then On Primaza Cluster "primaza-main", ClusterEnvironment "primaza-worker" state will eventually move to "Offline"
        And  On Primaza Cluster "primaza-main", ClusterEnvironment "primaza-worker" last status condition has Type "Offline"

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.