- 12 Jul, 2017 8 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48402, 47203, 47460, 48335, 48322) fix kubectl run --env flag fixes: kubernetes/kubectl#19 cc: @ddcprg ```release-note `kubectl run --env` no longer supports CSV parsing. To provide multiple env vars, use the `--env` flag multiple times instead of having env vars separated by commas. E.g. `--env ONE=1 --env TWO=2` instead of `--env ONE=1,TWO=2`. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48402, 47203, 47460, 48335, 48322) TestLoopbackHostPort should accept IPv6 loopback host Attempting to get unit tests to pass on darwin per [our unit testing policy](https://github.com/kubernetes/community/blob/master/contributors/devel/testing.md#unit-tests) part of #48509 /cc @kubernetes/sig-api-machinery-bugs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Local storage teardown fix **What this PR does / why we need it**: Local storage uses bindmounts and the method IsLikelyNotMountPoint does not detect these as mountpoints. Therefore, local PVs are not properly unmounted when they are deleted. **Which issue this PR fixes**: fixes #48331 **Special notes for your reviewer**: You can use these e2e tests to reproduce the issue and validate the fix works appropriately https://github.com/kubernetes/kubernetes/pull/47999 The existing method IsLikelyNotMountPoint purposely does not check mountpoints reliability (https://github.com/kubernetes/kubernetes/blob/4c5b22d4c6b630ff1d76b1d15d74c6597c0aa037/pkg/util/mount/mount_linux.go#L161), since the number of mountpoints can be large. https://github.com/kubernetes/kubernetes/blob/4c5b22d4c6b630ff1d76b1d15d74c6597c0aa037/pkg/util/mount/mount.go#L46 This implementation changes the behavior for local storage to detect mountpoints reliably, and avoids changing the behavior for any other callers to a UnmountPath. **Release note**: ``` Fixes bind-mount teardown failure with non-mount point Local volumes (issue https://github.com/kubernetes/kubernetes/issues/48331). ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829) Use glog.*f when a format string is passed ref: https://godoc.org/github.com/golang/glog I use the following commands to search all the invalid usage: $ grep "glog.Warning(" * -r | grep % $ grep "glog.Info(" * -r | grep % $ grep "glog.Error(" * -r | grep % $ grep ").Info(" * -r | grep % | grep glog.V( **Release note**: ``` NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829) fix self link error of generic resources in describe command **What this PR does / why we need it**: fix Self Link error ``` ./cluster/kubectl.sh describe clusterrole system:controller:ttl-controller Name: system:controller:ttl-controller Namespace: Labels: kubernetes.io/bootstrapping=rbac-defaults Annotations: rbac.authorization.kubernetes.io/autoupdate=true API Version: rbac.authorization.k8s.io/v1alpha1 Kind: ClusterRole Metadata: Creation Timestamp: 2017-05-18T06:42:02Z Resource Version: 80 Self Link: /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/system%!A(MISSING)controller%!A(MISSING)ttl-controller UID: 19a705a4-3b95-11e7-9d55-7427ea6f0fe3 Rules: API Groups: Resources: nodes Verbs: list patch update watch API Groups: Resources: events Verbs: create patch update Events: <none> ``` **Which issue this PR fixes**: fixes #48743 **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829) federation: Cleanup cluster scripts of older federation bring up method **What this PR does / why we need it**: Remove older method of bringing up federation via scripts. Currently `kubefed` is the only supported mechanism and is well established and stable. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829) Return clusterErr rather than err The updateClusterIngressUIDToMasters() should return clusterErr, not err. If the 'err' of 'masterCluster, masterUID, err := ic.getMasterCluster()' is nil and the 'clusterErr' of 'clusterObj, clusterErr := api.Scheme.DeepCopy(cluster)' is not nil, updateClusterIngressUIDToMasters() will return ("", nil). And do not log fallbackUID when fallbackUID is nil. -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829) recheck pod volumes before marking pod as processed This PR allows a pod's volumes to be re-checked until all are added correctly. There's a limited amount of time when a persistent volume claim is still in the Pending phase, and if a pod is created in that time, the volume will not be added. The issue is not uncommon with helm charts that create all objects in close succession, particularly when using aws-ebs volumes. fixes #28962
-
- 11 Jul, 2017 4 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue godep-save.sh: add workaround and more instructions Fixes https://github.com/kubernetes/kubernetes/issues/48593, hit again in https://github.com/kubernetes/kubernetes/pull/47232#issuecomment-314025645.
-
Ian Chakeres authored
Added IsNotMountPoint method to mount utils (pkg/util/mount/mount.go) Added UnmountMountPoint method to volume utils (pkg/volume/util/util.go) Call UnmountMountPoint method from local storage (pkg/volume/local/local.go) IsLikelyNotMountPoint behavior was not modified, so the logic/behavior for UnmountPath is not modified
-
krousey authored
Workaround docker-wait freeze with 17.06.0
-
Dr. Stefan Schimanski authored
-
- 10 Jul, 2017 5 commits
-
-
Cao Shufeng authored
ref: https://godoc.org/github.com/golang/glog I use the following commands to search all the invalid usage: $ grep "glog.Warning(" * -r | grep % $ grep "glog.Info(" * -r | grep % $ grep "glog.Error(" * -r | grep % $ grep ").Info(" * -r | grep % | grep "glog.V("
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Wojciech Tyczynski authored
Workaround tcpv4-only-systems connect issue in test
-
Dr. Stefan Schimanski authored
Fixes https://github.com/kubernetes/kubernetes/issues/47304. Workarounds https://github.com/golang/go/issues/18806 (fixed in Go 1.9+).
-
- 08 Jul, 2017 23 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47040, 48597, 48608, 48653) Fix godep verify to use godep restore script **What this PR does / why we need it**: A bug was introduced in #48615. `hack/verify-godeps.sh` only downloads and compares if godeps have changed, so it wasn't caught on the original PR. However, when it does run (e.g. https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/48630/pull-kubernetes-verify/38350/) it fails because the godep-save script now doesn't permit a compex GOPATH. verify-godeps.sh actually sets one because it restores godeps not using the `hack/godep-restore.sh` script. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` /assign @sttts /priority failing-test
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47040, 48597, 48608, 48653) apimachinery: remove unneeded GetObjectKind() impls Based on https://github.com/kubernetes/kubernetes/pull/48601
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47040, 48597, 48608, 48653) Fix Stackdriver Logging e2e soak tests Start reading logs in parallel with running pods in soak tests Fixed https://github.com/kubernetes/kubernetes/issues/48606
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue controller-manager: fix horizontal-pod-autoscaler-use-rest-clients fl… …ag help info **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48583, 48605, 48601) apimachinery+apiserver: separate test types in their own packages Preparation for static deepcopy https://github.com/kubernetes/kubernetes/pull/48544 and its use of package-global deepcopy-gen tags for all runtime.Objects. - [x] wait for #48497
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48583, 48605, 48601) support json output for log backend of advanced audit **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ``` Add json format support for advanced audit in apiserver. Use --audit-log-format=json to emit json to log backend. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Record 429 and timeout errors to prometheus Allows gathering of load being shed. Fixes #48559 @deads2k please review, there was a logic error in apiserver RequestInfo (minor, fortunately) ```release-note Requests with the query parameter `?watch=` are treated by the API server as a request to watch, but authorization and metrics were not correctly identifying those as watch requests, instead grouping them as list calls. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation] Remove flakey and redundant replicaset unit test The coverage provided by this test duplicates coverage provided in e2e. As well, the test is 'unit' in name only, as evidenced by the dependency on sleep statements to try to coordinate timing between the test and the controller. If low-level coverage of replicaset scheduling is desired, it can be implemented in a more targeted fashion that is not prone to race conditions. Fixes #48368 cc: @kubernetes/sig-federation-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue hack/OWNERS: add myself (sttts)
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48497, 48604, 48599, 48560, 48546) remove dead code This removes the dead code cruft since we stopped serving TPRs. ref #48152
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48497, 48604, 48599, 48560, 48546) GCE: Use network project id for firewall/route mgmt and zone listing - Introduces a new environment variable for plumbing the network project id which will be used for firewall and route management. fixes #48515 - onXPN is determined by metadata if config is not specified - Split `if` conditions: fixes #48521 - Remove `getNetworkNameViaAPICall` which was used as a last resort for the `networkURL` (if empty) which was previously filled with the metadata network project & name. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48497, 48604, 48599, 48560, 48546) audit: fix deepcopy registration Remove manual registration into scheme by fixing the deepcopy tag of the api group.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48497, 48604, 48599, 48560, 48546) client-go: remove TPR example Now that the TPR api is gone (https://github.com/kubernetes/kubernetes/issues/48152).
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48497, 48604, 48599, 48560, 48546) Move pkg/apimachinery/test to apimachinery Fixes https://github.com/kubernetes/kubernetes/issues/48265 for circular dependency reason, all the test file contain both `"k8s.io/apimachinery/pkg/apis/meta/v1"` and `"k8s.io/apimachinery/pkg/runtime"` is hard to move to a ideal location, so I create a separated test package for those files I also bump the example package :https://github.com/kubernetes/kubernetes/tree/master/staging/src/k8s.io/apiserver/pkg/apis/example here for apimachinery, @sttts told me it's ok if to bump file if only for test EDIT: seems it's no need to bump, will update soon ``` NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix deleting empty monitors Fix #48094 When create-monitor of cloud-config is false, pool has not monitor and can not delete empty monitor. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Deleting kubectl.ServiceReaper since there is no special service deletion logic Ref https://github.com/kubernetes/kubernetes/pull/46471 #42594 ServiceReaper does not have any special deletion logic so we dont need it. The generic deletion logic should be enough. By removing this reaper, service deletion also gets the new wait logic from https://github.com/kubernetes/kubernetes/pull/46471 cc @kubernetes/sig-cli-misc
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Delete unused return **What this PR does / why we need it**: We do not use the function return, it's better not to write the return. **Release note**: ```release-note NONE ```
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47234, 48410, 48514, 48529, 48348) Check opts of cloud config file Fix #48347 Check opts when register OpenStack CloudProvider rather than returning error when use opts to create/use cloud resource. **Release note**: ```release-note NONE ```
-