Giter Club home page Giter Club logo

micro-service's Introduction

Micro Service

Minikube start

minikube start --profile=custom

Bind Minikube to docker

If you exec docker command on local, the command will run in the minikube environment.

// Fish Shell
eval (minikube -p custom docker-env)
// Bash Shell
eval $(minikube -p custom docker-env)

Minikube SSH

minikube -p custom ssh

List of docker image in minikube

docker images

Skaffold Install

brew install skaffold

Skaffold Init

skaffold init --generate-manifests

Install K9s and Run

brew install k9s
k9s

Run Skaffold on Dev

skaffold dev

Install Hazelcast with helm

helm repo add hazelcast https://hazelcast-charts.s3.amazonaws.com/
helm repo update
helm install hz-hazelcast hazelcast/hazelcast --set cluster.memberCount=1 --set mancenter.enabled=false

K9s Keymap

  • d => describe
  • Shift + f => Port forward

Requests

curl -v http://localhost:3001/orders response:

> GET /orders HTTP/1.1
> Host: localhost:3001
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Sat, 22 Jan 2022 15:49:16 GMT
< Content-Length: 62
< Content-Type: text/plain; charset=utf-8
<
* Connection #0 to host localhost left intact
  I send create payment request and got back {"message": "paid"}* Closing connection 0

🎉 Thank you! Hüseyin Babal

micro-service's People

Contributors

burkaydurdu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.