No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 10 commits ahead of bpradipt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
conf
helmchart
Dockerfile
Dockerfile.ppc64le
Jenkinsfile
README.md
db_setup
jenkins-values.yaml

README.md

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.