Power-ups for the daily DevOps life

DevOps Loop Power-Ups

Requirements

  • Connected Kubernetes cluster. Some features need support for LoadBalancer services

  • Permission to list, create and delete resources on your cluster or at least one namespace

  • Some features need a local running docker engine (e.g. Docker Desktop)

  • Some networking features will ask for root/sudo permissions

Install

Homebrew

brew install adrianliechti/tap/loop

Current State

  • Highly in Progress
  • Commands, arguments and output will change

Feature & Usage

Cluster Config

Import and merge a Kubernetes config file

loop config import -f path/to/config

List available config contexts or switch default context

loop config context [<context>]

List available namespaces or set default namespace

loop config namespace [<namespace>]

Applications

List applications on cluster or specified namespace

loop app list [--namespace <namespace>]

namespace: application namespace

Get config information about an application

loop app info --name <namespace> [--namespace <namespace>]

namespace: application namespace

Follow logs of all application's container(s)

loop app logs --name <namespace> [--namespace <namespace>]

namespace: application namespace

Application Utilities

Count lines of source code and comments in the current workdir

loop app cloc

Create a runnable app image from source code in workdir. The command useses Cloud Native Buildpacks and the Google Builder & Buildpacks by default

loop pack --image <image> [--builder <builder image>]

image:   application image
builder: builder image

Cluster Services Access

Catapult allows you to connect to cluster services using their cluster network address or dns names. This works by temporarly modifing your hosts file (/etc/hosts) and start multiple port forwardings.

loop catapult [--namespace <namespace>] [--scope <scope>]

namespace: forward only services of specified namespace
scope:     scope the namespace for DNS resolutions

Cluster Network Access

This commands starts a lightwight VPN using sshuttle to route traffic to your cluster subnet.

loop connect [--namespace <namespace>]

namespace: namespace to create temporary helper in (default: default)

Kubernetes Dashboard

Kubernetes Dashboard is a popular web-based admin UI. This command allows to temporary start a preconfigured local instance to manage your cluster.

loop dashboard

Remote Docker Daemon

Temporary start a remote Docker daemon to leverage additional compute power or build complex amd64 images on a M1 processsor (as a real world usecase).

loop docker connect [--namespace <namespace>]

namespace: namespace to create temporary daemon in (default: default)

Docker Image Analyzers & Utilities

Browse an explore image layers using dive

docker browse --image <image>[:<tag>]

Lint images for security and configuration issues using dockle

docker lint --image <image>[:<tag>]

Export Dockerfiles from images using whaler

docker analyze --image <image>[:<tag>]

Scan for vulnerability and configuration issue using trivy

docker scan --image <image>[:<tag>]
Similar Resources

The Oracle Database Operator for Kubernetes (a.k.a. OraOperator) helps developers, DBAs, DevOps and GitOps teams reduce the time and complexity of deploying and managing Oracle Databases

The Oracle Database Operator for Kubernetes (a.k.a. OraOperator) helps developers, DBAs, DevOps and GitOps teams reduce the time and complexity of deploying and managing Oracle Databases. It eliminates the dependency on a human operator or administrator for the majority of database operations.

Dec 14, 2022

DevOps With Kubernetes exercise

