[2023-06-04 07:39:49.538][1][info][main] [source/server/server.cc:404] initializing epoch 0 (base id=0, hot restart version=11.104)
[2023-06-04 07:39:49.538][1][info][main] [source/server/server.cc:406] statically linked extensions:
[2023-06-04 07:39:49.538][1][info][main] [source/server/server.cc:408] envoy.thrift_proxy.transports: auto, framed, header, unframed
[2023-06-04 07:39:49.538][1][info][main] [source/server/server.cc:408] envoy.filters.network: envoy.echo, envoy.ext_authz, envoy.filters.network.connection_limit, envoy.filters.network.direct_response, envoy.filters.network.dubbo_proxy, envoy.filters.network.echo, envoy.filters.network.ext_authz, envoy.filters.network.http_connection_manager, envoy.filters.network.local_ratelimit, envoy.filters.network.mongo_proxy, envoy.filters.network.ratelimit, envoy.filters.network.rbac, envoy.filters.network.redis_proxy, envoy.filters.network.sni_cluster, envoy.filters.network.sni_dynamic_forward_proxy, envoy.filters.network.tcp_proxy, envoy.filters.ne
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S uv run --script | |
| # | |
| # /// script | |
| # dependencies = ["matplotlib"] | |
| # /// | |
| import matplotlib.pyplot as plt | |
| def plot_multiple_line_graph(datasets, x_label="X-axis", y_label="Y-axis", title="Line Graph"): | |
| """ |
k8s.io/apimachinery/pkg/apis/meta/v1/unstructuredを利用する
gopkg.in/yaml.v2の yaml.Unmarshal は map をmap[interface{}]interface{}で持つため、Go 標準の json パッケージと互換がないことが度々あるgopkg.in/yaml.v2を使ってmap[string]interface{}を[]byteに Marshal →[]byteをruntime.RawExtensionやunstructured.Unstructuredに Unmarshal する際もうまく動かない
https://twitter.com/kanatakita/status/1464504836393615361 で気になったので、実際に測ってみる。
- x86_64
- CentOS7 (3.10.0-1160.41.1.el7.x86_64)
- Go 1.13.3 (該当マシンに入ってた以上の意味は特にない) / 1.17.3 (latest stable)
$ wget http://www.ris.ripe.net/source/bgpdump/libbgpdump-1.5.0.tgz
$ tar xvfz libbgpdump-1.5.0.tgz
$ cd libbgpdump-1.5.0
$ ./configure
$ make
$ sudo cp bgpdump /usr/local/bin
NewerOlder