mosn / layotto

A fast and efficient cloud native application runtime
http://mosn.io/layotto/
Apache License 2.0
817 stars 168 forks source link

[GLCC] Develop a demo project #576

Open seeflood opened 2 years ago

seeflood commented 2 years ago

This is a substask of #471 . This issue will participate in the chinese GLCC activity . So I wrote it in chinese:

1、题目描述

开发 layotto 演示工程

2、编码任务

开发演示工程,演示 Layotto 帮助应用屏蔽基础设施、帮助应用跨云部署的功能。 演示工程不用从零写,可以 fork istio 的Bookinfo 工程,给 Bookinfo 加一些功能,加入:

交互设计图(简陋版)如下: image

3、技能要求和编程语言

4、预期完成结果

一个 Layotto 演示工程

5、题目详情

演示工程的架构如下: image

大部分都是 BookInfo 已有功能,红色是我画的、这次需要加的。 需要在 Bookinfo 工程基础上做如下改动

导师

我 zhou.qunli@foxmail.com

价值

演示 Layotto 的功能,后续可以基于该工程做个在线实验室(katacoda 教程),演示跨云部署,详见 #471

LXPWing commented 2 years ago

挺酷炫的,有点心动想参加

seeflood commented 2 years ago

@LXPWing 欢迎啊 这个做了有很多钱拿 😆

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue or help wanted) or other activity occurs. Thank you for your contributions.

LXPWing commented 2 years ago

使用https://killercoda.com/mosn-tutorial/course/layotto/layotto-with-istio的时候发现 image 标红的地方少了星星符号,preview server写法如下:

FILE=/ks/wait-background.sh; while ! test -f ${FILE}; do clear; sleep 0.1; done; bash ${FILE}
docker pull layotto/preview_server:latest
docker run -d -p 9080:8080 --name layotto-preview-server layotto/preview_server:latest
git clone https://github.com/layotto/istio.git

echo "export PATH=/root/istio/bin:\$PATH" >> .bashrc
export PATH=/root/istio/bin:$PATH
istioctl install --set profile=demo -y --manifests=/root/istio/manifests --set .values.global.proxy.image="layotto/proxyv2:latest" --set meshConfig.defaultConfig.binaryPath="/usr/local/bin/mosn" 

git clonehttps://github.com/layotto/istio.git的无法直接使用,需要一些转化才能和https://istio.io/downloadIstio | TARGET_ARCH=x86_64 sh -一样

LXPWing commented 2 years ago

例如https://istio.io/downloadIstio | TARGET_ARCH=x86_64 sh的bin文件是istioctl image

LXPWing commented 2 years ago

git clone https://github.com/layotto/istio.git的bin文件如下 image 现在我不知道如何转换

seeflood commented 2 years ago

讨论结论 & action: