Bug 250213 - [NEW PORT] sysutils/chaoskube: chaoskube periodically kills random pods in your Kubernetes cluster.
Summary: [NEW PORT] sysutils/chaoskube: chaoskube periodically kills random pods in yo...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Danilo G. Baio
URL: https://github.com/linki/chaoskube
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-09 02:56 UTC by Gabriel Dutra
Modified: 2020-11-03 00:12 UTC (History)
1 user (show)

See Also:
0xdutra: maintainer-feedback+


Attachments
Chaoskube (15.79 KB, application/x-shar)
2020-10-09 02:56 UTC, Gabriel Dutra
0xdutra: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Dutra 2020-10-09 02:56:42 UTC
Created attachment 218621 [details]
Chaoskube

New port: chaoskube

chaoskube periodically kills random pods in your Kubernetes cluster.

* portlint ok

Tested and running correctly on

FreeBSD CURRENT amd64
FreeBSD CURRENT i386

FreeBSD 12.1-RELEASE amd64
FreeBSD 12.1-RELEASE i386

FreeBSD 11.3-RELEASE amd64
FreeBSD 11.3-RELEASE i386

Poudriere

http://poudriere.bs2.com.br/poudriere/data/latest-per-pkg/chaoskube/0.21.0/
Comment 1 commit-hook freebsd_committer 2020-11-03 00:12:30 UTC
A commit references this bug:

Author: dbaio
Date: Tue Nov  3 00:11:51 UTC 2020
New revision: 553935
URL: https://svnweb.freebsd.org/changeset/ports/553935

Log:
  Add sysutils/chaoskube

  Chaoskube periodically kills random pods in your Kubernetes cluster.

  Running it will kill a pod in any namespace every 10 minutes by default.

  $ chaoskube
  INFO[0000] starting up            dryRun=true interval=10m0s version=v0.21.0
  INFO[0000] connecting to cluster  master="https://kube.you.me" serverVersion=v1
  INFO[0000] setting pod filter     annotations= labels= minimumAge=0s namespaces=
  INFO[0000] setting quiet times    daysOfYear="[]" timesOfDay="[]" weekdays="[]"
  INFO[0000] setting timezone       location=UTC name=UTC offset=0
  INFO[0001] terminating pod        name=kube-dns-v20-6ikos namespace=kube-system
  INFO[0601] terminating pod        name=nginx-701339712-u4fr3 namespace=chaoskube
  [...]

  chaoskube allows to filter target pods by namespaces, labels, annotations and
  age as well as exclude certain weekdays, times of day and days of a year from
  chaos.

  WWW: https://github.com/linki/chaoskube

  PR:		250213
  Submitted by:	Gabriel Dutra <0xdutra@gmail.com>

Changes:
  head/sysutils/Makefile
  head/sysutils/chaoskube/
  head/sysutils/chaoskube/Makefile
  head/sysutils/chaoskube/distinfo
  head/sysutils/chaoskube/pkg-descr
Comment 2 Danilo G. Baio freebsd_committer 2020-11-03 00:12:49 UTC
Committed, thanks!