{"action":"created","issue":{"url":"https://api.github.com/repos/heptio/ark/issues/234","repository_url":"https://api.github.com/repos/heptio/ark","labels_url":"https://api.github.com/repos/heptio/ark/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/heptio/ark/issues/234/comments","events_url":"https://api.github.com/repos/heptio/ark/issues/234/events","html_url":"https://github.com/heptio/ark/pull/234","id":278537904,"node_id":"MDExOlB1bGxSZXF1ZXN0MTU1OTE1MDE5","number":234,"title":"Add pprof support to ark server","user":{"login":"ncdc","id":354,"node_id":"MDQ6VXNlcjM1NA==","avatar_url":"https://avatars2.githubusercontent.com/u/354?v=4","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false},"labels":[{"id":964041193,"node_id":"MDU6TGFiZWw5NjQwNDExOTM=","url":"https://api.github.com/repos/heptio/ark/labels/Enhancement/Dev","name":"Enhancement/Dev","color":"57d1b6","default":false},{"id":665348949,"node_id":"MDU6TGFiZWw2NjUzNDg5NDk=","url":"https://api.github.com/repos/heptio/ark/labels/P2%20-%20Long-term%20important","name":"P2 - Long-term important","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-12-01T17:25:14Z","updated_at":"2018-12-05T15:06:56Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/heptio/ark/pulls/234","html_url":"https://github.com/heptio/ark/pull/234","diff_url":"https://github.com/heptio/ark/pull/234.diff","patch_url":"https://github.com/heptio/ark/pull/234.patch"},"body":"Fixes #85 \r\n\r\nThere is a new `ark server` flag: `--profiler-address`. It defaults to `localhost:6060`. This means by default it's only accessible if you use `kubectl port-forward`, but you can change it to something like `:6060` and put a service + ingress in front if you want to make it publicly accessible. There is no authentication for it at this time.\r\n\r\nThis does not add pprof support for plugin processes. Those tend to be relatively short-lived. If needed, in the future we could add some sort of debugging flag that would capture various pprof data from plugin processes and store it in files local to the ark server pod, and they could be retrieved after the fact by hand using `kubectl cp` or some other mechanism."},"comment":{"url":"https://api.github.com/repos/heptio/ark/issues/comments/444517495","html_url":"https://github.com/heptio/ark/pull/234#issuecomment-444517495","issue_url":"https://api.github.com/repos/heptio/ark/issues/234","id":444517495,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDUxNzQ5NQ==","user":{"login":"ncdc","id":354,"node_id":"MDQ6VXNlcjM1NA==","avatar_url":"https://avatars2.githubusercontent.com/u/354?v=4","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T15:06:56Z","updated_at":"2018-12-05T15:06:56Z","author_association":"MEMBER","body":"I've added the unreleased folder and an initial attempt at an entry for this PR. I went with the \"easy\" approach for now (see discussion at \r\nhttps://github.com/heptio/ark/issues/1112#issuecomment-444516427)"}}
{"actor":{"display_login":"ncdc"}}