Top Banner
21

Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Jun 27, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond
Page 2: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Power!

Jakub ČajkaPresented by

Fedora Project, Red Hat Inc.This presentation is under Creative Commons http://creativecommons.org/licenses/by/4.0/ CC-BY

OpenShift, Fedora

Page 3: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Today's Topics

1.Base

2.Toolchain

3.Binaries

4.Images

5.Infrastructure

6.Playbooks, CI and beyond

Page 4: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Base

Page 5: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Fedora has support for ppc64 since F 7(2007)

And for ppc64le since Fedora 21(2014)

Currently Fedora has near complete parity with

other primary arches in the RPM world

Base

Page 6: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

OpenShift is kubernetes based platform for

running containers

OpenShift Origin - https://openshift.org/

Red Hat OpenShift Container Platform -

https://openshift.com/

Base

Page 7: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Toolchain

Page 8: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Openshift, kube, cri-o, podman, moby,... written

in Go

GC and GCC-Go

GCC-Go “supports” all arches that gcc do

GC only some

GC ported thanks to laboger and IBM

Toolchain

Page 9: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Using gcc-go

Using cross-compiled bootstrap compiler

Demo

Toolchain

Page 10: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Binaries

Page 11: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

“Everything” in Fedora RPM package

Packaging macros and guidelines

Custom builds scripts, patches

etcd

Binaries, that is enough right?

Binaries

Page 12: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Images

Page 13: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Openshift needs container image(s) to run

Regular deployments needs etcd and pod

images oc cluster up needs multitude

Tracking down all the images

Building

So we have images at docker hub, that is

enough, right?

Images

Page 14: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Infrastructure

Page 15: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Building images in reproducible and sustainable

way

Pushing them in to the registries for consumption

Builder, registry

Infrastructure

Page 16: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

OSBS, OpenShift Build Service in conjunction

with Koji - https://bit.ly/2Dkry00

OSBS-box - https://bit.ly/2NqTJ1U

Manifest lists

Demo

Infrastructure

Page 17: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Playbooks, CI and

beyond

Page 18: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Deployment/”Installer” Ansible playbooks -

https://bit.ly/2MOiRdH

Standard set of s2i container images based on

Fedora(with image streams)

CI deployments and testing

OpenPower lab in Brno

https://red.ht/2PScsQU

Beyond

Page 19: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

We have toolchain, binaries ready

Finishing work on infrastructure to deliver core

container image

In near future Ansible playbooks for deployment

and standard set of s2i container images

Users, testers and contributors are welcome

Summary

Page 20: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Container SIG https://bit.ly/2QOC6Y0

CoreOS SIG https://bit.ly/2QLoAnP

Go SIG https://bit.ly/2QLaMd4

Big thanks to all folks involved in upstreams,

porting and enablement notably cverna, laboger,

jeyoung and countless others

Summary

Page 21: Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based on Fedora(with image streams) CI deployments and testing OpenPower lab in Brno Beyond

Questions?

This presentation is under Creative Commons https://creativecommons.org/licenses/by/4.0/ CC-BY

[email protected]

Contact: