Coder Social home page Coder Social logo

ttak0422 / istiomagiconionsample Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 13 KB

MagicOnion v3. アドベントカレンダーで補足.

Home Page: https://blog.taktak.dev/posts/2020-12-23.html

License: MIT License

C# 86.89% Dockerfile 9.88% Shell 3.22%
magiconion istio

istiomagiconionsample's Introduction

IstioMagicOnionSample

BuildAll

$ ./build.sh

BuildDockerImage

# Server
$ ./build.sh --target=BuildServerDocker

Run

# Client
$ dotnet run -p SampleApp.Client/SampleApp.Client.csproj

# Server
$ dotnet run -p SampleApp.Server/SampleApp.Server.csproj

K8S

# Create namespace
$ kubectl create ns sample-ns

# Label istio-injection
$ kubectl label namespaces sample-ns istio-injection=enabled

# Apply IstioOperator
$ istioctl install -f ./k8s/istio-operator/overlay.yaml

# Deploy
$ kubectl apply -f ./k8s/sample-app

Info

  • My Environment

    $ uname
    Darwin
    
    $ kubectx
    minikube
    
    $ dotnet --version
    3.1.402
    
    $ kubectl version
    Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.1", GitCommit:"206bcadf021e76c27513500ca24182692aabd17e", GitTreeState:"archive", BuildDate:"1980-01-01T00:00:00Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
    Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:23:04Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
    
    $ istioctl version
    client version: 1.7.0
    control plane version: 1.7.0
    data plane version: 1.7.0 (3 proxies)
    

istiomagiconionsample's People

Contributors

ttak0422 avatar

Stargazers

Andrey Skobelev avatar

Watchers

James Cloos 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.