Registering many services in 1 kubernetes cluster

12/15/2017

I have converted my docker-compose file into kubernetes through kompose. There are many services,deployments, persistentvolumeclaim files. I can run independent service at one time, but i want to register all the services in one UI.

Till now i have did these folllowing steps:

-create persistentvolume.yaml file

-kubectl create -f consul-claim0-persistentvolume.yaml

  • kubectl create -f consul-claim1-persistentvolume.yaml

    -kubectl create -f consul-claim0-persistentvolumeclaim.yaml

    -kubectl create -f consul-claim0-persistentvolumeclaim.yamlkube

    -kubectl create -f consul-deployment.yaml

    -kubectl expose deployment consul --name=consul-svc --target-port=8500 --type=NodePort

    -this ran my consul on http://host:31827/ui/#/dc1/services/consul

Then I am trying to run other services now on http://host:31827/ui/#/dc1/services/ .

Please suggest some steps.

-- Priya
docker-compose
kubernetes

0 Answers