puppet and openshift

12
(without introducing more risk) Puppet and Openshift Puppet Gareth Rushgrove A quick introduction

Upload: gareth-rushgrove

Post on 10-Jan-2017

183 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Puppet and Openshift

(without introducing more risk)

Puppet and Openshift

PuppetGareth Rushgrove

A quick introduction

Page 2: Puppet and Openshift

(without introducing more risk)

@garethr

Page 3: Puppet and Openshift

(without introducing more risk)

Gareth Rushgrove

Page 4: Puppet and Openshift

(without introducing more risk)+ +

Page 5: Puppet and Openshift

(without introducing more risk)

The garethr/kubernetes module

Page 6: Puppet and Openshift

(without introducing more risk)

kubernetes_pod { 'sample-pod': ensure => present, metadata => { namespace => 'default', }, spec => { containers => [{ name => 'container-name', image => 'nginx', }], },}

Describe Kubernetes in Puppet

Page 7: Puppet and Openshift

(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

Page 8: Puppet and Openshift

(without introducing more risk)

Examples on the Puppet blog

Page 9: Puppet and Openshift

(without introducing more risk)

More on the Kubernetes blog

Page 10: Puppet and Openshift

(without introducing more risk)+

Page 11: Puppet and Openshift

(without introducing more risk)

Puppet Images on Docker Hub

Page 12: Puppet and Openshift

(without introducing more risk)Demos