{"action":"created","comment":{"url":"https://api.github.com/repos/istio/istio.github.io/pulls/comments/167038203","pull_request_review_id":95196691,"id":167038203,"diff_hunk":"@@ -0,0 +1,49 @@\n+---\n+title: \"Traffic mirroring with Istio for testing in production\"\n+overview: An introduction to safer, lower-risk deployments and release to production\n+publish_date: February 8, 2018\n+subtitle: Routing rules for HTTP traffic\n+attribution: Christian Posta\n+\n+order: 95\n+\n+layout: blog\n+type: markdown\n+redirect_from: \"/blog/traffic-mirroring.html\"\n+---\n+{% include home.html %}\n+\n+Tryign to enumerate all of the possible cominations of test cases for testing services in lower environments can be daunting. In some cases, you'll find that all of the effort that goes into cataloging this use cases doesn't match up to real production use cases. Ideally, we could use live production usecases and traffic to help illuminate all of the areas of our code that we might miss in more contrived lower-stage testing. \n+\n+Istio can help here. With the release of [Istio 0.5.0]({{home}}/about/notes/0.5.html), Istio can mirror traffic to help test your services. We can write route rules similar to the following the enable mirroring:","path":"_blog/2018/traffic-mirroring.md","position":18,"original_position":18,"commit_id":"7087a27315b8a3a3f16b4b5922a5535d54e2321c","original_commit_id":"7087a27315b8a3a3f16b4b5922a5535d54e2321c","user":{"login":"geeknoid","id":22780957,"avatar_url":"https://avatars3.githubusercontent.com/u/22780957?v=4","gravatar_id":"","url":"https://api.github.com/users/geeknoid","html_url":"https://github.com/geeknoid","followers_url":"https://api.github.com/users/geeknoid/followers","following_url":"https://api.github.com/users/geeknoid/following{/other_user}","gists_url":"https://api.github.com/users/geeknoid/gists{/gist_id}","starred_url":"https://api.github.com/users/geeknoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geeknoid/subscriptions","organizations_url":"https://api.github.com/users/geeknoid/orgs","repos_url":"https://api.github.com/users/geeknoid/repos","events_url":"https://api.github.com/users/geeknoid/events{/privacy}","received_events_url":"https://api.github.com/users/geeknoid/received_events","type":"User","site_admin":false},"body":"We can -> You can","created_at":"2018-02-08T19:12:25Z","updated_at":"2018-02-08T19:15:14Z","html_url":"https://github.com/istio/istio.github.io/pull/952#discussion_r167038203","pull_request_url":"https://api.github.com/repos/istio/istio.github.io/pulls/952","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/istio/istio.github.io/pulls/comments/167038203"},"html":{"href":"https://github.com/istio/istio.github.io/pull/952#discussion_r167038203"},"pull_request":{"href":"https://api.github.com/repos/istio/istio.github.io/pulls/952"}}},"pull_request":{"url":"https://api.github.com/repos/istio/istio.github.io/pulls/952","id":168040198,"html_url":"https://github.com/istio/istio.github.io/pull/952","diff_url":"https://github.com/istio/istio.github.io/pull/952.diff","patch_url":"https://github.com/istio/istio.github.io/pull/952.patch","issue_url":"https://api.github.com/repos/istio/istio.github.io/issues/952","number":952,"state":"open","locked":false,"title":"added mirroring blog","user":{"login":"christian-posta","id":53201,"avatar_url":"https://avatars3.githubusercontent.com/u/53201?v=4","gravatar_id":"","url":"https://api.github.com/users/christian-posta","html_url":"https://github.com/christian-posta","followers_url":"https://api.github.com/users/christian-posta/followers","following_url":"https://api.github.com/users/christian-posta/following{/other_user}","gists_url":"https://api.github.com/users/christian-posta/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-posta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-posta/subscriptions","organizations_url":"https://api.github.com/users/christian-posta/orgs","repos_url":"https://api.github.com/users/christian-posta/repos","events_url":"https://api.github.com/users/christian-posta/events{/privacy}","received_events_url":"https://api.github.com/users/christian-posta/received_events","type":"User","site_admin":false},"body":"cc @rshriram @thisisnotapril ","created_at":"2018-02-08T17:38:34Z","updated_at":"2018-02-08T19:15:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"969e25f5d928e2a7627c15f4e294cacaedf7264d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"frankbu","id":2752495,"avatar_url":"https://avatars2.githubusercontent.com/u/2752495?v=4","gravatar_id":"","url":"https://api.github.com/users/frankbu","html_url":"https://github.com/frankbu","followers_url":"https://api.github.com/users/frankbu/followers","following_url":"https://api.github.com/users/frankbu/following{/other_user}","gists_url":"https://api.github.com/users/frankbu/gists{/gist_id}","starred_url":"https://api.github.com/users/frankbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankbu/subscriptions","organizations_url":"https://api.github.com/users/frankbu/orgs","repos_url":"https://api.github.com/users/frankbu/repos","events_url":"https://api.github.com/users/frankbu/events{/privacy}","received_events_url":"https://api.github.com/users/frankbu/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/istio/istio.github.io/pulls/952/commits","review_comments_url":"https://api.github.com/repos/istio/istio.github.io/pulls/952/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/952/comments","statuses_url":"https://api.github.com/repos/istio/istio.github.io/statuses/7087a27315b8a3a3f16b4b5922a5535d54e2321c","head":{"label":"christian-posta:ceposta-blog","ref":"ceposta-blog","sha":"7087a27315b8a3a3f16b4b5922a5535d54e2321c","user":{"login":"christian-posta","id":53201,"avatar_url":"https://avatars3.githubusercontent.com/u/53201?v=4","gravatar_id":"","url":"https://api.github.com/users/christian-posta","html_url":"https://github.com/christian-posta","followers_url":"https://api.github.com/users/christian-posta/followers","following_url":"https://api.github.com/users/christian-posta/following{/other_user}","gists_url":"https://api.github.com/users/christian-posta/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-posta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-posta/subscriptions","organizations_url":"https://api.github.com/users/christian-posta/orgs","repos_url":"https://api.github.com/users/christian-posta/repos","events_url":"https://api.github.com/users/christian-posta/events{/privacy}","received_events_url":"https://api.github.com/users/christian-posta/received_events","type":"User","site_admin":false},"repo":{"id":91023539,"name":"istio.github.io","full_name":"christian-posta/istio.github.io","owner":{"login":"christian-posta","id":53201,"avatar_url":"https://avatars3.githubusercontent.com/u/53201?v=4","gravatar_id":"","url":"https://api.github.com/users/christian-posta","html_url":"https://github.com/christian-posta","followers_url":"https://api.github.com/users/christian-posta/followers","following_url":"https://api.github.com/users/christian-posta/following{/other_user}","gists_url":"https://api.github.com/users/christian-posta/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-posta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-posta/subscriptions","organizations_url":"https://api.github.com/users/christian-posta/orgs","repos_url":"https://api.github.com/users/christian-posta/repos","events_url":"https://api.github.com/users/christian-posta/events{/privacy}","received_events_url":"https://api.github.com/users/christian-posta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christian-posta/istio.github.io","description":"Source for the istio.io site","fork":true,"url":"https://api.github.com/repos/christian-posta/istio.github.io","forks_url":"https://api.github.com/repos/christian-posta/istio.github.io/forks","keys_url":"https://api.github.com/repos/christian-posta/istio.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christian-posta/istio.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christian-posta/istio.github.io/teams","hooks_url":"https://api.github.com/repos/christian-posta/istio.github.io/hooks","issue_events_url":"https://api.github.com/repos/christian-posta/istio.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/christian-posta/istio.github.io/events","assignees_url":"https://api.github.com/repos/christian-posta/istio.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/christian-posta/istio.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/christian-posta/istio.github.io/tags","blobs_url":"https://api.github.com/repos/christian-posta/istio.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christian-posta/istio.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christian-posta/istio.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/christian-posta/istio.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christian-posta/istio.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/christian-posta/istio.github.io/languages","stargazers_url":"https://api.github.com/repos/christian-posta/istio.github.io/stargazers","contributors_url":"https://api.github.com/repos/christian-posta/istio.github.io/contributors","subscribers_url":"https://api.github.com/repos/christian-posta/istio.github.io/subscribers","subscription_url":"https://api.github.com/repos/christian-posta/istio.github.io/subscription","commits_url":"https://api.github.com/repos/christian-posta/istio.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/christian-posta/istio.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/christian-posta/istio.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/christian-posta/istio.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/christian-posta/istio.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/christian-posta/istio.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christian-posta/istio.github.io/merges","archive_url":"https://api.github.com/repos/christian-posta/istio.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christian-posta/istio.github.io/downloads","issues_url":"https://api.github.com/repos/christian-posta/istio.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/christian-posta/istio.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/christian-posta/istio.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/christian-posta/istio.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christian-posta/istio.github.io/labels{/name}","releases_url":"https://api.github.com/repos/christian-posta/istio.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/christian-posta/istio.github.io/deployments","created_at":"2017-05-11T21:06:25Z","updated_at":"2017-05-11T21:06:27Z","pushed_at":"2018-02-08T17:34:02Z","git_url":"git://github.com/christian-posta/istio.github.io.git","ssh_url":"git@github.com:christian-posta/istio.github.io.git","clone_url":"https://github.com/christian-posta/istio.github.io.git","svn_url":"https://github.com/christian-posta/istio.github.io","homepage":"http://istio.io","size":20809,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"istio:master","ref":"master","sha":"ca2fdb0b24b5a10b03c75736cf4108c1734e7240","user":{"login":"istio","id":23534644,"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,"name":"istio.github.io","full_name":"istio/istio.github.io","owner":{"login":"istio","id":23534644,"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-02-06T22:46:06Z","pushed_at":"2018-02-08T19:07:19Z","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":20788,"stargazers_count":46,"watchers_count":46,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":144,"mirror_url":null,"archived":false,"open_issues_count":54,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":144,"open_issues":54,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/istio/istio.github.io/pulls/952"},"html":{"href":"https://github.com/istio/istio.github.io/pull/952"},"issue":{"href":"https://api.github.com/repos/istio/istio.github.io/issues/952"},"comments":{"href":"https://api.github.com/repos/istio/istio.github.io/issues/952/comments"},"review_comments":{"href":"https://api.github.com/repos/istio/istio.github.io/pulls/952/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/952/commits"},"statuses":{"href":"https://api.github.com/repos/istio/istio.github.io/statuses/7087a27315b8a3a3f16b4b5922a5535d54e2321c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"geeknoid"}}