Demos & Screencasts. OpenShift, Kubernetes, Jenkins Pipelines with JCasC and more
DevOps Demos & Screencasts¶
- DevOps Screencasts
- DevOps Blogs
- DevOps Demos
- Kubernetes Demos
- Red Hat Demo Central
- OpenShift Demos
- Jenkins Demos
- Nexus3 on Kubernetes
- Spring PetClinic Sample Application
- AWS Demos
- Azure DevOps Demos
- Google DevOps Demos
DevOps Screencasts¶
DevOps Blogs¶
- DevStack All about DevOps
DevOps Demos¶
- RedHatGov.io is an open source collection of workshop materials that cover various topics relating to Red Hat’s product portfolio.
- github.com/wardviaene (kubernetes, terraform, ansible, docker, etc) π
- thoughtworks.com: Modernizing your build pipelines with Concourse CI π
- yankils/Simple-DevOps-Project
- Spring PetClinic Sample Application By following this repository you can able to setup a DevOps CI/CD Pipeline using: git, Jenkins, Maven, Ansible, Docker & Kubernetes
Ansible and Ansible Tower¶
- ansible.github.io/workshops/demos : Red Hat Ansible Automation Platform Workshops
- Red Hat Ansible Tower - Workshop and Demo
Kubernetes Demos¶
- kubernetesbyexample.com π
- github.com/eon01/kubernetes-workshop
- wardviaene/kubernetes-course
- github.com/kubernetes-course/container_workshops
- Mautic
- codeburst.io: getting started with kubernetes, deploy a docker container in 5 minutes
- Kubernetes workshop in a box
Istio¶
Amazon EKS. Deploy example microservices on EKS¶
- eksworkshop.com
- eksworkshop.com/x-ray/microservices
- eksworkshop.com: Configure Cluster Autoscaler (CA)
- aws.amazon.com: Deploy a kubernetes application
- aws blogs: Git Push to Deploy Your App on EKS
- medium: create your first application on aws eks kubernetes
- dzone: deploying a kubernetes cluster with amazon eks π
Red Hat Demo Central¶
Cloud Native Development Architectural Diagrams Demos¶
- Cloud-native development is an approach to building and running applications to fully exploit the advantages of the cloud computing model (i.e. responsive, elastic and resilient applications).
- Portfolio Architecture Workshops for creating impactful architectural diagrams. This workshop will teach you how to use, design, and create architectural diagrams based on the draw.io tooling and Red Hat Portfolio Architecture design elelements. You’ll leverage existing portfolio architecture diagrams as starting points.
OpenShift Demos¶
- developers.redhat.com: Developing on OpenShift (katacoda interactive learning) π Learn how to access an OpenShift cluster, manage apps with the odo command-line tool, then try image and source-based deployment techniques.
- github.com/OpenShiftDemos π
- DockerHub OpenShift Demos
- Red Hat Tutorials & Examples: github.com/redhat-developer-demos π
- redhatgov.io RedHatGov.io is an open source collection of workshop materials that cover various topics relating to Red Hat’s product portfolio.
- blog.openshift.com: OCP multi-node deployment on AWS using CloudFormation and Ansible (quickstart workshop)
- Deploying Docker Images to OpenShift We take a look at how to deploy a Docker image from DockerHub into RedHat’s OpenShift environment, bringing added functionality along the way.
- SonarQube: An OpenShift-focused Docker build of Sonarqube
- Deploying PostgreSQL in MiniShift/OpenShift 3
- Clustering WildFly on Openshift
- Java EE example on Openshift
- Microprofile example on Openshift
- Deploying WildFly apps on Openshift
- Running Thorntail apps on Openshift
- Running Spring Boot applications on Openshift
- github.com/openshiftdemos π
- github.com/openshift-labs π
IBM Cloud Pak Playbooks¶
Knative¶
- knative-tutorial A pratical guide to get started with knative. Knative concepts are explained simple and easy way with lots of demos and exercises.
OpenShift Pipelines Workshop (Tekton)¶
- openshift-pipelines-workshop Workshop to demonstrate OpenShift Pipelines (featuring Tekton)
- Build a Go application using OpenShift Pipelines
- OpenShift Pipelines Catalog
Jenkins Demos¶
- kublr.com: cicd pipeline with jenkins nexus kubernetes
- bitbucket.org: setting up a cicd pipeline with spring mvc and kubernetes on aws
- Medium.com - Simple Spring Boot microservice deployed in Kubernetes using Docker and Nexus π:
Jenkins Declarative Pipelines with OpenShift¶
- github.com/openshift: Using Jenkins Declarative Pipelines with OpenShift π
- github.com/gnunn1/openshift-basic-pipeline
- github.com/deweya/OpenShift-Jenkins-Lab
- Red Hat CodeReady Containers (Minishift equivalent for OpenShift 4.2 or newer) - step-by-step demo guides
- Grading Pipeline for OpenShift 4 Advanced Application Deployment Homework Assignment
- github - Demostration of a basic OpenShift CI/CD pipeline deploying an application in Development then Test
OpenShift Pipelines with S2i and Jenkins Blue Ocean¶
- OpenShift Pipelines with Jenkins Blue Ocean π
- github.com/siamaksade/jenkins-blueocean Jenkins Blue Ocean for OpenShift Jenkins S2I
Jenkins Configuration as Code on Kubernetes¶
- Configuration as Code of Jenkins (for Kubernetes) ππ
- Jenkins Configuration as Code on Kubernetes π A Codecentric/Jenkins Helm 3 Sample Chart on Digital Ocean Kubernetes with Spring Petclinic Demo Pipeline
From Jenkins Freestyle jobs to Pipeline, with JobDSL. Seed jobs¶
- Meetup event: From Freestyle jobs to Pipeline, with JobDSL
- Manually managing Jenkins jobs is painful. Jenkins Pipeline exists, but how do you get started and why should you bother in the first place? Journey with Nicolaj, as he talks about the pains of managing a manually configured job in Jenkins; converts a Freestyle Job to JobDSL, instantly; introduces mechanisms for adding the jobs to Jenkins, as code; and ultimately converts the job to a Jenkins Pipeline!
- Just like last time, in the talk βConfiguration as Code of Jenkins (for Kubernetes),β youβll see plenty of live demos and get to take home all the code and examples afterwards. Use it as the starting point for taking advantage of the Configuration as Code (CasC) that everyone is talking about, and hopefully it will save you a lot of headache in the future!
- Agenda:
- Manual Freestyle jobs, and why they hurt us
- Introduction to JobDSL and adding JobDSL-jobs to Jenkins
- From Freestyle Jobs to JobDSL, the beginning of our CasC adventure
- From JobDSL to Pipeline, all the fun of CasC; with even more resilience!
- Nicolaj GrΓ¦sholt is a Continuous Delivery and DevOps Consultant and Trainer from Eficode Praqma. He helps organizations with all things CI/CD, Artifact Management, Git, Docker and Kubernetes, and heβs a Certified Kubernetes Administrator of CNCF.
- Slides πππ
- Demo repository πππ
- Links of interest provided in the event:
- Jenkins CLI
- How to create initial “seed” job
- Jenkinsfile Runner Test Framework
- Jenkins Pipeline Unit testing framework
- Plugin Installation Manager Tool
- Jenkins Custom WAR Packager
- Jenkins Configuration as Code:
- Configuration as Code of Jenkins (for Kubernetes) π
- JEP-224: System Read permission: Improve experience of Jenkins Configuration-as-Code users It improves the modifying Web UI configuration controls to support the read-only mode.
- Plugins:
- Plugin Usage This plugin gives you the possibility to analyze the usage of your installed plugins.
- Pipeline as YAML (Incubated) π
- Jenkins Job DSL Plugin A Groovy DSL for Jenkins Jobs - Sweeeeet!
- Least Load This plugin overrides the default Load Balancer behavior and assigns jobs to nodes with the least load
- Declarative Pipeline Migration Assistant
- Jenkins Job DSL:
- Pipeline Global Library for ci.jenkins.io Collection of custom steps and variables for our Jenkins instance(s)
Jenkins Scripts¶
- cleanup.Jenkinsfile: Jenkinsfile with Declarative Pipeline Multiline sh that cleanups old builds. All the Stages are now visually monitored. It is triggered every saturday night and ends with jenkins restart. These Multi-line bash commands make easier to read Jenkins Projects.
- daily_restart.Jenkinsfile: A script that automatically triggers a daily restart of Jenkins due to performance issues (Jenkins is a Java application). Jenkins with Declarative Pipeline multiline sh that restarts Jenkins every night except on Saturday nights (when cleanup.Jenkinsfile is triggered).
- confluence6-docker-build.Jenkinsfile: Declarative Jenkinsfile for building and uploading a docker image to Openshift-DEV, Dockerhub and Openshift-PROD (Stages are disabled via Conditional Build Steps). Tip: A Docker Plugin for Jenkins can easily replace this Jenkinsfile.
Grab them from here: awesome-kubernetes/scripts
Nexus3 on Kubernetes¶
- Proof of Concept: Nexus3 Chart configuration on Kubernetes A choerodon/nexus3 Helm 3 Sample Chart on Digital Ocean Kubernetes
Spring PetClinic Sample Application¶
- spring-petclinic.github.io
- github.com/spring-projects/spring-petclinic
- deors/deors-demos-petclinic jenkinsfile
- liatrio.com: building with docker using jenkins pipelines
- stackoverflow: How to define BuildConfig object with Jenkins and openshift
- cloudogu.com: CD with Jenkins, Nexus and cloudogu
- experfy.com e-learning: Effective Jenkins - Continuous Delivery and Continuous Integration
- Modular Pipeline Library: 4. Petclinic Pipeline π
- PetClinic on Kubernetes:
- github.com/spring-petclinic/spring-petclinic-kubernetes π
- While waiting for a working version, you could check this fork
- Distributed version of Spring Petclinic built with Spring Cloud π
- github.com/paulczar/k8s-spring-petclinic
- tech.paulcz.net/blog/spring-into-kubernetes-part-1
- github.com/kohsuke/petclinic Jenkinsfile
- pushbuildtestdeploy.com/jenkins-on-kubernetes-building-docker-images π
- github.com/spring-petclinic/spring-petclinic-kubernetes π
- PetClinic Docker images:
- OpenShift.io Samples ππ
AWS Demos¶
Azure DevOps Demos¶
- Azure DevOps Demo Generator
- Azure DevOps Demo Generator is now open source
- Get started creating and populating demo Azure DevOps Services projects