Skip to content

Simple Hello World web written in Actix running on k8s using nginx ingress.

Notifications You must be signed in to change notification settings

SaltyAom/actix-web-k8s-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple actix-web k8s

Simple Hello World web written in Actix running on k8s using Nginx Ingress.

Prequisted

  • Docker
  • Kubernetes
  • Nginx Ingress

Getting Started

ImagePullPolicy is set to never, you've to build docker image yourself.

  1. Create Docker Image
cd src
./dockerize.sh
  1. Run deployment
# at /k8s
./up.sh
  1. To stop
# at /k8s
./down.sh

Chaning package name

Match name in cargo.toml and Dockerfile by replacing hello-actix with your package name.

Note

  • Image is 611.1 KB
  • Build stage using rust-alpine.
  • Build time is around 5 minute on Ryzen 5 3500X, 16GB DDR4 3266MHZ

About

Simple Hello World web written in Actix running on k8s using nginx ingress.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published