aws-sqs-worker-job-controller

command module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 13 Imported by: 0

README

AWS SQS Worker Job Controller

This is a custom controller for Kubernetes.
The controller aims at handling worker jobs for queueing.
A worker job is invoked by the controller with a message of the queue as args when successful dequeue.
Worker jobs are declared by CRD. The custom resources own Job resources.

Pod <- Job <- AWSSQSWorkerJob

Docker

$ docker pull ghcr.io/supercaracal/aws-sqs-worker-job-controller:latest

Kubernetes

$ kind create cluster
$ kubectl cluster-info --context kind-kind
$ make apply-manifests
$ kubectl port-forward service/localstack-service 4566:4566

LocalStack

$ make create-sleep-queue
$ make enqueue-sleep-task
$ make get-sleep-queue-attrs

Development

$ go get -u golang.org/x/lint/golint k8s.io/code-generator/...
$ make build
$ make run

See also

See also

See also

See also

See also

See also

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
apis/awssqsworkerjobcontroller/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.

Jump to

Keyboard shortcuts

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