Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.14 KB

File metadata and controls

28 lines (17 loc) · 1.14 KB

Overview

This code is a fork of the following code and is used to demonstrate dockerized deployment. Explanation of the code is provided here

Build

To build this for ppc64le arch, do the following:

`docker build -t ppc64le/flaskapp -f Dockerfile.ppc64le .`

Deploy in a Kubernetes cluster

  • Install the helm CLI and ensure it's working against your kubernetes cluster.

  • Ensure that you have a mariadb service running.

  • Simply clone the repository and run the following from the sampleflaskapp directory:

    helm install --name demoapp helmchart

Using a sample jenkins yaml for Power

This repo consists of a jenkins-values.yaml file as a sample values file that could be tried alongside the stable/jenkins helm repo.

This file has the following attributes:

  • It mounts the docker.sock file as hostpath
  • It does not use persistent volumes (good for experiments).
  • It replaces the default images with the images that work for Power.