Giter Site home page Giter Site logo

soa-project's Introduction

Complete Setup Guide for Kubernetes Deployment on Minikube

This README provides detailed instructions on how to deploy the microservices defined in this project onto a Minikube Kubernetes cluster using images available from a Docker registry and Kubernetes for orchestration.

Prerequisites

  • Minikube: Minikube must be installed and running to host the Kubernetes cluster.
  • kubectl: The Kubernetes command-line tool, kubectl, must be installed to manage Kubernetes clusters.

Step 1: Start Minikube

Begin by starting Minikube, which simulates a Kubernetes cluster:

minikube start

Step 2: Deploy Services using kubectl

With Minikube running and configured to pull images from your Docker registry, deploy your services using the Kubernetes configuration files stored in the .kube directory.

Navigate to the directory containing your Kubernetes configuration files and apply them:

kubectl apply -f ./.kube/

This command will deploy all the Kubernetes resources defined in your .kube folder, such as pods, services, deployments, etc.

Step 3: Verify Deployment

To verify that your services have been deployed successfully, run the following command:

kubectl get pods

This command will list all the pods running in your Kubernetes cluster. If your services have been deployed successfully, you should see the pods listed.

Step 4: Access Services

To access your services, you need to open a tunnel to the Minikube cluster:

minikube tunnel

This command will create a tunnel to the Minikube cluster, allowing you to access your services using the cluster's IP address.

Step 5: Access UI

To access the UI service, open a web browser and navigate to the following URL:

http://<minikube-ip>:8085

Replace <minikube-ip> with the IP address of your Minikube cluster. If running on localhost, use localhost.

soa-project's People

Contributors

evanfranciszok avatar fvossebeld avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.