Coder Social home page Coder Social logo

appuio / component-appuio-cloud Goto Github PK

View Code? Open in Web Editor NEW
0.0 12.0 1.0 780 KB

APPUiO Cloud

Home Page: https://hub.syn.tools/appuio-cloud/index.html

License: BSD 3-Clause "New" or "Revised" License

Makefile 8.51% Jsonnet 77.54% Shell 0.94% Go 13.01%
commodore-component openshift4 appuio appuio-cloud vshn-project-apub

component-appuio-cloud's Introduction

Commodore Component: appuio-cloud

This is a Commodore Component for appuio-cloud.

This repository is part of Project Syn. For documentation on Project Syn and this component, see syn.tools.

Documentation

The rendered documentation for this component is available on the Commodore Components Hub.

Documentation for this component is written using Asciidoc and Antora. It can be found in the docs folder. We use the Divio documentation structure to organize our documentation.

Run the make docs-serve command in the root of the project, and then browse to http://localhost:2020 to see a preview of the current state of the documentation.

After writing the documentation, please use the make docs-vale command and correct any warnings raised by the tool.

Contributing and license

This library is licensed under BSD-3-Clause. For information about how to contribute, see CONTRIBUTING.

component-appuio-cloud's People

Contributors

anothertobi avatar bastjan avatar ccremer avatar corvus-ch avatar debakelorakel avatar glrf avatar haasad avatar happytetrahedron avatar kidswiss avatar renovate-bot avatar renovate[bot] avatar simu avatar thebiglee avatar tobru avatar vshn-renovate avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jandradap

component-appuio-cloud's Issues

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)

Schedule Cloud Agent on `master` nodes

We're in the process of transferring more and more policies to the cloud agent.

Cloud agent already processes every pod request to apply node selectors and warn about unfair ratios.

Kyverno runs on master nodes to improve webhook latency and possibly fewer fails on network issues. Cloud agent should be scheduled on those nodes too.

Add documentation on Kyverno Policies

Context

As part of this component we introduced more and more kyverno policies. Some of these policies are quite complex and some are triggered by other policies.

We should add documentation on all policies and especially how they interact with each other. What I would like to have:

  • Brief documentation on each policy (Might be able to auto-generate these)
  • Description on some of the workflows. e.g.:
    • Namespace creation (What is checked, what is generated ..)
    • Project creation (How does the project template and kyverno policy interact)
    • Namespace quotas

Add End-to-End tests for kyverno policies

Context

Our kyverno policies are starting to get very complex and when working on them we cannot easily tell if we do not introduce unintended side effects.

I would propose adding E2E tests by spinning up a local k8s cluster and testing our requirements on a high level.

Alternatives

Kyverno has the option to write unit tests, which we already use to an extend. While these can be helpful for single complex policies, they are not able to test the interaction between policies and they do little to support refactoring policies.

Add alert for unlabelled tenant namespaces

Context

We currently deploy the following alerting rule through the hierarchy:

parameters:
  openshift4_monitoring:
    rules:
      appuio-cloud:
        alert:UnlabelledTenantNamespace:
          expr: 'sum by (namespace) (kube_namespace_labels{namespace!~"default|cilium|syn.*|openshift.*|appuio-.*|kube-.*",label_appuio_io_organization=""}) > 0'
          for: "1m"
          annotations:
            message: |-
              Tenant namespace {{ $labels.namespace }} doesn't have the `appuio.io/organization` label.

Note that the namespace regex matches the list of reserved namespaces in the component defaults. We should configure this alerting rules through the component, and exclude namespaces based on the contents of parameter reservedNamespaces, cf.

reservedNamespaces:
kubernetes: ["default", "kube-*"]
openshift: openshift-*
projectsyn: syn-*
appuio: appuio-*
cilium: cilium*

Alternatives

Keep the config in the hiearchy

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.