Puppet Kubernetes module released

27 views
Skip to first unread message

Gareth Rushgrove

unread,
Dec 17, 2015, 10:48:17 AM12/17/15
to puppet...@googlegroups.com
Hey all

We've just shipped a 0.1.0 version of a module to manage Kubernetes
resources like Pods, ReplicationControllers and Services. This is a
bit of a proof-of-concept, but it supports all the Kubernetes
resources and appears to work pretty well.

https://forge.puppetlabs.com/garethr/kubernetes
https://github.com/garethr/garethr-kubernetes

We have a small deluge of blog posts going over the details, including
a full hello-world example.

https://puppetlabs.com/blog/managing-kubernetes-configuration-with-puppet
https://puppetlabs.com/blog/kubernetes-guestbook-example-puppet
https://puppetlabs.com/blog/building-your-own-abstractions-kubernetes-puppet

If anyone is doing anything with Puppet and Kubernetes (or interested
in doing so) let me know, I'll love to chat next year.

## Bonus point

Most of the code in the module is automatically generated from the
Kubernetes swagger schema using another tool I knocked up:
https://github.com/garethr/puppet-swagger-generator

This undoubtedly isn't a general purpose tool yet, it likely works
well only for the Kubernetes definitions for now. But if anyone has an
interest in code generation or other Swagger-powered applications
which would benefit from Puppet types let me know.

Cheers

Gareth

--
Gareth Rushgrove
@garethr

devopsweekly.com
morethanseven.net
garethrushgrove.com
Reply all
Reply to author
Forward
0 new messages