{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37705","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37705/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37705/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37705/events","html_url":"https://github.com/kubernetes/kubernetes/issues/37705","id":192648932,"node_id":"MDU6SXNzdWUxOTI2NDg5MzI=","number":37705,"title":"Allow PersistentVolumeClaim capacity increase on GCE or other platform that supports dynamic resizing","user":{"login":"JorritSalverda","id":136472,"node_id":"MDQ6VXNlcjEzNjQ3Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/136472?v=4","gravatar_id":"","url":"https://api.github.com/users/JorritSalverda","html_url":"https://github.com/JorritSalverda","followers_url":"https://api.github.com/users/JorritSalverda/followers","following_url":"https://api.github.com/users/JorritSalverda/following{/other_user}","gists_url":"https://api.github.com/users/JorritSalverda/gists{/gist_id}","starred_url":"https://api.github.com/users/JorritSalverda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JorritSalverda/subscriptions","organizations_url":"https://api.github.com/users/JorritSalverda/orgs","repos_url":"https://api.github.com/users/JorritSalverda/repos","events_url":"https://api.github.com/users/JorritSalverda/events{/privacy}","received_events_url":"https://api.github.com/users/JorritSalverda/received_events","type":"User","site_admin":false},"labels":[{"id":169428334,"node_id":"MDU6TGFiZWwxNjk0MjgzMzQ=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/storage","name":"sig/storage","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2016-11-30T18:56:09Z","updated_at":"2018-12-12T19:45:13Z","closed_at":null,"author_association":"NONE","body":"**FEATURE REQUEST**\r\n\r\nWhen creating a pvc on container engine - with slow and fast storage classes set up - with following manifest automatic creation works perfectly.\r\n\r\n```\r\nkind: PersistentVolumeClaim\r\napiVersion: v1\r\nmetadata:\r\n  name: test-pvc-provisioning\r\n  annotations:\r\n    volume.beta.kubernetes.io/storage-class: \"slow\"\r\nspec:\r\n  accessModes:\r\n  - ReadWriteOnce\r\n  resources:\r\n    requests:\r\n      storage: 50Gi\r\n```\r\n\r\nBut when trying to increase the storage capacity and re-applying the manifest it returns the following error:\r\n\r\n```\r\nThe PersistentVolumeClaim \"test-pvc-provisioning\" is invalid: spec: Forbidden: field is immutable after creation\r\n```\r\n\r\nOf course from the perspective of most persistent volumes that don't support dynamic resizing this makes sense, but on GCE where persistent disks can grow on the fly it would be very useful to be able to grow the size of the volume claim.\r\n\r\n**Kubernetes version**\r\n\r\nClient Version: version.Info{Major:\"1\", Minor:\"4\", GitVersion:\"v1.4.4\", GitCommit:\"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56\", GitTreeState:\"clean\", BuildDate:\"2016-10-21T02:48:38Z\", GoVersion:\"go1.7.1\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"4\", GitVersion:\"v1.4.6\", GitCommit:\"e569a27d02001e343cb68086bc06d47804f62af6\", GitTreeState:\"clean\", BuildDate:\"2016-11-12T05:16:27Z\", GoVersion:\"go1.6.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n\r\n**Environment**\r\n\r\nGoogle Container Engine, GCI image"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/446718918","html_url":"https://github.com/kubernetes/kubernetes/issues/37705#issuecomment-446718918","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37705","id":446718918,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjcxODkxOA==","user":{"login":"gnufied","id":278,"node_id":"MDQ6VXNlcjI3OA==","avatar_url":"https://avatars0.githubusercontent.com/u/278?v=4","gravatar_id":"","url":"https://api.github.com/users/gnufied","html_url":"https://github.com/gnufied","followers_url":"https://api.github.com/users/gnufied/followers","following_url":"https://api.github.com/users/gnufied/following{/other_user}","gists_url":"https://api.github.com/users/gnufied/gists{/gist_id}","starred_url":"https://api.github.com/users/gnufied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnufied/subscriptions","organizations_url":"https://api.github.com/users/gnufied/orgs","repos_url":"https://api.github.com/users/gnufied/repos","events_url":"https://api.github.com/users/gnufied/events{/privacy}","received_events_url":"https://api.github.com/users/gnufied/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T19:45:13Z","updated_at":"2018-12-12T19:45:13Z","author_association":"MEMBER","body":"@Rub21 have you guys tried upgrading to 1.11 (or greater) - https://kubernetes.io/blog/2018/07/12/resizing-persistent-volumes-using-kubernetes/ ?\r\n\r\nIt has volume expansion feature enable by default and should fix this problem."}}
{"actor":{"display_login":"gnufied"}}