sample-controller

command module
v0.0.0-...-cda2c1b Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2019 License: MIT Imports: 29 Imported by: 0

README

sample-controller

A custom controller that deletes Jobs that have passed the specified time after completion.

Install

kubectl apply -f aartifacts/00-crds.yaml
kubectl apply -f artifacts/01-namespace.yaml
kubectl apply -f artifacts/02-controller.yaml

Configuration

apiVersion: samplecontroller.k8s.io/v1
kind: SampleResource
metadata:
  name: test
  namespace: default
spec:
  # It will be deleted after this time
  # Specify time as "s", "m", "h"
  time: "1m"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
apis/samplecontroller/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/samplecontroller/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/samplecontroller/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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