k8s容器驱逐之ephemeral-storage 1.容器被驱逐,首先比较直观的是查看EventThe node was low on resource: ephemeral-storage.Container zk was using 910316Ki, which exceeds its request of 0.2.原因cat /etc/docker/daemon.json{ "exec-opts": ["native.cgroupdriver=systemd"], "log-driver": "json-f...
maxwell元数据问题 1.问题"Couldn't find table xxx in xxxx 相关的schema问题2.分析2.1代码本身存在缺陷saveSchema缺少savePosition2.2DBA相关的操作rename table `test`.`user` to `test`.user_bak;rename table dev.user to `test`.`user`;在此场景下缺少schema的处理解决方案BinlogConnectorReplicator下针对捕获..
流量回放goreplay 1.网关权重99/1旁路2.goreplay编译测试<==============================/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1/bin/ld: cannot find -lpthread/bin/ld: cannot find -lc===============================>yum install glibc-stati
k8s-hpa 一、 产线当前是基于cpu和memory,当前考虑增加QPS来做HPA二、指标来源 应用容器自身采集、ingress-nginx-controller采集、 外部网关、 外部SLB三、步骤(测试)1、使用prometheus采集ingress-controller的指标(其他一样)2、helm部署prometheus-adapter-3.0.0.tgz3、配置prometheus-adapter自定义指标4、check指标函数以及ab测试1. - serie.
maxwell时间timestamp DateFormatter.javapublic static String formatDateTime(Object value, Timestamp ts, Time needCheckCdtFirstTime,boolean isTimestamp) { Calendar cal; Integer hour = null; if ( value instanceof Long ) { cal = isTimestamp && !MaxwellCon.
gRPC-client import com.aaa.service.grpc.*;import io.grpc.Channel;import io.grpc.ManagedChannel;import io.grpc.ManagedChannelBuilder;import io.grpc.StatusRuntimeException;import io.grpc.stub.StreamObserver;import java.util.HashSet;import java.util.Set;impor...
python客户端登录容器 #nginx:location / { alias D:\\workplace\\UI\\dist\\;}location /api/ws/{ proxy_pass http://127.0.0.1:9090/ws/; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";}location /api/ { proxy_pass http://127.0.0.1:9090/;}.
MutatingWebhookConfiguration升级 1.GitHub - caesarxuchao/example-webhook-admission-controller: An example of Kubernetes wehbook admission extensionAn example of Kubernetes wehbook admission extension - GitHub - caesarxuchao/example-webhook-admission-controller: An example of Kubernetes we
k8s1.20 问题https 1. 客户的 openssl 命令不支持 k8s 1.20 ,原因:https://github.com/kubernetes/kubernetes/pull/932642. 脚本修改 openssl 命令:https://github.com/kapicorp/kapitan-reference/pull/37/files#diff-9785650370c1ae0b43edde51b02a777e4ca883a2337091d8cae54a076680c7d4...
uwsgi server { autoindex on; listen 80; server_name localhost; access_log logs/hello.access.log main; location / { alias /opt/apps/ui/dist/; } location /api { .
CDN+OSS server { listen 8080; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location ~/(.*)/(.*)/(.*) { set $env $1; set $type $2; set $other $...
Vue+CDN+HISTORY location /aaa/go{ rewrite ^/(.*) /_index; } location /_index { proxy_pass http://xxxxxxxxxx.oss-cn-hangzhou.aliyuncs.com/aaa/index.html; proxy_set_header Host xxxxxxxxxx.oss-cn-han...