hpa

Posted by 夏泽民

HPA(Horizontal Pod Autoscaler)是kubernetes(以下简称k8s)的一种资源对象,能够根据某些指标对在statefulSet、replicaController、replicaSet等集合中的pod数量进行动态伸缩,使运行在上面的服务对指标的变化有一定的自适应能力。 HPA目前支持四种类型的指标,分别是Resource、Object、External、Pods。其中在稳定版本autoscaling/v1中只支持对CPU指标的动态伸缩,在测试版本autoscaling/v2beta2中支持memory和自定义指标的动态伸缩,并以annotation的方式工作在autoscaling/v1版本中。



grpc默认传输文件大小为4*1024*1024 也就是4兆

Posted by 夏泽民

grpc 异常 Received message larger than max (5009675 vs. 4194304) 处理



golang学习书籍归类

Posted by 夏泽民

https://www.qcrao.com/ https://github.com/eddycjy/blog https://github.com/golang-design/under-the-hood https://github.com/qcrao/Interview https://github.com/golang-design/Go-Questions https://github.com/geektutu/high-performance-go https://github.com/geektutu/7days-golang https://github.com/zboya/golang_runtime_reading



gdb on mac

Posted by 夏泽民

https://blog.csdn.net/github_33873969/article/details/78511733 http://ftp.gnu.org/gnu/gdb/gdb-8.0.tar.gz

https://blog.csdn.net/wj1066/article/details/83653153



方法表达式

Posted by 夏泽民

``` type Student struct { id int name string }



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required