Skip to content

liampulles/hoke

Repository files navigation

Photograph of a woman lying on a diagonal plane.
Fred Ward as Hoke Moseley in Miami Blues (1990)

Hoke

A health check app for k8s init containers.

StatusUsageContributingLicense

[GitHub release] [Build Status] GitHub go.mod Go version [Go Report Card] [License]

Status

Hoke is currently in heavy development.

Usage

Either download a release from the releases page, or clone and run make install, and execute:

hoke https://github.com

Or, run the docker image:

docker run lpulles/hoke https://github.com

Or, use as a Kubernetes init container:

apiVersion: v1
kind: Pod
metadata:
  name: myapp-pod
  labels:
    app: myapp
spec:
  containers:
  - name: myapp-container
    image: busybox:1.28
    command: ['sh', '-c', 'echo The app is running! && sleep 3600']
  initContainers:
  - name: init-github
    image: lpulles/hoke
    command: ['hoke', 'https://github.com']

Run hoke to see more options.

Contributing

Please submit an issue with your proposal.

License

See LICENSE