{"id":100044,"date":"2020-04-28T21:03:22","date_gmt":"2020-04-28T13:03:22","guid":{"rendered":"http:\/\/4563.org\/?p=100044"},"modified":"2020-04-28T21:03:22","modified_gmt":"2020-04-28T13:03:22","slug":"%e5%be%ae%e6%9c%8d%e5%8a%a1%e6%9e%b6%e6%9e%84%e4%b8%8b%e7%9a%84%e8%b4%9f%e8%bd%bd%e5%9d%87%e8%a1%a1%ef%bc%9a-kubernetes-dns-%e5%92%8c-enovy-%e4%bd%a0%e4%bc%9a%e9%80%89%e5%93%aa%e4%b8%aa%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=100044","title":{"rendered":"\u5fae\u670d\u52a1\u67b6\u6784\u4e0b\u7684\u8d1f\u8f7d\u5747\u8861\uff1a Kubernetes DNS \u548c Enovy \u4f60\u4f1a\u9009\u54ea\u4e2a\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5fae\u670d\u52a1\u67b6\u6784\u4e0b\u7684\u8d1f\u8f7d\u5747\u8861\uff1a Kubernetes DNS \u548c Enovy \u4f60\u4f1a\u9009\u54ea\u4e2a\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : feng32 <\/span>  <span><i><\/i> 48<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>Kubernetes \u5b98\u65b9\u6587\u6863\u6709\u4e00\u6bb5\u8fd9\u6837\u7684\u63cf\u8ff0\uff1a<\/p>\n<pre><code>With Kubernetes you don\u2019t need to modify your application to use an unfamiliar service discovery mechanism. Kubernetes gives Pods their own IP addresses and a single DNS name for a set of Pods, and can load-balance across them. <\/code><\/pre>\n<p>Envoy \u5b98\u65b9\u6587\u6863\u6709\u4e00\u6bb5\u8fd9\u6837\u7684\u63cf\u8ff0\uff1a<\/p>\n<pre><code>Because Envoy is a self contained proxy instead of a library, it is able to implement advanced load balancing techniques in a single place and have them be accessible to any application. <\/code><\/pre>\n<p>\u6709\u7528\u8fc7\u7684\u540c\u5b66\u53ef\u4ee5\u4ecb\u7ecd\u4e0b\u8fd9\u4e24\u8005\u7684\u8d1f\u8f7d\u5747\u8861\u5177\u4f53\u6709\u54ea\u4e9b\u5f02\u540c\u5417\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"773814\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : feng32 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             enovy -&gt; envoy                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"773815\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : artandlol <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             gloo                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"773816\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mritd <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             DNS \u751f\u4ea7\u73af\u5883\u80af\u5b9a\u4e0d\u9760\u8c31\u554a\uff0c\u4f60\u5bf9 \u57df\u540d\u8bf7\u6c42\u4e5f\u662f\u8bf7\u6c42\u56fa\u5b9a\u7684 svc \u57df\u540d\uff0c\u7136\u540e svc \u7ed9\u4f60\u8d1f\u8f7d\uff0c\u4f46\u662f\u4e0d\u7ba1\u600e\u4e48\u6837\uff0cDNS \u6709\u7f13\u5b58                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"773817\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Tinet <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             envoy                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"773818\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pmispig <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90fd\u4e0d\u9009\uff0c\u53ef\u4ee5\u9009 etcd \u4e4b\u7c7b\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5fae\u670d\u52a1\u67b6\u6784\u4e0b\u7684\u8d1f\u8f7d\u5747\u8861\uff1a Kube&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/100044"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=100044"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/100044\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=100044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=100044"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=100044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}