Liking cljdoc? Tell your friends :D

clj-k8s Clojure With Minikube

A Clojure Wrapper for the kubernetes API.

API Usage

Creating client instance

Managing Kubernetes Objects

Namespaces

Pods

Jobs

Services

Testing

Setup Minikube

minikube start --driver=podman

Create API Token

kubectl -n kube-system create serviceaccount toast
kubectl -n kube-system create clusterrolebinding toast-bind --clusterrole=cluster-admin --serviceaccount=kube-system:toast
export K8S_TOKEN=$(kubectl -n kube-system create token toast)

Lauching tests

When token is properly exported, run tests as follow:

lein test

License

Copyright © 2019-2023 Oscaro

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close