- 26 May, 2017 10 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045) Panic server on watch errors during etcd test **What this PR does / why we need it**: This change makes it so that errors during watch decoding panic the server during the etcd storage test. This allows us to catch coder errors related to storing incompatible types at the same location in etcd. For example, https://github.com/kubernetes/kubernetes/pull/39164#discussion_r116619172 would have failed like so (instead of silently recording an error to the master log and passing the test): ``` I0518 14:39:32.413038 4654 storage_rbac.go:257] created rolebinding.rbac.authorization.k8s.io/system:controller:bootstrap-signer in kube-public panic: v1beta1.NetworkPolicy is not suitable for converting to {{"networking.k8s.io" "__internal"} [{"networking.k8s.io" ""} {"networking.k8s.io" ""}]} goroutine 799 [running]: k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.decodeObj(0x71146c0, 0xc420eb9d80, 0x7129340, 0x733cdf8, 0xc423708360, 0x118, 0x120, 0x86, 0x0, 0x0, ...) /home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:382 +0x115 k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).prepareObjs(0xc420958f60, 0xc422ee9ef0, 0xc42003c600, 0x8a3b9b, 0x70f36c0, 0xc4209585a0, 0x4583f0, 0xc4215d0f58) /home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:353 +0x2cd k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).transform(0xc420958f60, 0xc422ee9ef0, 0x0) /home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:248 +0x4d k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).processEvent(0xc420958f60, 0xc420132010) /home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:213 +0x122 created by k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3.(*watchChan).run /home/mkhan/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3/watcher.go:116 +0xe9 exit status 2 FAIL k8s.io/kubernetes/test/integration/etcd 13.065s Makefile:164: recipe for target 'test' failed ``` @liggitt PTAL Signed-off-by:
Monis Khan <mkhan@redhat.com> **Release note**: ``` NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045) Bump elasticsearch and kibana to 5.4.0 **What this PR does / why we need it**: Updates elasticsearch and kibana docker image assets to 5.4.0 version **Release note**: ```release-note Upgrade Elasticsearch Addon to v5.4.0 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045) Support TCP type runtime endpoint for kubelet **What this PR does / why we need it**: Currently the grpc server for kubelet and dockershim has a hardcoded endpoint: unix socket '/var/run/dockershim.sock', which is not applicable on non-unix OS. This PR is to support TCP endpoint type besides unix socket. **Which issue this PR fixes** This is a first attempt to address issue https://github.com/kubernetes/kubernetes/issues/45927 **Special notes for your reviewer**: Before this change, running on Windows node results in: ``` Container Manager is unsupported in this build ``` After adding the cm stub, error becomes: ``` listen unix /var/run/dockershim.sock: socket: An address incompatible with the requested protocol was used. ``` This PR is to fix those two issues. After this change, still meets 'seccomp' related issue when running on Windows node, needs more updates later. **Release note**:
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045) Copy kubeconfig to kubemark master This should save the effort of digging through jenkins agent and its container to get the kubeconfig. Ideally we should have kubectl directly working on the kubemark master, but I'm facing some issues due to older version of kubectl present by default on the node. cc @wojtek-t @gmarek
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045) Add CephFS volume source to describe printer.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45949, 46009, 46320, 46423, 46437) Up namespace controller workers to 5 Increase the number of namespace controller workers from 2 to 5 in an effort to speed up namespace deletions. xref #20051
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45949, 46009, 46320, 46423, 46437) Fix performance test issues Fix #46198
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45949, 46009, 46320, 46423, 46437) e2e tests for storage policy support in Kubernetes This PR covers e2e test cases for vSphere storage policy support in Kubernetes - #46176. The following test scenario have been implemented. - Specify only SPBM storage policy name. - Verify if the disk is provisioned on a compatible datastore with max free space. - Specify a storage policy name which is not defined on VC. - Verify if PVC create errors out that no pbm profile with this policy is found. - Specify both SPBM storage policy name and VSAN capabilities together. - Verify if PVC create errors out that you can't use both SPBM policy name with VSAN capabilities. You can only specify one. - Specify SPBM storage policy name with user specified datastore which is non-compatible. - Verify if PVC create errors out that it can't provision a disk on a non-compatible datastore. @jeffvance @divyenpatel **Release note**: ```release-note None ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45949, 46009, 46320, 46423, 46437) Implement audit policy logic Includes https://github.com/kubernetes/kubernetes/pull/45315#discussion_r117115932 (ignore the first commit) Feature: https://github.com/kubernetes/features/issues/22 Remaining work: - [x] Load the policy into the `server.Config` - [x] Rebase on https://github.com/kubernetes/kubernetes/pull/45315 - [x] Establish shared code for audit api scheme (with https://github.com/kubernetes/kubernetes/pull/45919) - [x] Once https://github.com/kubernetes/kubernetes/pull/45766 is merged, call the policy checker in the audit path /cc @sttts @soltysh @ericchiang @ihmccreery @pweil- @deads2k
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45949, 46009, 46320, 46423, 46437) Unregister some metrics delete some registered metrics since they are not observed **Release note**: ```release-note NONE ```
-
- 25 May, 2017 30 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45518, 46127, 46146, 45932, 45003) PodDisruptionBudget should use ControllerRef Fixes https://github.com/kubernetes/kubernetes/issues/42284 ```release-note PodDisruptionBudget now uses ControllerRef to decide which controller owns a given Pod, so it doesn't get confused by controllers with overlapping selectors. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45518, 46127, 46146, 45932, 45003) aws: Support for ELB tagging by users This PR provides support for tagging AWS ELBs using information in an annotation and provided as a list of comma separated key-value pairs. Closes https://github.com/kubernetes/community/pull/404
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45518, 46127, 46146, 45932, 45003) Fix bug in SMP test Fixing a bug in strategic merge patch test. before: we check if customizedSort(input) == customizedSort(expected), which is always true after: we check if customizedSort(input) == expected ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45518, 46127, 46146, 45932, 45003) Return MethodNotSupported when accessing unwatcheable resource with ?watch=true Currently, if a RESTStorage does not implement Watch(), accessing the list endpoint with ?watch=true will call List, with ListOptions.Watch=true. It should return a MethodNotSupported error.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45518, 46127, 46146, 45932, 45003) Remove requirement to run the Portworx volume driver on master node **What this PR does / why we need it**: This change removes requirement to run the Portworx volume driver on Kubernetes master node. **Special notes for your reviewer**: Before this pull request, in order to use a Portworx volume, users had to run the Portworx container on the master node. Since it isn't ideal (and impossible on GKE) to schedule any pods on the master node, this PR removes that requirement.
-
Monis Khan authored
This change makes it so that errors during watch decoding panic the server if it is in a test environment. This allows us to catch coder errors related to storing incompatible types at the same location in etcd. Signed-off-by:Monis Khan <mkhan@redhat.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix regression in UX experience for double attach volume send event when volume is not allowed to multi-attach Fixes #46012 **Release note**: ```release-note NONE ```
-
Tim St. Clair authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45269, 46219, 45966) Update RBAC policy for configmap locked leader leasing. **What this PR does / why we need it**: Updates the bootstrap policy to allow for configmap get/update/list/watch for leader leasing. **Which issue this PR fixes** Follow on PR from: https://github.com/kubernetes/kubernetes/pull/45739 xref: #44857 **Special notes for your reviewer**: **Release note**: ``` NONE ``` /cc @kubernetes/sig-auth-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45269, 46219, 45966) Add overriding Stackdriver API endpoint Allow using Stackdriver test endpoint.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45269, 46219, 45966) update gopass to fix format error ``` #kubectl get no Please enter Username: admin Please enter Password: ******** NAME STATUS AGE VERSION 127.0.0.1 Ready 28s v1.7.0-alpha.2.357+904b0207-dirty ``` `godep update github.com/howeyc/gopass/` can fix it. -
Andy Goldstein authored
Increase the number of namespace controller workers from 2 to 5 in an effort to speed up namespace deletions.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44774, 46266, 46248, 46403, 46430) apiextensions: fix nil dereference during deletion The returned condition was possibly nil and we dereferenced it.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44774, 46266, 46248, 46403, 46430) hollow-node.go:delete useless para. and import **What this PR does / why we need it**: hollow-node.go:delete useless para. and import **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44774, 46266, 46248, 46403, 46430) [Federation] ClusterSelector for Service Controller This pull request adds ClusterSelector to the Federated Service Controller ref: design #29887 This back ports the same functionality from the sync controller (merged pull #40234). cc: @nikhiljindal @marun
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44774, 46266, 46248, 46403, 46430) kube-proxy: ratelimit runs of iptables by sync-period flags This bounds how frequently iptables can be synced. It will be no more often than every 10 seconds and no less often than every 1 minute, by default. @timothysc FYI @dcbw @freehan FYI
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Switch Deployments to new hashing algo w/ collision avoidance mechanism Implements https://github.com/kubernetes/community/pull/477 @kubernetes/sig-apps-api-reviews @kubernetes/sig-apps-pr-reviews Fixes https://github.com/kubernetes/kubernetes/issues/29735 Fixes https://github.com/kubernetes/kubernetes/issues/43948 ```release-note Deployments are updated to use (1) a more stable hashing algorithm (fnv) than the previous one (adler) and (2) a hashing collision avoidance mechanism that will ensure new rollouts will not block on hashing collisions anymore. ```
-
Shyam Jeedigunta authored
-
Dr. Stefan Schimanski authored
-
Michail Kargakis authored
Signed-off-by:Michail Kargakis <mkargaki@redhat.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45573, 46354, 46376, 46162, 46366) GCE - Retrieve subnetwork name/url from gce.conf **What this PR does / why we need it**: Features like ILB require specifying the subnetwork if the network is type manual. **Notes:** The network URL can be [constructed](https://github.com/nicksardo/kubernetes/blob/68e7e18698d60050924c0f0e8f794a21820f2a1a/pkg/cloudprovider/providers/gce/gce.go#L211-L217) by fetching instance metadata; however, the subnetwork is not provided through this feature. Users must specify the subnetwork name/url through the gce.conf. Although multiple subnets can exist in the same region for a network, the cloud provider will only use one subnet url for creating LBs. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45573, 46354, 46376, 46162, 46366) break the loop when found true break the loop when found true.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45573, 46354, 46376, 46162, 46366) [Federation] Uniquify the ClusterRole and ClusterRoleBinding names created by `kubefed join` This allows a cluster to be in multiple federations. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45573, 46354, 46376, 46162, 46366) Subresources are not included in apiserver prometheus metrics Subresources are very often completely different code paths and errors generated on those code paths are important to distinguish. @kubernetes/sig-api-machinery-pr-reviews ```release-note The Prometheus metrics for the kube-apiserver for tracking incoming API requests and latencies now return the `subresource` label for correctly attributing the type of API call. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45573, 46354, 46376, 46162, 46366) Add Simplified Chinese translation for kubectl What this PR does / why we need it: This PR provides first attempt to translate kubectl in Simplified Chinese. Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes # No issues Special notes for your reviewer: Although I'm a native speaker for Mandarin Chinese, but I think translation is a whole different knowledge which I'm not good at it, so this pr absolutely need to be polished. @adohe @mengqiy @resouer @k82cn @caesarxuchao @wanghaoran1988 sorry I think there are so many folks who are good at Chinese I haven't mention, feel free to leave a comment on it : ) also cc @brendandburns
-
gmarek authored
-
gmarek authored
-
gmarek authored
-
Michail Kargakis authored
Signed-off-by:Michail Kargakis <mkargaki@redhat.com>
-
Michail Kargakis authored
Signed-off-by:Michail Kargakis <mkargaki@redhat.com>
-