项目作者: scraly

项目描述 :
Kubectl plugin that add a random halloween emoji before your Kubernetes resources.
高级语言: Shell
项目地址: git://github.com/scraly/kubectl-halloween.git
创建时间: 2020-10-15T08:42:28Z
项目社区:https://github.com/scraly/kubectl-halloween

开源协议:Apache License 2.0

下载


kubectl-halloween - kubectl plugin halloween mode

Twitter
GitHub release


kubectl-halloween

General

halloween is a kubectl plugin that add a random halloween emoji before your Kubernetes resources.
It is written in BASH.

Install

Krew

This plugin is available through krew.

  1. Install Krew plugin manager for kubectl.
  2. Add scraly’s custom index kubectl krew index add scraly https://github.com/scraly/krew-index
  3. Install the plugin kubectl krew install scraly/halloween
  4. Run kubectl krew install halloween
  5. Update plugin with kubectl krew upgrade scraly/halloween

Binary

You can find the latest binaries in the releases section.
To install it, place it somewhere in your $PATH for kubectl to pick it up.

Note: If you build from source or download the binary, you’ll have to change the name of the binary to kubectl-halloween (- to _ in halloween)
due to the enforced naming convention for plugins by kubectl. More on this here.

Usage

kubectl halloween <resource_type>

  1. $ kubectl halloween deploy
  2. NAME READY UP-TO-DATE AVAILABLE AGE
  3. 🧟 httpbin 1/1 1 1 26h
  4. 🧟 my-nginx 3/3 3 3 44h
  5. 🧟 traefik 3/3 3 3 6d
  1. $ kubectl halloween po, deploy
  2. NAME READY STATUS RESTARTS AGE
  3. 🎃 pod/httpbin-c9cb9cbf6-r2gnc 1/1 Running 0 2d2h
  4. 🎃 pod/my-nginx-75897978cd-f28j9 1/1 Running 0 2d21h
  5. 🎃 pod/my-nginx-75897978cd-pt2dx 1/1 Running 0 44h
  6. 🎃 pod/my-nginx-75897978cd-w2bcg 1/1 Running 0 43h
  7. 🎃 pod/traefik-85854f965f-pb6j2 1/1 Running 1 174m
  8. NAME READY UP-TO-DATE AVAILABLE AGE
  9. 🎃 deployment.apps/httpbin 1/1 1 1 2d2h
  10. 🎃 deployment.apps/my-nginx 3/3 3 3 2d21h
  11. 🎃 deployment.apps/traefik 1/1 1 1 7d

TODO

  • Afficher des emojis differents selon le type de ressource en random

Changelog

See the CHANGELOG file for details.