3

微游技术部一周分享 20211031期

 2 years ago
source link: https://xmanyou.com/minigame-dev-team-weekly-20211031/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
31 October 2021 / 微游技术部

微游技术部一周分享 20211031期

minigame.vip

大家好,以下是微游技术部本周的分享:

1. 使用sealos部署Kubernetes集群

https://overstarry.vip/posts/使用sealos部署kubernetes集群/

sealos的官方自述:一条命令离线安装高可用kubernetes,3min装完,700M,100年证书,生产环境稳如老狗。
git地址:https://github.com/fanux/sealos

2. 设置Rancher服务器的本地Kubernetes集群

https://overstarry.vip/posts/设置rancher服务器的本地kubernetes集群/

搭建完k8s集群后,再安装Rancher方便管理K8s。

3. Kubernetes安装APISIX

https://overstarry.vip/posts/kubernetes安装apisix/

apisix可以作为k8s的ingress controller以外,并提供了dashboard可视化管理后台。

4. 使用json-server和mock.js为Nuxt.js搭建mock后台

https://segmentfault.com/a/1190000040879831

json-server是一款基于Node.js的服务器,为前端开发人员可以提供一个高仿真的RESTFul后台服务。整个服务的搭建过程不需要编写任何代码,最快只需要1分钟。再配合上mock.js,随机生成后端数据,可以为Nuxt.js项目快速搭建测试后台。

5. Nuxt.js 错误页示例

https://xmanyou.com/nuxt-js-error-page-example/

Nuxt.js提供了一个很有趣的方式来实现错误页:使用layout组件来替代page组件创建错误页。

6. Cocos Creator中物理组件和碰撞组件的区别

https://gitee.com/dony1122/ccFramework/blob/master/creator物理组件和碰撞组件的区别.md

7. docker登录非https私有docker仓库的方法

https://my.oschina.net/u/3488569/blog/5291241

在假设私有docker仓库的时候,如果没有配置https,会报以下错误,本文总结了解决方法。

server gave HTTP response to HTTPS client

阿斌

Read more posts by this author.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK