会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hao.ma
http://weibo.com/haomase7en
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
23
下一页
2018年9月19日
nslookup install
摘要: #Ubuntu: sudo apt-get install dnsutils #Debian: apt-get update apt-get install dnsutils #Fedora / Centos: yum install bind-utils
阅读全文
posted @ 2018-09-19 11:30 hao.ma
阅读(192)
评论(0)
推荐(0)
2018年9月12日
linux program status
摘要: #用top命令指定固定的PID top -p $pid #通过pid查看状态 cat /proc/10997/status
阅读全文
posted @ 2018-09-12 16:39 hao.ma
阅读(191)
评论(0)
推荐(0)
2018年9月7日
journalctl summary
摘要: # 查看1分钟以前的日志 sudo journalctl --since "1 min ago" journalctl --since "2018-03-26 20:20:00" #default value is: "00" journalctl --since "2018-03-26" --until "2018-03-26 03:00" # 查看某个单元/服务的日志 sudo j...
阅读全文
posted @ 2018-09-07 10:36 hao.ma
阅读(140)
评论(0)
推荐(0)
2018年8月29日
KubeDNS not working inside of pod when its containers are on the same node with kube-dns containers
摘要: pod中访问dns出现偶尔超时的问题现在定位原因是:[问题复现]若kube-dns的pod与访问dns的pod服务位于同一node节点中时无法通过service的vip访问到该podk8s中的issue中也有相同的描述:https://github.com/kubernetes/kubernetes
阅读全文
posted @ 2018-08-29 11:39 hao.ma
阅读(163)
评论(0)
推荐(0)
2018年8月14日
curl time
摘要: # cat curl-format.txt time_namelookup: %{time_namelookup} \n time_connect: %{time_connect} \n time_appconnect: %{time_appconnect} \n time_redirect: %{time_redirect} \n time_pretransfer: %{time_...
阅读全文
posted @ 2018-08-14 21:40 hao.ma
阅读(234)
评论(0)
推荐(0)
2018年8月6日
container init
摘要: yum install net-tools yum install net-tools yum install telnet.* yum install telnet.* yum install telnet.*
阅读全文
posted @ 2018-08-06 10:30 hao.ma
阅读(127)
评论(0)
推荐(0)
2018年8月2日
k8s proxy
摘要: nohup kubectl proxy --address=`hostname -i` --accept-hosts='.*' --port=8080 > /tmp/kube-proxy.log 2>&1 &
阅读全文
posted @ 2018-08-02 16:07 hao.ma
阅读(296)
评论(0)
推荐(0)
2018年7月28日
leetcode LRU Cache Golang
摘要: package main import( "fmt" ) type Node struct { Key string Val string Pre *Node Next *Node } type DLinkedList struct { Head *Node Tail *Node } func (self *DLinkedList) IsEmpty() bool { i...
阅读全文
posted @ 2018-07-28 18:48 hao.ma
阅读(436)
评论(0)
推荐(0)
2018年7月15日
kubernetes 1.8
摘要: Cluster Lifecycle 层面对 kubeadm 添加了 self-hosted 功能,意味着可以将 Kubernetes 运行在 Kubernetes 上,即自举。自举被认为是系统”优雅”的一种体现,实际上 Kubernetes 在很早期就开始尝试自举,现在 kubeadm 直接添加此功
阅读全文
posted @ 2018-07-15 17:23 hao.ma
阅读(172)
评论(0)
推荐(0)
2018年7月5日
reset nodes
摘要: kubeadm resetrm -rf /etc/systemd/system/kubelet.service.d/*rm -rf /etc/kubernetes/rpm -qa yum remove -y kubeletip link del cni0ip link del flannel.1rm
阅读全文
posted @ 2018-07-05 19:31 hao.ma
阅读(120)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
23
下一页
公告