todo-project [https://github.com/pasiol/todo-project/tree/1.05] Exercise 1.06 pasiol@lab:~$ k3d cluster delete INFO[0000] Deleting cluster 'k3s-defaul

Dec 8, 2021

Kubernetes operator for the Azure DevOps pipe-line agents

adoagent-operator Kubernetes operator for the Azure DevOps pipe-line agents init.sh #!/bin/bash # docker and github repo username export USERNAME='ba

Nov 11, 2021

This is a cloud-native application that focuses on the DevOps area.

KubeSphere DevOps integrates popular CI/CD tools, provides CI/CD Pipelines based on Jenkins, offers automation toolkits including Binary-to-Image (B2I

Jan 5, 2023

Kubernetes operator for the Azure DevOps self-hosted pipe-line agent.

Kubernetes operator for the Azure DevOps self-hosted pipe-line agent. The operator adds an extra layer of configuration on top of the default images like: proxy settings, pool settings and auth keys.

Sep 1, 2022

Repositório base p/ tema12 da trilha de DevOps.

tema12--Jenkins Informações Repositório base: https://github.com/brazdore/ilegra-devops-tema12.git Requisitos Jenkins Docker Packer JDK 11 ou maior Pr

Dec 21, 2021

DevOps Roadmap 2022

Want to learn DevOps the right way in 2022 ? You have come to the right place I have created the complete DevOps roadmap that anyone can follow and be

Dec 28, 2022

Git-based DevOps PaaS: Project, Pipeline, Kubernetes, ServiceMesh, MutilCloud

gitctl 一体化 DevOps 平台 从代码到应用的一体化编排,应用全生命周期管理,多云托管。 gitctl 会有哪些功能? git 代码托管 projec

Oct 24, 2022

Fluxcdproj - The Ultimate Swiss Army knife for DevOps, Developers and Platform Engineers

Fluxcdproj -  The Ultimate Swiss Army knife for DevOps, Developers and Platform Engineers

Fluxcdproj - The Ultimate Swiss Army knife for DevOps, Developers and Platform Engineers

Feb 1, 2022
Prometheus exporter for IAAS daily billing information
Prometheus exporter for IAAS daily billing information

Multi-iaas-daily-billing-exporter Multi-iaas-daily-billing-exporter enables to collect, unify and expose daily billing from AWS and GCP providers. The

Dec 14, 2021
Automatically power off system when network interface is down

passer A tiny tool can automatically power off system when network interface is

Apr 23, 2022
Implementations of Power VS Provider for the OpenShift machine-api

Machine API Provider Power VS This repository contains implementations of Power VS Provider for the OpenShift machine-api. This provider runs as a mac

Jan 31, 2022
Kepler (Kubernetes-based Efficient Power Level Exporter) uses eBPF to probe energy related system stats and exports as Prometheus metrics
Kepler (Kubernetes-based Efficient Power Level Exporter) uses eBPF to probe energy related system stats and exports as Prometheus metrics

kepler Kepler (Kubernetes Efficient Power Level Exporter) uses eBPF to probe energy related system stats and exports as Prometheus metrics Architectur

Dec 26, 2022
Supporting your devops by shortening your strings using common abbreviations and clever guesswork

abbreviate Shorten your strings using common abbreviations. Supported by Tidelift Motivation This tool comes out of a frustration of the name of resou

Dec 14, 2022
k6 is a modern load testing tool for developers and testers in the DevOps era.
k6 is a modern load testing tool for developers and testers in the DevOps era.

k6 is a modern load testing tool, building on our years of experience in the load and performance testing industry. It provides a clean, approachable scripting API, local and cloud execution, and flexible configuration.

Jan 8, 2023
This is a cloud-native application that focuses on the DevOps area.

Get started Install KubeSphere via kk (or other ways). This is an optional step, basically we need a Kubernetes Cluster and the front-end of DevOps. I

Jan 5, 2023
sail is an operation framework based on Ansible/Helm. sail follows the principles of Infrastructure as Code (IaC), Operation as Code (OaC), and Everything as Code. So it is a tool for DevOps.

sail 中文文档 sail is an operation framework based on Ansible/Helm. sail follows the principles of Infrastructure as Code (IaC), Operation as Code (OaC),a

Dec 16, 2021
A Kubernetes Operator, that helps DevOps team accelerate their journey into the cloud and K8s.
A Kubernetes Operator, that helps DevOps team accelerate their journey into the cloud and K8s.

A Kubernetes Operator, that helps DevOps team accelerate their journey into the cloud and K8s. OAM operator scaffolds all of the code required to create resources across various cloud provides, which includes both K8s and Non-K8s resources

Nov 30, 2021
Zeus - A Devops Automation Tool

With this tool we are trying generalize and minimize devops reperating task while trying to encourage shared responsibility model acorss devloper teams.

May 31, 2022