{"action":"created","issue":{"url":"https://api.github.com/repos/zalando-incubator/kubernetes-on-aws/issues/930","repository_url":"https://api.github.com/repos/zalando-incubator/kubernetes-on-aws","labels_url":"https://api.github.com/repos/zalando-incubator/kubernetes-on-aws/issues/930/labels{/name}","comments_url":"https://api.github.com/repos/zalando-incubator/kubernetes-on-aws/issues/930/comments","events_url":"https://api.github.com/repos/zalando-incubator/kubernetes-on-aws/issues/930/events","html_url":"https://github.com/zalando-incubator/kubernetes-on-aws/pull/930","id":305658575,"number":930,"title":"Initial work to support EFS (wip)","user":{"login":"linki","id":36162,"avatar_url":"https://avatars1.githubusercontent.com/u/36162?v=4","gravatar_id":"","url":"https://api.github.com/users/linki","html_url":"https://github.com/linki","followers_url":"https://api.github.com/users/linki/followers","following_url":"https://api.github.com/users/linki/following{/other_user}","gists_url":"https://api.github.com/users/linki/gists{/gist_id}","starred_url":"https://api.github.com/users/linki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linki/subscriptions","organizations_url":"https://api.github.com/users/linki/orgs","repos_url":"https://api.github.com/users/linki/repos","events_url":"https://api.github.com/users/linki/events{/privacy}","received_events_url":"https://api.github.com/users/linki/received_events","type":"User","site_admin":false},"labels":[{"id":487520995,"url":"https://api.github.com/repos/zalando-incubator/kubernetes-on-aws/labels/do-not-merge","name":"do-not-merge","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-15T17:55:33Z","updated_at":"2018-03-16T13:58:09Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/zalando-incubator/kubernetes-on-aws/pulls/930","html_url":"https://github.com/zalando-incubator/kubernetes-on-aws/pull/930","diff_url":"https://github.com/zalando-incubator/kubernetes-on-aws/pull/930.diff","patch_url":"https://github.com/zalando-incubator/kubernetes-on-aws/pull/930.patch"},"body":"This is work in progress and allows to use EFS as backend for PVCs.\r\n\r\nIt allows two Pods on different nodes to share the same volume. Use it like so:\r\n\r\n```yaml\r\napiVersion: v1\r\nkind: PersistentVolumeClaim\r\nmetadata:\r\n  name: my-data\r\n  annotations:\r\n    volume.beta.kubernetes.io/storage-class: aws-efs\r\nspec:\r\n  accessModes:\r\n    - ReadWriteMany\r\n  resources:\r\n    requests:\r\n      storage: 1Mi\r\n\r\n---\r\n\r\napiVersion: v1\r\nkind: Pod\r\nmetadata:\r\n  name: test-pod\r\nspec:\r\n  containers:\r\n  - name: test-pod\r\n    image: gcr.io/google_containers/busybox:1.24\r\n    command:\r\n      - \"/bin/sh\"\r\n    args:\r\n      - \"-c\"\r\n      - \"touch /mnt/SUCCESS && exit 0 || exit 1\"\r\n    volumeMounts:\r\n      - name: efs-pvc\r\n        mountPath: \"/mnt\"\r\n  restartPolicy: \"Never\"\r\n  volumes:\r\n    - name: efs-pvc\r\n      persistentVolumeClaim:\r\n        claimName: my-data\r\n```\r\n\r\nTodo:\r\n* [ ] provision an EFS and pass its endpoint to the configmap instead of via a config item"},"comment":{"url":"https://api.github.com/repos/zalando-incubator/kubernetes-on-aws/issues/comments/373721090","html_url":"https://github.com/zalando-incubator/kubernetes-on-aws/pull/930#issuecomment-373721090","issue_url":"https://api.github.com/repos/zalando-incubator/kubernetes-on-aws/issues/930","id":373721090,"user":{"login":"shansfolder","id":4135248,"avatar_url":"https://avatars0.githubusercontent.com/u/4135248?v=4","gravatar_id":"","url":"https://api.github.com/users/shansfolder","html_url":"https://github.com/shansfolder","followers_url":"https://api.github.com/users/shansfolder/followers","following_url":"https://api.github.com/users/shansfolder/following{/other_user}","gists_url":"https://api.github.com/users/shansfolder/gists{/gist_id}","starred_url":"https://api.github.com/users/shansfolder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shansfolder/subscriptions","organizations_url":"https://api.github.com/users/shansfolder/orgs","repos_url":"https://api.github.com/users/shansfolder/repos","events_url":"https://api.github.com/users/shansfolder/events{/privacy}","received_events_url":"https://api.github.com/users/shansfolder/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T13:58:09Z","updated_at":"2018-03-16T13:58:09Z","author_association":"NONE","body":"👍 "}}
{"actor":{"display_login":"shansfolder"}}