摘要: kubeadm init --image-repository registry.aliyuncs.com/google_containers 阅读全文
posted @ 2020-09-16 23:51 埃姆提斯 阅读(424) 评论(0) 推荐(0)
摘要: 查看所有key keys * 查看key的过期时间 ttl key 获取值 get key 删除键 del key 阅读全文
posted @ 2020-09-15 15:27 埃姆提斯 阅读(128) 评论(0) 推荐(0)
摘要: docker ps -a docker exec -it 容器id redis-cli 阅读全文
posted @ 2020-09-15 15:16 埃姆提斯 阅读(2011) 评论(0) 推荐(0)
摘要: 本机的话直接跟着k8s.io的教程搭建minikube没有卡住。 在私有docker hub 配置上卡住了,这是网址https://kubernetes.io/zh/docs/tasks/configure-pod-container/pull-image-private-registry/ 卡住的 阅读全文
posted @ 2020-09-14 11:28 埃姆提斯 阅读(284) 评论(0) 推荐(0)
摘要: git stash save git stash list git stash pop [list拿到的key] git stash claer # 清空所有暂存 阅读全文
posted @ 2020-09-11 21:26 埃姆提斯 阅读(106) 评论(0) 推荐(0)
摘要: show create table xxx; 阅读全文
posted @ 2020-09-10 17:55 埃姆提斯 阅读(328) 评论(0) 推荐(0)
摘要: 一般使用 hystrix.Do来跟踪请求,需要传入请求名,所以正则匹配一下想要自定义配置的请求名。然后这样: 这是go-hystrix下doc.go里面的内容,vender源码到项目的好处之一是可以轻松查看框架资料! Synchronous API Since calling a command a 阅读全文
posted @ 2020-09-03 18:11 埃姆提斯 阅读(170) 评论(0) 推荐(0)
摘要: delete from a using a,b,c where a.xx = b.xx and b.xx = c.xx and 自己加的条件 阅读全文
posted @ 2020-09-02 21:00 埃姆提斯 阅读(173) 评论(0) 推荐(0)
摘要: 只有v2版本支持,很简单,官网有 https://gorm.io/ 阅读全文
posted @ 2020-09-02 12:39 埃姆提斯 阅读(2396) 评论(0) 推荐(0)
摘要: 对于v2版本在配置连接的时候可以自定义日志,具体官网有。 https://gorm.io/ 阅读全文
posted @ 2020-09-02 12:38 埃姆提斯 阅读(818) 评论(0) 推荐(0)