- 25 Jul, 2017 11 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48911, 49475, 49438, 49362, 49274) set RBD default values as constant vars **What this PR does / why we need it**: When working on #49225, I found some [default RBD parameters](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#ceph-rbd) had not been declared as constant values, which will be error-prone. **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 set RBD default values as constant vars ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48911, 49475, 49438, 49362, 49274) Add namespace for describe pdb **What this PR does / why we need it**: add namespace for describe pdb **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # fixes https://github.com/kubernetes/kubernetes/issues/49363 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48911, 49475, 49438, 49362, 49274) Delete redundant err definition **What this PR does / why we need it**: Delete redundant err definition line 642 has its definition and initialization, so line 641 is redundant. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # NONE **Special notes for your reviewer**: NONE **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48911, 49475, 49438, 49362, 49274) Fixed glusterfs mount options Capacity of a slice is the third argument, not the second one. We use append() to fill the slice, so it should be empty at the beginning and with the right capacity. ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Added sig-storage labels to upgrade tests and moved them to appropriate directory **What this PR does / why we need it**: Adding necessary sig identifier for storage upgrade tests. /release-note-none
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48636, 49088, 49251, 49417, 49494) Fix bug in command retrying in kubemark This should fix some of the flakes mentioned in https://github.com/kubernetes/kubernetes/issues/46195. It's showing that all subsequent retries have failed if the first one failed due to `ret_val` not being reassigned on success. @bskiba Thanks for noticing :)
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48636, 49088, 49251, 49417, 49494) [nit] Rename pkg/api/v1/builder.go to register.go to be consistent with others
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48636, 49088, 49251, 49417, 49494) StatefulSet: Remove `pod.alpha.kubernetes.io/initialized` annotation. The `pod.alpha.kubernetes.io/initialized` annotation was originally a tool for validating StatefulSet's ordered Pod creation guarantees during the feature's alpha phase. If set to "false" on a given Pod, it would interrupt StatefulSet's normal behavior. In v1.5.0, the annotation was deprecated and the default became "true" as part of StatefulSet's graduation to beta. The annotation is now ignored, meaning it cannot be used to interrupt StatefulSet Pod management. ```release-note StatefulSet: The deprecated `pod.alpha.kubernetes.io/initialized` annotation for interrupting StatefulSet Pod management is now ignored. If you were setting it to `true` or leaving it unset, no action is required. However, if you were setting it to `false`, be aware that previously-dormant StatefulSets may become active after upgrading. ``` ref #41605
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48636, 49088, 49251, 49417, 49494) Add customresourcedefinition and its shortcut in "kubectl get" **What this PR does / why we need it**: Add customresourcedefinition and its shortcut in "kubectl get" help info. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #48927 **Special notes for your reviewer**: /cc @orangedeng **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48636, 49088, 49251, 49417, 49494) Fix issues for local storage allocatable feature This PR fixes the following issues: 1. Use ResourceStorageScratch instead of ResourceStorage API to represent local storage capacity 2. In eviction manager, use container manager instead of node provider (kubelet) to retrieve the node capacity and reserved resources. Node provider (kubelet) has a feature gate so that storagescratch information may not be exposed if feature gate is not set. On the other hand, container manager has all the capacity and allocatable resource information. This PR fixes issue #47809
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue stop jsonpath panicing on negative array length Related downstream issue: https://github.com/openshift/origin/issues/15075 Returns error if provided jsonpath value results in a negative slice index after adding the length of the slice: ```go a := [0, 1, 2, 3] b := a[-1:] // 3 c := a[-4:] // 0 d := a[-5:] // out of range error e := a[4:] // out of range error ``` **Release note**: ```release-note NONE ``` cc @fabianofranz
-
- 24 Jul, 2017 27 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix tls config copy in dial test Fixes a bug introduced in https://github.com/kubernetes/kubernetes/commit/0d42da1b9345e2a649f298ac4f77807143e7befa#diff-1748ffb7995a87b1f6bfd534dc5a51abL99 that broke the mutation test check (it was checking an object against itself)
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Delete reduandant * **What this PR does / why we need it**: Delete reduandant * **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue increase the timeout in GC orphan test Fixes #42086 See the [justification](https://github.com/kubernetes/kubernetes/issues/42086#issuecomment-317521413).
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49444, 47864, 48584, 49395, 49118) Allow unmounting bind-mounted directories. **What this PR does / why we need it**: For files, we cannot use `path/..`; we could use `filepath.Dir` but for bind-mounted, `isNotMounted` which calls `IsLikelyNotMountPoint` would not work anyway. Let's just have the driver do the work. Addressing ``` Error: UnmountVolume.TearDown failed for volume "..." (volume.spec.Name: "...") pod "..." (UID: "...") with: lstat /path/.../test-flex/..: not a directory ``` **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # N/A **Special notes for your reviewer**: N/A **Release note**: ```release-note It is now posible to use flexVolumes to bind mount directories and files. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49444, 47864, 48584, 49395, 49118) rate limiting should not affect system masters A `system:masters` user is either a loopback connection or someone with complete access to the cluster. Either way, they should not be rate-limited like a normal client since their requests are more important. This moves the maxinflight checker post-authentication and excluded system:masters from the rate limit. @smarterclayton as discussed. @kubernetes/sig-api-machinery-misc
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49444, 47864, 48584, 49395, 49118) Move event type Change SandboxChanged to a constant and move to the event package below. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49444, 47864, 48584, 49395, 49118) fixed conflict resolution behavior while apply podpresets **What this PR does / why we need it**: This fixes the PodPreset application behavior in case of conflicts occur during the merging of Pod's information with PodPreset's. More details are in issue #47861 **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # fixes #47861 **Special notes for your reviewer**: We are splitting the PodPreset application logic in two phases. In first phase, we try to detect the conflicts in information merging without modifying the Pod at all. If conflict occurs, then we reject the PodPresets injection. Incase of no conflicts, we apply the PodPresets and merge the information. **Release note**: ```release-note PodPreset is not injected if conflict occurs while applying PodPresets to a Pod. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49444, 47864, 48584, 49395, 49118) Do not spin forever if kubectl drain races with other removal In https://github.com/kubernetes/kubernetes/pull/47450 we stopped returning an error if a pod disappeared before we could remove it. Instead we just continue to spin forever. Return "success" if a pod disappeared before we actually removed it. https://bugzilla.redhat.com/1473777 bug 1473777 ```release-note `kubectl drain` no longer spins trying to delete pods that do not exist ```
-
Cheng Xing authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Garbage collector e2e tests create deployments with unique labels, and Fixes https://github.com/kubernetes/kubernetes/issues/49427 The bug was because two tests point to the same `podTemplate`. One [test](https://github.com/kubernetes/kubernetes/blob/master/test/e2e/apimachinery/garbage_collector.go#L583) changing the "labels" caused the deployment creation in the other test failing, because the selector doesn't match the labels anymore.
-
Chao Xu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add yujuhong to test/e2e_node/OWNERS
-
Anthony Yeh authored
-
Anthony Yeh authored
Instead, use Readiness to pause and resume individual Pods to verify that the StatefulSet controller performs the right actions one at a time.
-
Shyam Jeedigunta authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue installer.go amend some comment **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
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45345, 49470, 49407, 49448, 49486) Fix ha-master tests
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45345, 49470, 49407, 49448, 49486) Use a client interface instead of a concrete type
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45345, 49470, 49407, 49448, 49486) Fix unstructured marshaler to handle all JSON types Split from https://github.com/kubernetes/kubernetes/pull/45294 /assign @wojtek-t
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45345, 49470, 49407, 49448, 49486) statefulset_expansion.go delete ps define reopen #46157 **Release note**: ```release-note NONE
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45345, 49470, 49407, 49448, 49486) Support "fstype" parameter in dynamically provisioned PVs This PR is a replacement for https://github.com/kubernetes/kubernetes/pull/40805. I was not able to push fixes and rebases to the original branch as I don't have access to the Github organization anymore. I assume the PR will need a new "ok to test" **ORIGINAL PR DESCRIPTION** **What this PR does / why we need it**: This PR allows specifying the desired FSType when dynamically provisioning volumes with storage classes. The FSType can now be set as a parameter: ```yaml kind: StorageClass apiVersion: storage.k8s.io/v1beta1 metadata: name: test provisioner: kubernetes.io/azure-disk parameters: fstype: xfs ``` **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #37801 **Special notes for your reviewer**: The PR also implicitly adds checks for unsupported parameters. **Release note**: ```release-note Support specifying of FSType in StorageClass ```
-
Jan Pazdziora authored
For bind-mounted directories, the isNotMounted which calls IsLikelyNotMountPoint fails because the filesystem of the mounted location and the parent directory are the same. Addressing: unmounter.go:59] Warning: Path: /path/.../test-dir already unmounted
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix staging godeps for k8s.io/metrics and k8s.io/kube-gen **What this PR does / why we need it**: #49095 introduced an issue with the formatting of the k8s.io/metrics staging godeps. This fixes that issue, and alters the script to prevent it from happening again. **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 ```
-
Jan Safranek authored
Capacity of a slice is the third argument, not the second one. We use append() to fill the slice, so it should be empty at the beginning and with the right capacity.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Moves networking e2e tests to test/e2e/network
-
jianglingxia authored
-
- 23 Jul, 2017 2 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Allow nodes to create evictions for its own pods in NodeRestriction admission controller **What this PR does / why we need it**: This PR adds support for `pods/eviction` sub-resource to the NodeRestriction admission controller so it allows a node to evict pods bound to itself. **Which issue this PR fixes**: fixes #48666 **Special notes for your reviewer**: The NodeRestriction already allows nodes to delete pods bound to itself, so allowing nodes to also delete pods via the Eviction API probably makes sense. ```release-note NodeRestriction allows a node to evict pods bound to itself ```
-
Clayton Coleman authored
Aids testing
-