我試圖去學習並一直在努力,但遇到了我無法理解的行爲。我想這不是真的與etcd? 所以,我有一個鍵/值的etcd v3安裝程序。當我找回「得到」(見here)我本來期望能夠通過檢索自己的價值: fmt.Println(resp.Kvs.Value)
但是,這並不工作,我必須這樣做,因爲每例子(在上面的鏈接),並遍歷一個結果揭露它: for _, ev := range resp.Kvs {
f
獲取集羣健康在命令行,我可以運行下面的命令來查看etcd羣的羣健康,像這樣: etcdctl cluster-health
member ac92bd2949b92e96 is healthy: got healthy result from https://172.31.26.170:2379
member bebdb18e18d35331 is healthy: got healthy r