{"action":"created","issue":{"url":"https://api.github.com/repos/openfaas/faas-netes/issues/70","repository_url":"https://api.github.com/repos/openfaas/faas-netes","labels_url":"https://api.github.com/repos/openfaas/faas-netes/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/openfaas/faas-netes/issues/70/comments","events_url":"https://api.github.com/repos/openfaas/faas-netes/issues/70/events","html_url":"https://github.com/openfaas/faas-netes/issues/70","id":269869514,"number":70,"title":"Proposal: CRD/controller to manage functions","user":{"login":"alexellis","id":6358735,"avatar_url":"https://avatars1.githubusercontent.com/u/6358735?v=4","gravatar_id":"","url":"https://api.github.com/users/alexellis","html_url":"https://github.com/alexellis","followers_url":"https://api.github.com/users/alexellis/followers","following_url":"https://api.github.com/users/alexellis/following{/other_user}","gists_url":"https://api.github.com/users/alexellis/gists{/gist_id}","starred_url":"https://api.github.com/users/alexellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexellis/subscriptions","organizations_url":"https://api.github.com/users/alexellis/orgs","repos_url":"https://api.github.com/users/alexellis/repos","events_url":"https://api.github.com/users/alexellis/events{/privacy}","received_events_url":"https://api.github.com/users/alexellis/received_events","type":"User","site_admin":false},"labels":[{"id":653280616,"url":"https://api.github.com/repos/openfaas/faas-netes/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":684926719,"url":"https://api.github.com/repos/openfaas/faas-netes/labels/skill/advanced","name":"skill/advanced","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-10-31T08:10:33Z","updated_at":"2018-05-21T15:19:23Z","closed_at":null,"author_association":"MEMBER","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\nCreate a CRD custom resource definition which represents the Function abstraction. Plus controller to reconcile the state.\r\n\r\nA Function would internally create the existing pair of:\r\n\r\n* Service\r\n* Deployment\r\n\r\nThe faas-netesd controller would be responsible for accepting the Function definition via the existing RESTful API. Then rather than creating/updating/deleting services and deployments we'd create/update/delete Functions.\r\n\r\nThe controller would then be responsible for CRUD on Services/Deployments.\r\n\r\nOther concerns include:\r\n- migration to users with existing deployments of OpenFaaS\r\n- maintaining backwards compatibility - i.e. what is the minimum version CRDs become available?\r\n- maintaining a least-privilege scope for RBAC\r\n\r\n## Status\r\n\r\nLevel: advanced\r\nStatus: design/PoC\r\n\r\n## Initial work / artifacts\r\n\r\nInitial work / artifacts should begin to define and scope the work only.\r\n\r\nPlease create architectural diagrams to support design."},"comment":{"url":"https://api.github.com/repos/openfaas/faas-netes/issues/comments/390686335","html_url":"https://github.com/openfaas/faas-netes/issues/70#issuecomment-390686335","issue_url":"https://api.github.com/repos/openfaas/faas-netes/issues/70","id":390686335,"user":{"login":"alexellis","id":6358735,"avatar_url":"https://avatars1.githubusercontent.com/u/6358735?v=4","gravatar_id":"","url":"https://api.github.com/users/alexellis","html_url":"https://github.com/alexellis","followers_url":"https://api.github.com/users/alexellis/followers","following_url":"https://api.github.com/users/alexellis/following{/other_user}","gists_url":"https://api.github.com/users/alexellis/gists{/gist_id}","starred_url":"https://api.github.com/users/alexellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexellis/subscriptions","organizations_url":"https://api.github.com/users/alexellis/orgs","repos_url":"https://api.github.com/users/alexellis/repos","events_url":"https://api.github.com/users/alexellis/events{/privacy}","received_events_url":"https://api.github.com/users/alexellis/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T15:19:23Z","updated_at":"2018-05-21T15:19:23Z","author_association":"MEMBER","body":"@stefanprodan what thoughts do you have on the new operator framework/SDK via CoreOS/RedHat? Pros/cons? https://github.com/operator-framework"}}
{"actor":{"display_login":"alexellis"}}