GithubHelp home page GithubHelp logo

6za / cluster-tools Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 126 KB

A set of tools to add in a k8s cluster to give some extra powers to it.

Home Page: https://6za.github.io/cluster-tools/

License: Apache License 2.0

Go 83.75% Dockerfile 11.61% Shell 4.64%

cluster-tools's Introduction

cluster-tools's People

Contributors

6za avatar

Watchers

 avatar

cluster-tools's Issues

Feat: add support to slack webhook

Add support:

  • Allow multiple ngrok agents to be deployed
  • Allow to be passed the internal URL to be used for the tunnel, to be used to point to a internal service to receive slack events
  • Allow to be passed a flag to allow to set if the webhook is for "github webhooks" or "slack webhook"
  • Investigate how to update via API slack Control Plane with the new webhook address.

Create a CLI Command to generate Ingress artifacts

Problem

Generate these files for new ingress routes for a k3d cluster ingress rules.

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: argo-server-2
  namespace: argo
spec:
  rules:
  - host: argo.demo.internal
    http:
      paths:
      - backend:
          service:
            name: argo-server
            port:
              number: 2746
        path: /
        pathType: Prefix
  tls:
  - hosts:
    - argo.demo.internal
    secretName: argo-tls

Solution

  • CLI that generate ingress artifacts for a list of applications, and commit them on a gitops repo.
cluster-tools -host-domain `demo.internal` -apps "atlantis,minio,minio-console,vault,chartmuseum,argo,argocd,kubefirst-console" -repo https://github.com/kubefirst/kubefirst.git --path registry
  • It will create an ingress application and add to it the folder with the ingress alternative routes.

CLI Internals

  • Generate artifacts based on parameters provided
  • Commit new application to gitops repo
  • Use a GITHUB_TOKEN env variable for it

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.