Skip to content

ameydev/kv-svc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Key-Value service

Create a Docker image:

docker build -t ameydev/kv-svc:<tag-name>

Deploy the application on Kubernetes:

Following resourses will be created.

  • kg-svc Deployment
  • kg-svc Service
  • app-ingress Ingress
kubectl apply -f k8s/

Deploy the nginx ingress controller:

In case the nginx ingress controller also needs to be installed.

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.0/deploy/static/provider/cloud/deploy.yaml

Access the application:

APP_URL=`kubectl get ing app-ingress --output="jsonpath={.status.loadBalancer.ingress[0].ip}"`

# Check app metrics
curl $APP_URL/metrics

# get dummy data
curl -v $APP_URL/get/abc-1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published