{"id":22190,"date":"2019-03-28T10:00:12","date_gmt":"2019-03-28T01:00:12","guid":{"rendered":"https:\/\/www.techscore.com\/blog\/?p=22190"},"modified":"2019-03-28T13:53:41","modified_gmt":"2019-03-28T04:53:41","slug":"raft-consensus-algorithm","status":"publish","type":"post","link":"https:\/\/www.techscore.com\/blog\/2019\/03\/28\/raft-consensus-algorithm\/","title":{"rendered":"Raft - Kubernetes(etcd)\u306eHA\u69cb\u6210\u306f\u306a\u305c3\u53f0\u4ee5\u4e0a\uff1f"},"content":{"rendered":"

\u3053\u3093\u306b\u3061\u306f\u3002\u677e\u672c\u3067\u3059\u3002<\/p>\n

Kubernetes \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u306e HA(High Available) \u69cb\u6210\u306f\u4e8c\u901a\u308a\u3042\u308a\u307e\u3059\u304c\u3001\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5185\u306b\u6b21\u306e\u3088\u3046\u306a\u8a18\u8ff0<\/a>\u304c\u3042\u308a\u3001\u3044\u305a\u308c\u306e\u65b9\u5f0f\u3067\u3082 3 \u53f0\u4ee5\u4e0a\u306e\u30de\u30b7\u30f3\u3067\u30af\u30e9\u30b9\u30bf\u30fc\u3092\u69cb\u6210\u3059\u308b\u3053\u3068\u304c\u6c42\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n

\n For both methods you need this infrastructure:<\/p>\n

Three machines<\/strong> that meet kubeadm\u2019s minimum requirements for the masters<\/p>\n

\uff08\u4e2d\u7565\uff09<\/p>\n

For the external etcd cluster only, you also need:<\/p>\n

Three additional machines<\/strong> for etcd members\n<\/p><\/blockquote>\n

\u3053\u306e\u3001\u6700\u5c0f\u304c \"three\" \u3067\u3042\u308b\u5fc5\u8981\u6027<\/strong>\u306f\u3001\u3069\u3053\u304b\u3089\u304f\u308b\u5236\u7d04\u306a\u306e\u3067\u3057\u3087\u3046\u304b\u3002\"two\" \u3058\u3083\u3060\u3081\u306a\u306e\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n

\u4e8c\u901a\u308a\u306e HA \u69cb\u6210\u3068\u306f\u6b21\u306e\u901a\u308a\u3067\u3001\u305d\u306e\u4e3b\u306a\u9055\u3044\u306f etcd \u30af\u30e9\u30b9\u30bf\u30fc\u306e\u69cb\u6210\u65b9\u6cd5\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n