Skip to content

jmaver-plume/helmfile-learning-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helmfile-learning-prototype

The purpose of this project is to learn Helmfile.

Requirements

  • Have 2 express services.
  • Service proxy should proxy all requests to service main.
curl localhost:3000
{ url, body, query, headers, method }
  • Both services should be running as Docker containers in a single Kubernetes Pod.
  • The proxy service should be exposed using Kubernetes NodePort service.
  • The project should be deployed to Minikube using Helmfile and a local Helm Chart.

Running locally

  1. Install Docker, Minikube, and Kubectl and start Docker, and Minikube.
  2. Start the project.
./bin/start.sh
  1. Verify endpoints work correctly.
# Get the [PORT] from the output of ./bin/start.sh script.
# Proxied endpoint from proxy to main
curl http://127.0.0.1:[PORT]/proxy

# Endpoint on proxy not proxied to main
curl http://127.0.0.1:[PORT]/not-proxied

# Endpoint on main that should not be accessible
curl http://127.0.0.1:[PORT]/main
  1. Uninstall the release shell

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published