Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ttak0422/istiomagiconionsample
MagicOnion v3. アドベントカレンダーで補足.
https://github.com/ttak0422/istiomagiconionsample
istio magiconion
Last synced: about 1 month ago
JSON representation
MagicOnion v3. アドベントカレンダーで補足.
- Host: GitHub
- URL: https://github.com/ttak0422/istiomagiconionsample
- Owner: ttak0422
- License: mit
- Created: 2020-12-19T01:04:20.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-21T07:42:25.000Z (about 4 years ago)
- Last Synced: 2024-12-07T11:42:18.636Z (about 2 months ago)
- Topics: istio, magiconion
- Language: C#
- Homepage: https://blog.taktak.dev/posts/2020-12-23.html
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)
```