cluster-tools

command module
v0.0.0-...-478314c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

cluster-tools

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

Ingress Generantor(cluster-tools ingress-gen)

A tool used to help users of kubefirst to explore their local installation under a internal LAN, sharing the cluster with multiple machines in this network.

Tested for release: 1.11

 docker run -it --rm -e GITHUB_AUTH_TOKEN="ghp_token" \
     cluster-tools  \
     /home/developer/app/cluster-tools ingress-gen \
     --host-domain mylocal.cloud.internal \
     --repo https://github.com/6za/gitops.git \
     --ip 10.10.10.5

Flag Description
--host-domain A domain to be used on your nodes /etc/hosts file to identify your k8s cluster host.
--repo Where your gitops repo is defined, only supported HTTPS at the moment.
--ip The kubernetes cluster host IP on your LAN(internal network)

Ngrok-AGENT

To install it, just add this yaml to your repository gitops registry folder.

File:" registry/ngrok-agent.yaml

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: ngrok-agent
  namespace: argocd
  annotations:    
    argocd.argoproj.io/sync-wave: "0"
spec: 
  project: default
  source:
    repoURL: 'https://6za.github.io/cluster-tools'
    targetRevision: 0.22.0
    chart: tunnel-agent
  destination:
    server: 'https://kubernetes.default.svc'
    namespace: ngrok-agent
  syncPolicy:
      automated:
        prune: true
        selfHeal: true
      syncOptions:
        - CreateNamespace=true
      retry:
        limit: 5
        backoff:
          duration: 5s
          maxDuration: 5m0s
          factor: 2

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL