🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

tkestack.io/volume-decorator

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tkestack.io/volume-decorator

v0.0.0-20200715073035-6526340dbd8c
Go
Version published
Created
Source

volume-decorator

Controller that maintains more runtime information for Kubernetes volume(PVC), such as application identities, real usage, etc.

Features

  • Check volume availability when a workload with volumes created.
  • Collect workloads attached by of a volume.
  • Maintain realtime status of volumes, such as Pending, Expanding, etc.
  • Collect current mounted nodes of a volume.
  • Collect real usage bytes of a volume.

Prerequisites

These build instructions assume you have a Linux build environment with:

  • Docker
  • git
  • make
  • golang version > 1.11, with GO111MODULE=on
  • revive go get -u github.com/mgechev/revive

Build

To make the binary, just run:

make volume-decorator

The binary will be located at output/bin/volume-decorator.

Usage

volume-decorator can be deployed inside the kubernetes cluster:

  • Create the RBAC objects needed by volume-decorator:

    kubectl -f deploy/kubernetes/rbac.yaml
    
  • Create a deployment to run the volume-decorator:

    kubectl -f deploy/kubernetes/deployment.yaml
    

Examples

There are a large number of examples in examples.

FAQs

Package last updated on 15 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts