Sign inSign up

akaimo/sample-controller

By akaimo

Updated almost 7 years ago

Image
0

180

akaimo/sample-controller repository overview

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"

Tag summary

Content type

Image

Digest

Size

39 MB

Last updated

almost 7 years ago

docker pull akaimo/sample-controller