Skip to content

Its a simple counter app which logs and increments the count from a file. Repository includes Dockerfile and respective kubernetes manifest

Notifications You must be signed in to change notification settings

achede22/counter-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

counter-app

Its a simple counter app which logs and increments the count from a file. Repository includes Dockerfile and respective kubernetes manifest.

The image is already pushed at docker.io/kahootali/counter. You can use that or build and run the app yourself using the following commands.

Build

You can build the image by docker build -t counter .

Run

You can build the image by docker run -it counter

Deploy on Kubernetes

You can deploy on kubernetes using the manifests present in kubernetes folder. I have used Persistent Volumes so that when scaling replicas of Deployments or Statefulsets, you can easily see the difference.

About

Its a simple counter app which logs and increments the count from a file. Repository includes Dockerfile and respective kubernetes manifest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.2%
  • Dockerfile 37.8%