{"action":"created","comment":{"url":"https://api.github.com/repos/istio/istio.github.io/pulls/comments/211101606","pull_request_review_id":147457357,"id":211101606,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTEwMTYwNg==","diff_hunk":"@@ -0,0 +1,27 @@\n+---\n+title: 当启用双向 TLS 认证时应该如何使用 Kubernetes liveness 和 readiness 对服务进行健康检查？\n+weight: 50\n+---\n+如果启用了双向 TLS 认证，则来自 kubelet 的 http 和 tcp 健康检查将不能正常工作，因为 kubelet 没有 Istio 颁发的证书。\n+\n+从 Istio 1.0 版本开始，我们对 Istio 服务支持 [`PERMISSIVE` mode](/docs/tasks/security/mtls-migration)\n+，因此当这个模式打开时他们可以接受 http 和双向 TLS 流量。这可以解决健康检查问题。\n+请记住，双向 TLS 没有强制执行，因为其他服务可以使用 http 流量与该服务进行通信。\n+\n+您可以使用单独的端口进行健康检查，并只在常规服务端口上启用双向 TLS。请参阅 [Istio 服务的健康检查](/docs/tasks/traffic-management/app-health-check/) 了解更多信息。","path":"content_zh/help/faq/security/k8s-health-checks.md","position":11,"original_position":11,"commit_id":"99f01e0d7313fa94d83fe4fd78bc9ffde0ffb4ae","original_commit_id":"99f01e0d7313fa94d83fe4fd78bc9ffde0ffb4ae","user":{"login":"fleeto","id":6958477,"node_id":"MDQ6VXNlcjY5NTg0Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6958477?v=4","gravatar_id":"","url":"https://api.github.com/users/fleeto","html_url":"https://github.com/fleeto","followers_url":"https://api.github.com/users/fleeto/followers","following_url":"https://api.github.com/users/fleeto/following{/other_user}","gists_url":"https://api.github.com/users/fleeto/gists{/gist_id}","starred_url":"https://api.github.com/users/fleeto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleeto/subscriptions","organizations_url":"https://api.github.com/users/fleeto/orgs","repos_url":"https://api.github.com/users/fleeto/repos","events_url":"https://api.github.com/users/fleeto/events{/privacy}","received_events_url":"https://api.github.com/users/fleeto/received_events","type":"User","site_admin":false},"body":"`) 了` => `)了`","created_at":"2018-08-19T12:31:12Z","updated_at":"2018-08-19T12:31:12Z","html_url":"https://github.com/istio/istio.github.io/pull/2293#discussion_r211101606","pull_request_url":"https://api.github.com/repos/istio/istio.github.io/pulls/2293","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/istio/istio.github.io/pulls/comments/211101606"},"html":{"href":"https://github.com/istio/istio.github.io/pull/2293#discussion_r211101606"},"pull_request":{"href":"https://api.github.com/repos/istio/istio.github.io/pulls/2293"}}},"pull_request":{"url":"https://api.github.com/repos/istio/istio.github.io/pulls/2293","id":209341371,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MzQxMzcx","html_url":"https://github.com/istio/istio.github.io/pull/2293","diff_url":"https://github.com/istio/istio.github.io/pull/2293.diff","patch_url":"https://github.com/istio/istio.github.io/pull/2293.patch","issue_url":"https://api.github.com/repos/istio/istio.github.io/issues/2293","number":2293,"state":"open","locked":false,"title":"Translation:k8s health checks","user":{"login":"pigletfly","id":877790,"node_id":"MDQ6VXNlcjg3Nzc5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/877790?v=4","gravatar_id":"","url":"https://api.github.com/users/pigletfly","html_url":"https://github.com/pigletfly","followers_url":"https://api.github.com/users/pigletfly/followers","following_url":"https://api.github.com/users/pigletfly/following{/other_user}","gists_url":"https://api.github.com/users/pigletfly/gists{/gist_id}","starred_url":"https://api.github.com/users/pigletfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pigletfly/subscriptions","organizations_url":"https://api.github.com/users/pigletfly/orgs","repos_url":"https://api.github.com/users/pigletfly/repos","events_url":"https://api.github.com/users/pigletfly/events{/privacy}","received_events_url":"https://api.github.com/users/pigletfly/received_events","type":"User","site_admin":false},"body":"/assign @rootsongjc @fleeto ","created_at":"2018-08-19T03:47:49Z","updated_at":"2018-08-19T12:31:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e9335d46ba04b4676317ea6a2dd2d0bac2ae81b","assignee":{"login":"fleeto","id":6958477,"node_id":"MDQ6VXNlcjY5NTg0Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6958477?v=4","gravatar_id":"","url":"https://api.github.com/users/fleeto","html_url":"https://github.com/fleeto","followers_url":"https://api.github.com/users/fleeto/followers","following_url":"https://api.github.com/users/fleeto/following{/other_user}","gists_url":"https://api.github.com/users/fleeto/gists{/gist_id}","starred_url":"https://api.github.com/users/fleeto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleeto/subscriptions","organizations_url":"https://api.github.com/users/fleeto/orgs","repos_url":"https://api.github.com/users/fleeto/repos","events_url":"https://api.github.com/users/fleeto/events{/privacy}","received_events_url":"https://api.github.com/users/fleeto/received_events","type":"User","site_admin":false},"assignees":[{"login":"rootsongjc","id":3328185,"node_id":"MDQ6VXNlcjMzMjgxODU=","avatar_url":"https://avatars3.githubusercontent.com/u/3328185?v=4","gravatar_id":"","url":"https://api.github.com/users/rootsongjc","html_url":"https://github.com/rootsongjc","followers_url":"https://api.github.com/users/rootsongjc/followers","following_url":"https://api.github.com/users/rootsongjc/following{/other_user}","gists_url":"https://api.github.com/users/rootsongjc/gists{/gist_id}","starred_url":"https://api.github.com/users/rootsongjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootsongjc/subscriptions","organizations_url":"https://api.github.com/users/rootsongjc/orgs","repos_url":"https://api.github.com/users/rootsongjc/repos","events_url":"https://api.github.com/users/rootsongjc/events{/privacy}","received_events_url":"https://api.github.com/users/rootsongjc/received_events","type":"User","site_admin":false},{"login":"fleeto","id":6958477,"node_id":"MDQ6VXNlcjY5NTg0Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6958477?v=4","gravatar_id":"","url":"https://api.github.com/users/fleeto","html_url":"https://github.com/fleeto","followers_url":"https://api.github.com/users/fleeto/followers","following_url":"https://api.github.com/users/fleeto/following{/other_user}","gists_url":"https://api.github.com/users/fleeto/gists{/gist_id}","starred_url":"https://api.github.com/users/fleeto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleeto/subscriptions","organizations_url":"https://api.github.com/users/fleeto/orgs","repos_url":"https://api.github.com/users/fleeto/repos","events_url":"https://api.github.com/users/fleeto/events{/privacy}","received_events_url":"https://api.github.com/users/fleeto/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"rootsongjc","id":3328185,"node_id":"MDQ6VXNlcjMzMjgxODU=","avatar_url":"https://avatars3.githubusercontent.com/u/3328185?v=4","gravatar_id":"","url":"https://api.github.com/users/rootsongjc","html_url":"https://github.com/rootsongjc","followers_url":"https://api.github.com/users/rootsongjc/followers","following_url":"https://api.github.com/users/rootsongjc/following{/other_user}","gists_url":"https://api.github.com/users/rootsongjc/gists{/gist_id}","starred_url":"https://api.github.com/users/rootsongjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootsongjc/subscriptions","organizations_url":"https://api.github.com/users/rootsongjc/orgs","repos_url":"https://api.github.com/users/rootsongjc/repos","events_url":"https://api.github.com/users/rootsongjc/events{/privacy}","received_events_url":"https://api.github.com/users/rootsongjc/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":884247475,"node_id":"MDU6TGFiZWw4ODQyNDc0NzU=","url":"https://api.github.com/repos/istio/istio.github.io/labels/cla:%20yes","name":"cla: yes","color":"bfdadc","default":false},{"id":985102886,"node_id":"MDU6TGFiZWw5ODUxMDI4ODY=","url":"https://api.github.com/repos/istio/istio.github.io/labels/translation/chinese","name":"translation/chinese","color":"675ed1","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/istio/istio.github.io/pulls/2293/commits","review_comments_url":"https://api.github.com/repos/istio/istio.github.io/pulls/2293/comments","review_comment_url":"https://api.github.com/repos/istio/istio.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/istio/istio.github.io/issues/2293/comments","statuses_url":"https://api.github.com/repos/istio/istio.github.io/statuses/99f01e0d7313fa94d83fe4fd78bc9ffde0ffb4ae","head":{"label":"pigletfly:k8s-health-checks","ref":"k8s-health-checks","sha":"99f01e0d7313fa94d83fe4fd78bc9ffde0ffb4ae","user":{"login":"pigletfly","id":877790,"node_id":"MDQ6VXNlcjg3Nzc5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/877790?v=4","gravatar_id":"","url":"https://api.github.com/users/pigletfly","html_url":"https://github.com/pigletfly","followers_url":"https://api.github.com/users/pigletfly/followers","following_url":"https://api.github.com/users/pigletfly/following{/other_user}","gists_url":"https://api.github.com/users/pigletfly/gists{/gist_id}","starred_url":"https://api.github.com/users/pigletfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pigletfly/subscriptions","organizations_url":"https://api.github.com/users/pigletfly/orgs","repos_url":"https://api.github.com/users/pigletfly/repos","events_url":"https://api.github.com/users/pigletfly/events{/privacy}","received_events_url":"https://api.github.com/users/pigletfly/received_events","type":"User","site_admin":false},"repo":{"id":139093856,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkwOTM4NTY=","name":"istio.github.io","full_name":"pigletfly/istio.github.io","owner":{"login":"pigletfly","id":877790,"node_id":"MDQ6VXNlcjg3Nzc5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/877790?v=4","gravatar_id":"","url":"https://api.github.com/users/pigletfly","html_url":"https://github.com/pigletfly","followers_url":"https://api.github.com/users/pigletfly/followers","following_url":"https://api.github.com/users/pigletfly/following{/other_user}","gists_url":"https://api.github.com/users/pigletfly/gists{/gist_id}","starred_url":"https://api.github.com/users/pigletfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pigletfly/subscriptions","organizations_url":"https://api.github.com/users/pigletfly/orgs","repos_url":"https://api.github.com/users/pigletfly/repos","events_url":"https://api.github.com/users/pigletfly/events{/privacy}","received_events_url":"https://api.github.com/users/pigletfly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pigletfly/istio.github.io","description":"Source for the istio.io site","fork":true,"url":"https://api.github.com/repos/pigletfly/istio.github.io","forks_url":"https://api.github.com/repos/pigletfly/istio.github.io/forks","keys_url":"https://api.github.com/repos/pigletfly/istio.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pigletfly/istio.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pigletfly/istio.github.io/teams","hooks_url":"https://api.github.com/repos/pigletfly/istio.github.io/hooks","issue_events_url":"https://api.github.com/repos/pigletfly/istio.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/pigletfly/istio.github.io/events","assignees_url":"https://api.github.com/repos/pigletfly/istio.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/pigletfly/istio.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/pigletfly/istio.github.io/tags","blobs_url":"https://api.github.com/repos/pigletfly/istio.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pigletfly/istio.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pigletfly/istio.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/pigletfly/istio.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pigletfly/istio.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/pigletfly/istio.github.io/languages","stargazers_url":"https://api.github.com/repos/pigletfly/istio.github.io/stargazers","contributors_url":"https://api.github.com/repos/pigletfly/istio.github.io/contributors","subscribers_url":"https://api.github.com/repos/pigletfly/istio.github.io/subscribers","subscription_url":"https://api.github.com/repos/pigletfly/istio.github.io/subscription","commits_url":"https://api.github.com/repos/pigletfly/istio.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/pigletfly/istio.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/pigletfly/istio.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/pigletfly/istio.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/pigletfly/istio.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/pigletfly/istio.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pigletfly/istio.github.io/merges","archive_url":"https://api.github.com/repos/pigletfly/istio.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pigletfly/istio.github.io/downloads","issues_url":"https://api.github.com/repos/pigletfly/istio.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/pigletfly/istio.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/pigletfly/istio.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/pigletfly/istio.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pigletfly/istio.github.io/labels{/name}","releases_url":"https://api.github.com/repos/pigletfly/istio.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/pigletfly/istio.github.io/deployments","created_at":"2018-06-29T02:59:11Z","updated_at":"2018-08-14T08:25:31Z","pushed_at":"2018-08-19T03:45:37Z","git_url":"git://github.com/pigletfly/istio.github.io.git","ssh_url":"git@github.com:pigletfly/istio.github.io.git","clone_url":"https://github.com/pigletfly/istio.github.io.git","svn_url":"https://github.com/pigletfly/istio.github.io","homepage":"https://istio.io/","size":29274,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"istio:master","ref":"master","sha":"c10b35529088390985558f521c15e7b9dd29657a","user":{"login":"istio","id":23534644,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNTM0NjQ0","avatar_url":"https://avatars1.githubusercontent.com/u/23534644?v=4","gravatar_id":"","url":"https://api.github.com/users/istio","html_url":"https://github.com/istio","followers_url":"https://api.github.com/users/istio/followers","following_url":"https://api.github.com/users/istio/following{/other_user}","gists_url":"https://api.github.com/users/istio/gists{/gist_id}","starred_url":"https://api.github.com/users/istio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istio/subscriptions","organizations_url":"https://api.github.com/users/istio/orgs","repos_url":"https://api.github.com/users/istio/repos","events_url":"https://api.github.com/users/istio/events{/privacy}","received_events_url":"https://api.github.com/users/istio/received_events","type":"Organization","site_admin":false},"repo":{"id":82706976,"node_id":"MDEwOlJlcG9zaXRvcnk4MjcwNjk3Ng==","name":"istio.github.io","full_name":"istio/istio.github.io","owner":{"login":"istio","id":23534644,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNTM0NjQ0","avatar_url":"https://avatars1.githubusercontent.com/u/23534644?v=4","gravatar_id":"","url":"https://api.github.com/users/istio","html_url":"https://github.com/istio","followers_url":"https://api.github.com/users/istio/followers","following_url":"https://api.github.com/users/istio/following{/other_user}","gists_url":"https://api.github.com/users/istio/gists{/gist_id}","starred_url":"https://api.github.com/users/istio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istio/subscriptions","organizations_url":"https://api.github.com/users/istio/orgs","repos_url":"https://api.github.com/users/istio/repos","events_url":"https://api.github.com/users/istio/events{/privacy}","received_events_url":"https://api.github.com/users/istio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/istio/istio.github.io","description":"Source for the istio.io site","fork":false,"url":"https://api.github.com/repos/istio/istio.github.io","forks_url":"https://api.github.com/repos/istio/istio.github.io/forks","keys_url":"https://api.github.com/repos/istio/istio.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/istio/istio.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/istio/istio.github.io/teams","hooks_url":"https://api.github.com/repos/istio/istio.github.io/hooks","issue_events_url":"https://api.github.com/repos/istio/istio.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/istio/istio.github.io/events","assignees_url":"https://api.github.com/repos/istio/istio.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/istio/istio.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/istio/istio.github.io/tags","blobs_url":"https://api.github.com/repos/istio/istio.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/istio/istio.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/istio/istio.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/istio/istio.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/istio/istio.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/istio/istio.github.io/languages","stargazers_url":"https://api.github.com/repos/istio/istio.github.io/stargazers","contributors_url":"https://api.github.com/repos/istio/istio.github.io/contributors","subscribers_url":"https://api.github.com/repos/istio/istio.github.io/subscribers","subscription_url":"https://api.github.com/repos/istio/istio.github.io/subscription","commits_url":"https://api.github.com/repos/istio/istio.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/istio/istio.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/istio/istio.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/istio/istio.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/istio/istio.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/istio/istio.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/istio/istio.github.io/merges","archive_url":"https://api.github.com/repos/istio/istio.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/istio/istio.github.io/downloads","issues_url":"https://api.github.com/repos/istio/istio.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/istio/istio.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/istio/istio.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/istio/istio.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/istio/istio.github.io/labels{/name}","releases_url":"https://api.github.com/repos/istio/istio.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/istio/istio.github.io/deployments","created_at":"2017-02-21T17:19:49Z","updated_at":"2018-08-18T15:33:29Z","pushed_at":"2018-08-19T12:23:17Z","git_url":"git://github.com/istio/istio.github.io.git","ssh_url":"git@github.com:istio/istio.github.io.git","clone_url":"https://github.com/istio/istio.github.io.git","svn_url":"https://github.com/istio/istio.github.io","homepage":"https://istio.io/","size":29327,"stargazers_count":99,"watchers_count":99,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":303,"mirror_url":null,"archived":false,"open_issues_count":72,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":303,"open_issues":72,"watchers":99,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/istio/istio.github.io/pulls/2293"},"html":{"href":"https://github.com/istio/istio.github.io/pull/2293"},"issue":{"href":"https://api.github.com/repos/istio/istio.github.io/issues/2293"},"comments":{"href":"https://api.github.com/repos/istio/istio.github.io/issues/2293/comments"},"review_comments":{"href":"https://api.github.com/repos/istio/istio.github.io/pulls/2293/comments"},"review_comment":{"href":"https://api.github.com/repos/istio/istio.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/istio/istio.github.io/pulls/2293/commits"},"statuses":{"href":"https://api.github.com/repos/istio/istio.github.io/statuses/99f01e0d7313fa94d83fe4fd78bc9ffde0ffb4ae"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"fleeto"}}