Skip to content

n1vgabay/clalit-devops-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clalit DevOps Task

Release Version Build Status Coverage Status

This project will set up a Flask web application with a single deployment. The main page will display "Welcome Clalit!" and it will use PostgreSQL as the database.

Prerequisites

Before installing this project, ensure you have the following tools installed:

Usage

Use the deploy.sh to deploy the project.

In order to get the URL endpoint for the deployment, run the command above:

oc get route deployment -o json | jq -r '.spec.host'
  • Insert random data, access to: https://<URL>/insert
  • Read the data from the database, access to: https://<URL>/read

Updating deployment index: First option is updating the configmap itself on-the-go aka kubectl edit configmap deployment-configmap.

Second option is updating changes in the charts/deployment/templates/configmap.yaml template. After changes, apply helm upgrade using helm upgrade --install deployment ./charts/deployment --values ./charts/deployment/values.yaml.

After updating the configmap, run this command to apply changes kubectl rollout restart deployment deployment.

Enjoy!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published