From 701aca30cf3c54af2afe35d7913a5b2b6f1c1ce6 Mon Sep 17 00:00:00 2001 From: worldofgeese <59834693+worldofgeese@users.noreply.github.com> Date: Wed, 4 Oct 2023 22:34:47 +0200 Subject: nongnu: Add kind. * nongnu/packages/k8s.scm (kind): New variable. Signed-off-by: John Kehayias --- nongnu/packages/k8s.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/nongnu/packages/k8s.scm b/nongnu/packages/k8s.scm index 8c83eb9..c4898b6 100644 --- a/nongnu/packages/k8s.scm +++ b/nongnu/packages/k8s.scm @@ -177,3 +177,41 @@ such as Kubernetes (or OpenShift).") "Helm helps you manage Kubernetes applications - Helm Charts help you define, install, and upgrade Kubernetes applications.") (license license:asl2.0))) + +(define-public kind + (package + (name "kind") + (version "0.20.0") + (source (origin + (method url-fetch) + (uri (string-append "https://kind.sigs.k8s.io/dl/v" version "/kind-linux-amd64")) + (sha256 + (base32 + "1v9x953a5n0l3kz78wm29yh11vz56nmlvhi7xzcjscyksq9p4fji")))) + (build-system copy-build-system) + (arguments + (list + #:substitutable? #f + #:install-plan + #~'(("kind" "bin/")) + #:phases + #~(modify-phases %standard-phases + (replace 'unpack + (lambda _ + (copy-file #$source "./kind") + (chmod "kind" #o644))) + (add-before 'install 'chmod + (lambda _ + (chmod "kind" #o555)))))) + (home-page "https://kind.sigs.k8s.io") + (synopsis "Tool for running local Kubernetes clusters using Docker containers") + (description "kind (Kubernetes in Docker) is designed for creating and managing +local Kubernetes clusters using Docker containers as nodes. It provides +a fast and straightforward way to run Kubernetes for development and +testing tasks. + +Supporting multi-node cluster configurations, kind is ideal for testing +more complex, real-world scenarios without demanding extensive resources. +It’s a lightweight, portable, and configurable solution useful in +continuous integration (CI) workflows.") + (license license:asl2.0))) -- cgit v1.2.3