Giter Site home page Giter Site logo

kubefirst-watcher's Introduction

GitOps Infrastructure & Application Delivery Platform

Install |  Twitter |  LinkedIn |  Slack |  Blog


Kubefirst CLI

The Kubefirst CLI creates instant GitOps platforms that integrate some of the best tools in cloud native from scratch in minutes.

Each of our platforms have install guides that detail the prerequesites, commands, and resulting platform that you'll receive.

In beta:

Overview

https://docs.kubefirst.io

kubefirst architecture diagram

Feed K-Ray

Feed K-Ray a GitHub star ⭐ above to bookmark our project and keep K-Ray happy!!

Star History Chart

Contributions

We want to thank all of our contributors who created a pull request to fix a bug, add a new feature or update the documentation. We also value a lot contributions in the form of bug reporting or feature requests: it helps us continuously make kubefirst better. Lastly, helping the users in our Slack community, or helping us share the love on social media are also ways in which you support us tremendously. We know your time is valuable, and we can't thank you enough for everything you do: we wouldn't be where we are without you!

A special thanks to DrummyFloyd who, in addition to adding support for k3s, is a champion all around within our community and the kubefirst project 🫶

If you want to help in any capacity, check CONTRIBUTING.md.

kubefirst-watcher's People

Contributors

6za avatar fharper avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kubefirst-watcher's Issues

add "delay" to ready status to be marked as success

Goal

  • Add support to a delay property on high level CRD, post-all conditions are met
  • Add a warning in the logs if delay is bigger the execution timeout
  • Log that all conditions are met, and when the delay logic is triggered

Watcher - Add support to statefulset type

  • Add support to statefulsets
    exit: 0
    timeout: 300
    statefulsets:
      - namespace:  vault
        name: vault
        replicas: 1 # (current state)
        labels:
          app.kubernetes.io/instance: vault

It should match:

kubectl  --kubeconfig ~/k3dconfig describe statefulset -n vault vault
Name:               vault
Namespace:          vault
CreationTimestamp:  Sat, 17 Dec 2022 13:37:34 -0300
Selector:           app.kubernetes.io/instance=vault,app.kubernetes.io/name=vault,component=server
Labels:             app.kubernetes.io/instance=vault
                    app.kubernetes.io/managed-by=Helm
                    app.kubernetes.io/name=vault
                    argocd.argoproj.io/instance=vault
Annotations:        <none>
Replicas:           1 desired | 1 total
Update Strategy:    OnDelete
Pods Status:        1 Running / 0 Waiting / 0 Succeeded / 0 Failed
Pod Template:
  Labels:           app.kubernetes.io/instance=vault
                    app.kubernetes.io/name=vault
                    component=server
                    helm.sh/chart=vault-0.22.0

Watcher - Accept nameless pods

Allow the following yaml to return any pods of the namespace that match the labels as match. USed for deployments and other complex types.

    exit: 0
    timeout: 300
    pods:
      - namespace:  atlantis
        phase: Running      
        labels:
          app: atlantis

For example:

Name:             atlantis-0
Namespace:        atlantis
Priority:         0
Service Account:  atlantis
Node:             k3d-kubefirst-server-0/172.30.0.3
Start Time:       Sat, 17 Dec 2022 13:37:52 -0300
Labels:           app=atlantis
                  controller-revision-hash=atlantis-77488dff85
                  release=atlantis
                  statefulset.kubernetes.io/pod-name=atlantis-0
Annotations:      <none>
Status:           Running
...

Watcher - Add support to Deployments type

  • Add support to deployments
    exit: 0
    timeout: 300
    deployments:
      - namespace:  github-runner
        name: actions-runner-contoller-actions-runner-controller
        replicas: 1 # (current state)
        ready: true # (unavailable = 0 and available == desired) Optional
        labels:
          app.kubernetes.io/instance=actions-runner-contoller

It should match:

kubectl  --kubeconfig ~/k3dconfig describe deployments  -n github-runner   actions-runner-contoller-actions-runner-controller
Name:                   actions-runner-contoller-actions-runner-controller
Namespace:              github-runner
CreationTimestamp:      Sat, 17 Dec 2022 13:37:34 -0300
Labels:                 app.kubernetes.io/instance=actions-runner-contoller
                        app.kubernetes.io/managed-by=Helm
                        app.kubernetes.io/name=actions-runner-controller
                        app.kubernetes.io/version=0.25.2
                        argocd.argoproj.io/instance=actions-runner-contoller
                        helm.sh/chart=actions-runner-controller-0.20.2
Annotations:            deployment.kubernetes.io/revision: 1
Selector:               app.kubernetes.io/instance=actions-runner-contoller,app.kubernetes.io/name=actions-runner-controller
Replicas:               1 desired | 1 updated | 1 total | 1 available | 0 unavailable
StrategyType:           RollingUpdate
MinReadySeconds:        0
RollingUpdateStrategy:  25% max unavailable, 25% max surge
Pod Template:
  Labels:           app.kubernetes.io/instance=actions-runner-contoller
                    app.kubernetes.io/name=actions-runner-controller
  Service Account:  actions-runner-contoller-actions-runner-controller

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.