guillotine

command module
v0.0.0-...-0e66d46 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: MIT Imports: 7 Imported by: 0

README

Purpose

In Kubernetes Job, containers should be terminated to become successful. There are no straight way to terminate sidecar containers because Process can't send signal in another container(PID namespace is not supported).

guillotine manages the lifetime of child process to solve this problem.

Usage

GUILLOTINE_WATCHED_FILE=/tmp/job-success guillotine /cloud_sql_proxy -fuse

guillotine launch child process by args and poll the file exists periodically. When /tmp/job-success exists, cloud_sql_proxy is killed.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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