$30 off During Our Annual Pro Sale. View Details »

Puppet and OpenShift - a quick introduction

Puppet and OpenShift - a quick introduction

Slides from an OpenShift commons briefing around using Puppet with OpenShift and Kubernetes.

Gareth Rushgrove

June 23, 2016
Tweet

More Decks by Gareth Rushgrove

Other Decks in Technology

Transcript

  1. (without introducing more risk) Puppet and Openshift Puppet Gareth Rushgrove

    A quick introduction
  2. (without introducing more risk) @garethr

  3. (without introducing more risk) Gareth Rushgrove

  4. (without introducing more risk) + +

  5. (without introducing more risk) The garethr/kubernetes module

  6. (without introducing more risk) kubernetes_pod { 'sample-pod': ensure => present,

    metadata => { namespace => 'default', }, spec => { containers => [{ name => 'container-name', image => 'nginx', }], }, } Describe Kubernetes in Puppet
  7. (without introducing more risk) controller_service_pair { 'frontend': app => 'guestbook',

    role => 'php-redis', tier => 'frontend', port => 80, image => 'gcr.io/google_samples/gb-frontend:v3', replicas => 3, service_type => 'LoadBalancer', } Create your own abstractions
  8. (without introducing more risk) Examples on the Puppet blog

  9. (without introducing more risk) More on the Kubernetes blog

  10. (without introducing more risk) +

  11. (without introducing more risk) Puppet Images on Docker Hub

  12. (without introducing more risk) Demos