Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based...
Transcript of Power!...Deployment/”Installer” Ansible playbooks - Standard set of s2i container images based...
![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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/1.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/3.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/4.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/5.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/6.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/11.jpg)
“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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/13.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/14.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/15.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/16.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/17.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/18.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/19.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/20.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060409/5f102ab27e708231d447c64f/html5/thumbnails/21.jpg)
Questions?
This presentation is under Creative Commons https://creativecommons.org/licenses/by/4.0/ CC-BY
Contact: