Kubeservice博客

是非审之于己,毁誉听之于人,得失安之于数

TIPS之 Kubernetes client-go 常用配置

Kubernetes client-go 常用配置

Kubernetes client-go 常用配置 第一篇: Kubernetes client-go使用方式 client-go config 配置 type Config struct { // Host must be a host string, a host:port pair, or a URL to the base of the apiserver. // If a URL is given then the (optional) Path of that URL represents a prefix that must //

TIPS之 Kubernetes APIServer 异常504 GatewayTimeout

Kubernetes APIServer 异常504 GatewayTimeout

Kubernetes APIServer 异常 504 GatewayTimeout 问题一: Kubernetes APIServer 503 logging error output: service unavailable metrics.k8s.io/v1beta1 api-resource 不存在问题 I0908 17:58:06.013828 1 httplog.go:89] "HTTP" verb="GET" URI="/apis/metrics.k8s.io/v1beta1?timeout=32s" latency="511.066µs" userAgent="kubectl/v1.21.5 (linux/amd64) kubernetes/83c85a6" srcIP="10.253.101.202:56436" resp=503 statusStack=" goroutine 178079822 [running]: .... "

Golang之 go实现交替加权轮询-interleaved weighted round robin

golang 实现交替加权轮询-interleaved weighted round robin 背景 背景实现: O(1) 时间复杂度 和 O(n) 空间复杂度 的 加权负载平衡实现 交错式加权轮询负载均衡算法 interleaved weighted round robin

运行时之 nydus vs estargz image format对比

nydus vs estargz image format对比

nydus vs estargz image format对比 背景 OCIv2 vs OCIv1 OCIv1是开源容器 规定的镜像格式标准(image format spec). OCIv2是解决OCIv1部分问题后,解决的镜像标准

微服务之 Dubbo2 sidecar 与 Dubbo3 proxyless通信

Dubbo2 sidecar 与 Dubbo3 proxyless通信

Dubbo2 sidecar 与 Dubbo3 proxyless通信 Dubbo 2 绝大部分使用dubbo 协议 + 自定义序列化. 默认 hessian2; 2.7版本以后开始支持grpc协议 Dubbo 3 支持

技术方案之 基于Cosign容器镜像签名/验证工具能力,实现Pod可信验证

基于Cosign容器镜像签名/验证工具能力,实现Pod可信验证

基于Cosign容器镜像签名/验证工具,实现K8s部署pod可信验证 腾讯云TKE集群,在23年5月,上线了一特性: Cerberus 组件支持对签名镜像进行可

TIPS之 K8s docker exec 异常问题排查

K8s docker exec 异常问题排查

现象 表现是:通过docker exec进入容器卡住,并且在10后 rpc timeout 报错 背景信息 docker info 信息 [deployer@xxxx ~]$ sudo docker info Containers: 47 Running: 30 Paused: 0 Stopped: 17 Images: 30 Server Version: 18.09.5 Storage Driver: overlay2 Backing Filesystem: xfs Supports d_type: true

TIPS之 对比github,gitee使用习惯不同点

对比github,gitee使用习惯不同点: git fetch/rebase/squash

习惯使用github的同学,一定会发现github非常实用的两个功能: Sync fork Squash and merge/Rebase and merge Sync fork 当 fork 开源代码到个人分支后,由于主分支有其他人员提交,