{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kops/issues/986","repository_url":"https://api.github.com/repos/kubernetes/kops","labels_url":"https://api.github.com/repos/kubernetes/kops/issues/986/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kops/issues/986/comments","events_url":"https://api.github.com/repos/kubernetes/kops/issues/986/events","html_url":"https://github.com/kubernetes/kops/issues/986","id":191492653,"number":986,"title":"\"kops get ig\" prints incorrect max value","user":{"login":"ebbeelsborg","id":22592984,"avatar_url":"https://avatars.githubusercontent.com/u/22592984?v=3","gravatar_id":"","url":"https://api.github.com/users/ebbeelsborg","html_url":"https://github.com/ebbeelsborg","followers_url":"https://api.github.com/users/ebbeelsborg/followers","following_url":"https://api.github.com/users/ebbeelsborg/following{/other_user}","gists_url":"https://api.github.com/users/ebbeelsborg/gists{/gist_id}","starred_url":"https://api.github.com/users/ebbeelsborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebbeelsborg/subscriptions","organizations_url":"https://api.github.com/users/ebbeelsborg/orgs","repos_url":"https://api.github.com/users/ebbeelsborg/repos","events_url":"https://api.github.com/users/ebbeelsborg/events{/privacy}","received_events_url":"https://api.github.com/users/ebbeelsborg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-24T11:07:43Z","updated_at":"2016-11-24T16:24:55Z","closed_at":null,"body":"Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT\r\n\r\nKubernetes version (use kubectl version): \r\nClient Version: version.Info{Major:\"1\", Minor:\"4\", GitVersion:\"v1.4.5\", GitCommit:\"5a0a696437ad35c133c0c8493f7e9d22b0f9b81b\", GitTreeState:\"clean\", BuildDate:\"2016-10-29T01:38:40Z\", GoVersion:\"go1.6.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"4\", GitVersion:\"v1.4.3\", GitCommit:\"4957b090e9a4f6a68b4a40375408fdc74a212260\", GitTreeState:\"clean\", BuildDate:\"2016-10-16T06:20:04Z\", GoVersion:\"go1.6.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n\r\nEnvironment:\r\n\r\n    Cloud provider or hardware configuration: AWS\r\n    OS (e.g. from /etc/os-release): Ubuntu 16.04.1 LTS\r\n    Kernel (e.g. uname -a): Linux system76 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n    Install tools: ?\r\n    Others: N/A\r\n\r\nWhat happened: kops does not report the correct max value for \"kops get ig\". For instance:\r\n$ kops get ig nodes\r\nUsing cluster from kubectl context: <my-context>\r\n\r\nNAME\tROLE\tMACHINETYPE\tMIN\tMAX\t  ZONES\r\nnodes\tNode\tc4.2xlarge\t        2\t2\t  eu-west-1a,eu-west-1b,eu-west-1c\r\n\r\n$ kops edit ig nodes\r\nmetadata:\r\n  creationTimestamp: \"2016-11-03T14:55:43Z\"\r\n  name: nodes\r\nspec:\r\n  associatePublicIp: true\r\n  image: kope.io/k8s-1.4-debian-jessie-amd64-hvm-ebs-2016-10-21\r\n  machineType: c4.2xlarge\r\n  maxSize: 3\r\n  minSize: 2\r\n  role: Node\r\n  rootVolumeSize: 100\r\n  zones:\r\n  - eu-west-1a\r\n  - eu-west-1b\r\n  - eu-west-1c\r\n\r\nClearly, the max value is 3, not 2.\r\n\r\nWhat you expected to happen: \"kops get ig\" should print the values min=2 and max=3.\r\n\r\nHow to reproduce it (as minimally and precisely as possible): Set the 'nodes' config to the example above and run \"kops get ig\".\r\n\r\nAnything else do we need to know: kops uses the correct values when updating so it's just a matter of printing the correct max value. Not a big deal but still a bug."},"comment":{"url":"https://api.github.com/repos/kubernetes/kops/issues/comments/262812011","html_url":"https://github.com/kubernetes/kops/issues/986#issuecomment-262812011","issue_url":"https://api.github.com/repos/kubernetes/kops/issues/986","id":262812011,"user":{"login":"ebbeelsborg","id":22592984,"avatar_url":"https://avatars.githubusercontent.com/u/22592984?v=3","gravatar_id":"","url":"https://api.github.com/users/ebbeelsborg","html_url":"https://github.com/ebbeelsborg","followers_url":"https://api.github.com/users/ebbeelsborg/followers","following_url":"https://api.github.com/users/ebbeelsborg/following{/other_user}","gists_url":"https://api.github.com/users/ebbeelsborg/gists{/gist_id}","starred_url":"https://api.github.com/users/ebbeelsborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebbeelsborg/subscriptions","organizations_url":"https://api.github.com/users/ebbeelsborg/orgs","repos_url":"https://api.github.com/users/ebbeelsborg/repos","events_url":"https://api.github.com/users/ebbeelsborg/events{/privacy}","received_events_url":"https://api.github.com/users/ebbeelsborg/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T16:24:55Z","updated_at":"2016-11-24T16:24:55Z","body":"1.4.1"}}
{"actor":{"display_login":"ebbeelsborg"}}