Puppet and Openshift

Preview:

Citation preview

(without introducing more risk)

Puppet and Openshift

PuppetGareth Rushgrove

A quick introduction

(without introducing more risk)

@garethr

(without introducing more risk)

Gareth Rushgrove

(without introducing more risk)+ +

(without introducing more risk)

The garethr/kubernetes module

(without introducing more risk)

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

Describe Kubernetes in Puppet

(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

(without introducing more risk)

Examples on the Puppet blog

(without introducing more risk)

More on the Kubernetes blog

(without introducing more risk)+

(without introducing more risk)

Puppet Images on Docker Hub

(without introducing more risk)Demos

Recommended