Git Product home page Git Product logo

cloud-native-library's Introduction

cloud-native-library's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloud-native-library's Issues

有幾處格式和書寫錯誤

Add Infro PR Checks?

I noticed that this repo uses Argo CD diffs, and I thought I’d let you know that I recently released a Github app called Infro that several companies use internally that allows Argo CD users to preview Kubernetes changes in Github pull requests before they merge. I’m providing it for free to open source projects (here’s an example in the wild). Here’s a setup guide with links to documentation. It’s in early stages, so I’m sure there will be warts. All feedback is welcome!

Cheers

envoy基礎教程代礎因版本問題運行報錯

問題

配署如下:
https://github.com/rootsongjc/docs/blob/8d5220a1d3d478cf421e96a1cb6cf594fffae85b/content/envoy-handbook/intro/envoy-building-blocks.md?plain=1#L94-L120

運行
https://github.com/rootsongjc/docs/blob/8d5220a1d3d478cf421e96a1cb6cf594fffae85b/content/envoy-handbook/intro/envoy-building-blocks.md?plain=1#L151

報錯
Didn't find a registered implementation for 'envoy.filters.http.router' with type URL: ''
使用envoy版本: 1.22

查看官方例子,發現是1.22新增的屬性
image
參照修改之後成功運行

是否應該在書中指明envoy的版本會比較好,然後使用func-e指定全局版本,比如: func-e use 1.20

BTW,其他雲原生書籍也有同樣因沒有注明版本問題

envoy 监听器章节实验9 iptables 命令执行错误

环境

centos 7.9.2009
iptables v1.4.21

问题

sudo iptables -t nat -A PREROUTING -i ens4 -p tcp --dport 80 -j REDIRECT --to port 10000

执行的时候报错iptables v1.4.21: REDIRECT: Bad value for "--to-ports" option: "port", 然后将--to port改成--to-ports执行就能成功。

另外还有一处

sudo iptables -t nat -A OUTPUT -p tcp -m owner !--uid-owner root --dport 80 --j REDIRECT --to port 10000

执行的时候报错-bash: !--uid-owner: event not found,然后将!--uid-owner改成! --uid-owner, 将--to port改成--to-ports执行就能成功。

请问这些是否是笔误?还是版本的差异问题?

参考

  1. man iptables
  2. iptables "-m owner --uid-owner" option

envoy 监听器 实验10 命令执行错误

环境

centos 7.9.2009
openssl 1.0.2k-fips

问题

$ openssl req -nodes -new -x509 -keyout www_hello_com.key -out www_hello_com.cert -subj "/C=US/ST=Washington/L=Seattle/O=Hello LLC/OU=Org/CNwww.hello.com"
$ openssl req -nodes -new -x509 -keyout www_example_com.key -out www_example_com.cert -subj "/C=US/ST=Washington/L=Seattle/O=Example LLC/OU=Org/CN www.example.com"

执行都报错了,只生成了key文件,将末尾的/CN xxx改成/CN=xxx即可

另外执行func-e run -c 5-lab-2-tls_match.yaml会因为需要绑定443端口而报错误cannot bind '0.0.0.0:443': Permission denied,因为443是privileged port,所以需要使用sudo

还有

你可以在 `5-lab-2-tls_match.yaml` 文件中找到完整的配置,用 `func-e run -c 5-lab-2-tls_match.yaml` 运行它。由于我们将只使用 `openssl` 进行连接,我们不需要集群端点的运行。

里面提到的5-lab-2-tls_match.yaml应该加上链接更加合理?

参考

  1. Apache cannot bind :443 address for SSL even though port 443 is unused
  2. envoyproxy/envoy#4195

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.