Giter Club home page Giter Club logo

k8s's Introduction

k8s Puppet Bolt Module

K8s Puppet Bolt module to manage a local kind cluster -> https://github.com/kubernetes-sigs/kind. Kind is a program you can run locally to create a mini k8s lab cluster on your workstation or during CI.

This repo was created so I can learn how to create Puppet Bolt tasks that are implemented in go. The value of this is the only dependency is the go compiled binary, no ruby or python runtime needed on the host your running the task on. So far I'm building the binary and keeping it in git with the module, that approach smells a tad, but for learning I'm ok with that, the binaries are small enough and it keeps things simple. A more robust solution would be to have the module download the needed binary from a proper location the first time the module is executed on a given host.

To experiment with this:

git clone [email protected]:bobhenkel/k8s.git
#for every task you want to work on...
cd k8s/tasks/src/create_kind_cluster
env GOOS=linux GOARCH=amd64 go build -o ../../create_kind_cluster-linux-amd64
bolt task run k8s::create_kind_cluster_linux_amd64 cluster_name=kind-cluster2 image="kindest/node:v1.13.7" --nodes localhost --modulepath .

k8s's People

Contributors

bobhenkel avatar

Watchers

 avatar  avatar

Forkers

peoplenet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.