Skip to content

Example of API application running in docker inside kubernetes cluster

Notifications You must be signed in to change notification settings

Leem0sh/k8s_simple_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run

  • Enable Kubernetes in Docker Desktop - go to settings - Kubernetes - enable
  • Change dir to the project dir
  1. Run Docker Desktop with Kubernetes enabled
  2. docker build -t simple-api .
  3. kubectl apply -k k8s
  4. kubectl port-forward service/api-deployment-service 8000:80 -n api
  5. Visit http://127.0.0.1:8000

About

Example of API application running in docker inside kubernetes cluster

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published