Skip to content

leszko/caching-injector

Repository files navigation

Hazelcast Caching Injector

Step 1: Build sample web service

cd greet
./gradlew build
docker build -t <username>/greet .
docker push <username>/greet

Make sure your Docker Hub repository is public.

Step 2: Build networking initializer

cd init-networking
docker build -t <username>/init-networking .
docker push <username>/init-networking

Make sure your Docker Hub repository is public.

Step 3: Build proxy

cd proxy
./gradlew build
docker build -t <username>/caching-proxy .
docker push <username>/caching-proxy

Make sure your Docker Hub repository is public.

Step 4: Deploy without caching

Change in deployment-initial.yaml the Docker Hub account leszko to your Docker Hub account and then apply the deployment.

kubectl apply -f deployment-initial.yaml

Step 5: Deploy with caching

Change in deployment-caching.yaml the Docker Hub account leszko to your Docker Hub account and then apply the deployment.

kubectl apply -f deployment-caching.yaml

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published