dig hostname
dig hostname A +short
dig hostname AAAA +short
dig hostname A hostname AAAA +short
DNS系统中,常见的资源记录类型有:
- 主机记录(A记录):RFC 1035定义,A记录是用于名称解析的重要记录,它将特定的主机名映射到对应主机的IP地址上。
umount /var/run/netns/idea &> /dev/null || true | |
docker rm -vf idea &> /dev/null || true | |
ip link del p1 &> /dev/null || true | |
docker run -d --name=idea --net=none --restart=always chenchun/ideals | |
pid=`docker inspect -f {{.State.Pid}} idea` | |
mkdir -p /var/run/netns/ | |
touch /var/run/netns/idea | |
mount --bind /proc/$pid/ns/net /var/run/netns/idea | |
ip link add p1 type veth peer name p2 | |
ip link set p2 netns idea |
dig hostname
dig hostname A +short
dig hostname AAAA +short
dig hostname A hostname AAAA +short
DNS系统中,常见的资源记录类型有:
以前只是在 linux 机器上使用 top 命令。常用的快键键是: | |
p 键 - 按 cpu 使用率排序 | |
m 键 - 按内存使用量排序 | |
这 2 个快捷键在 mac 上都不一样。对应的是,先输入 o,然后输入 cpu 则按 cpu 使用量排序,输入 rsize 则按内存使用量排序。 |
HAProxy supports a graceful and a hard stop. The hard stop is simple, when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed. The graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process. It consists in only unbinding from listening ports, but continue to process existing connections until they close. Once the last connection is closed, the process leaves.
http://www.pagetable.com/?p=831 https://github.com/mist64/xhyve
$ git clone https://github.com/mist64/xhyve
$ cd xhyve
$ make
$ ./xhyverun.sh
$ ps aux
kubernetes/kubernetes#20379 (comment)
@dcbw, your case seems different. The two DELETE events were just caused by how apisever and kubelet handles pod deletion.
apiserver sets the DeletionTimeStamp -> kubelet gets a DELETE event kubelet terminates the containers gracefully kubelet sends a request to the apiserver to actually remove the pod object (with DeletionGracePeriod=0) apiserver sets the DeletionGracePeriod -> kubelet gets a DELETE event again because of the udpate apiserver deletes the object -> kubelet gets a REMOVE event.
People
![]() :bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
v2 http api https://coreos.com/etcd/docs/latest/v2/api.html
etcd compaction https://github.com/coreos/etcd/blob/master/Documentation/op-guide/maintenance.md#space-quota
The followings are v3 apis
export ETCDCTL_API=3
ip link add br0 type bridge | |
ip link add br1 type bridge | |
ip link add dev v0 type veth peer name v1 | |
ip link set v0 master br0 | |
ip link set v1 master br1 | |
ip link set br0 up | |
ip link set br1 up | |
ip link set v0 up | |
ip link set v1 up | |
ip ad add 192.168.0.1/24 dev br0 |