Skip to content

imi56/blog-svc

Repository files navigation

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration If you’re using the Docker driver, NodePort won’t be accessible via the Minikube IP by default. Use minikube service blog-svc --url instead.

install and start minikube

install minikube minikube start --driver=docker

Get url to access the service

minikube service blog-svc --namespace blog-namespace --url

Service up command

kubectl apply -k .

check current namespace

kubectl config view --minify --output 'jsonpath={..namespace}'

list sercices

minikube service list

kubectl delete service blog-svc -n blog-namespace kubectl config set-context --current --namespace=blog-namespace

calling tagging service endpoint from blog-svc

kubectl exec -it blog-svc-cfbc6bc75-b6p5m -n blog-namespace -- curl tagging-svc.tagging-namespace.svc.cluster.local:8080/tags

deploy

kubectl rollout restart deployment/blog-svc

  • ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published