Skip to content

sudswas/sampleflaskapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 59.0%
  • Python 30.5%
  • CSS 4.4%
  • JavaScript 3.1%
  • Smarty 3.0%