- 17 May, 2017 38 commits
-
-
Maru Newby authored
-
Maru Newby authored
The equivalent coverage is provided by integration tests.
-
Maru Newby authored
-
Maru Newby authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42895, 45940) apiserver: no Status in body for http 204 Fixes http writer errors as with 204 we must not send any body. Needed downstream for https://github.com/openshift/origin/issues/14213.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42895, 45940) [Federation] Automate configuring nameserver in cluster-dns for CoreDNS provider Addresses issue #42894 #42822 **Release note**: ``` [Federation] CoreDNS server will be automatically added to nameserver resolv.conf chain When using CoreDNS as dns provider for federation during federation join. ``` cc @madhusudancs @kubernetes/sig-federation-bugs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45771, 45721) Add integration tests for kube-apiextensions-server **What this PR does / why we need it**: Add the following integration tests for `kube-apiextensions-server`: - [x] test namespace scoped resources - [x] test cluster scoped resources - [x] test discovery - [x] test no namespace rejects - [x] test same name, different namespace **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: for #45511 **Special notes for your reviewer**: **Release note**: ``` NONE ``` @sttts @deads2k
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix: required openstack heat version for conditions is 2016-10-14 / newton This fix sets the required heat version to 2016-10-14. In OpenStack heat the conditions statement was introduced in version 2016-10-14 | newton, accourding to: https://docs.openstack.org/releasenotes/heat/newton.html and more specific: https://docs.openstack.org/developer/heat/template_guide/hot_spec.html The conditions are used to make the assignment of public ips / floating ips optional (added in commit https://github.com/kubernetes/kubernetes/commit/4eef540876aecdb9fd954020b5569afccffea682). However this template is not compatible with OpenStack heat releases prior newton and produces the following error: ``` ERROR: Failed to validate: : resources.kube_minions: : "condition" is not a valid keyword inside a output definition ``` PR without a release note: ```release-note NONE ```
-
Nikhita Raghunath authored
* test namespace scoped resources * test cluster scoped resources * test discovery * test no namespace rejects * test same name different namespace
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update go version in Godeps.json **What this PR does / why we need it**: Update go version in Godeps.json to go1.8. Looks like the staging ones were already done, but not the top level one. ``` godeps update -goversion ``` **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 45709, 41939) Add an AEAD encrypting transformer for storing secrets encrypted at rest Tweak the ValueTransformer interface slightly to support additional context information (to allow authenticated data to be generated by the store and passed to the transformer). Add a prefix transformer that looks for known matching prefixes and uses them. Add an AES GCM transformer that performs AEAD on the values coming in and out of the store. Implementation of https://docs.google.com/document/d/1lFhPLlvkCo3XFC2xFDPSn0jAGpqKcCCZaNsBAv8zFdE/edit# and https://github.com/kubernetes/kubernetes/issues/12742
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45709, 41939) delete err when return _ Signed-off-by:yupengzte <yu.peng36@zte.com.cn> **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 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45884, 45879, 45912, 45444, 45874) fix: typo in redis example **What this PR does / why we need it**: The `bind 0.0.0.0` rule should end up in the sentinel config, not the script output. **Special notes for your reviewer**: **Release note**: ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45884, 45879, 45912, 45444, 45874) Update Minio example **What this PR does / why we need it**: Added examples for Minio standalone and distributed modes **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: - Add latest image tag in Minio image. - Remove command and use args instead, inline with latest change in Minio. **Release note**: ``` Updates Minio server deployment example. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45884, 45879, 45912, 45444, 45874) [GCE] Removed duplicate CIDR **What this PR does / why we need it**: Removes a duplicate CIDR in the list of LB source CIDRs. https://cloud.google.com/compute/docs/load-balancing/network/ and https://cloud.google.com/compute/docs/load-balancing/http/ both list `35.191.0.0/16`. Only one is needed. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45884, 45879, 45912, 45444, 45874) Use patched version of Go 1.8.1 to eliminate performance regression Ref https://github.com/kubernetes/kubernetes/issues/45216 Until this is solved in Go (it's still unclear whether there will be patch release with the fix or not), this is solving the problem on our side.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45884, 45879, 45912, 45444, 45874) Fix docs for advanced audit This change updates docs from this pr: #45862 **Release note**: ``` NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44520, 45253, 45838, 44685, 45901) Fix node e2e panic when not using image config file. In https://github.com/kubernetes/kubernetes/pull/45430, `resources` field in image config is a pointer, and we only initialize it when using image config file. However, we still have test specifying images directly without image config file, this will cause those test to panic. See: * https://k8s-testgrid.appspot.com/google-docker#kubelet * https://k8s-testgrid.appspot.com/google-docker#e2e-cos This PR fixes this. @vishh @mtaufen @kewu1992
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44520, 45253, 45838, 44685, 45901) API for server side tabular output These are the APIs necessary to implement propsoal kubernetes/community#363 They consist of a new meta group (v1alpha1) that indicates these are alpha apis for the server as a whole, a new kind `TableList` which is a simple row + header arranged table capable of returning both object and columnar data, a `TableListOptions` for altering the behavior of the return, and `PartialObjectMetadata` which is an "interface" style API object which allows a client to ask any object for their metadata (without having to know how to parse the object or perform gymnastics). Extracted from #40848 A few minor tweaks still required.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44520, 45253, 45838, 44685, 45901) start serving customresourcedefinition based on status This exposes the `customresourcedefinition/status` endpoint, wires a controller to drive `NameConflict` conditions, and serves discovery from status, not spec. Next steps after this include wiring the conditions into handling and reswizzling the handling chain to be cleaner now that we have a custom mux.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44520, 45253, 45838, 44685, 45901) bazel: build rpms to match the debs that we output
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44520, 45253, 45838, 44685, 45901) Ensure ordering of using dynamic kubelet config and setting up tests. This PR simply places the body of the eviction test within its own context. This ensures that the kubelet config is set before the pods are created, and that the kubelet config is reverted only after the pods are deleted.
-
Clayton Coleman authored
-
Clayton Coleman authored
-
Clayton Coleman authored
Adds context argument which must be set for AES GCM authenticated data to be passed.
-
Clayton Coleman authored
Tweak the ValueTransformer interface slightly to support additional context information (to allow authenticated data to be generated by the store and passed to the transformer). Add a prefix transformer that looks for known matching prefixes and uses them. Add an AES GCM transformer that performs AEAD on the values coming in and out of the store.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45247, 45810, 45034, 45898, 45899) Fix zone in node e2e serial tests ```shell $ gcloud compute regions describe us-west1 --project k8s-jkns-ci-node-e2e creationTimestamp: '2016-06-14T17:29:18.761-07:00' description: us-west1 id: '1210' kind: compute#region name: us-west1 quotas: - limit: 100.0 metric: CPUS usage: 0.0 - limit: 10240.0 metric: DISKS_TOTAL_GB usage: 0.0 - limit: 7.0 metric: STATIC_ADDRESSES usage: 0.0 - limit: 100.0 metric: IN_USE_ADDRESSES usage: 0.0 - limit: 2048.0 metric: SSD_TOTAL_GB usage: 0.0 - limit: 10240.0 metric: LOCAL_SSD_TOTAL_GB usage: 0.0 - limit: 100.0 metric: INSTANCE_GROUPS usage: 0.0 - limit: 50.0 metric: INSTANCE_GROUP_MANAGERS usage: 0.0 - limit: 1000.0 metric: INSTANCES usage: 0.0 - limit: 50.0 metric: AUTOSCALERS usage: 0.0 - limit: 20.0 metric: REGIONAL_AUTOSCALERS usage: 0.0 - limit: 20.0 metric: REGIONAL_INSTANCE_GROUP_MANAGERS usage: 0.0 selfLink: https://www.googleapis.com/compute/v1/projects/k8s-jkns-ci-node-e2e/regions/us-west1 status: UP zones: - https://www.googleapis.com/compute/v1/projects/k8s-jkns-ci-node-e2e/zones/us-west1-a - https://www.googleapis.com/compute/v1/projects/k8s-jkns-ci-node-e2e/zones/us-west1-b ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45247, 45810, 45034, 45898, 45899) Add MrHohn to couple e2e tests /assign @bowei **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45247, 45810, 45034, 45898, 45899) [Federation] Segregate DNS related code to separate controller **What this PR does / why we need it**: This is the continuation of service controller re-factor work as outlined in #41253 This PR segregates DNS related code from service controller to another controller `service-dns controller` which manages the DNS records on the configured DNS provider. `service-dns controller` monitors the federated services for the ingress annotations and create/update/delete DNS records accordingly. `service-dns controller` can be optionally disabled and DNS record management could be done by third party components by monitoring the ingress annotations on federated services. (This would enable something like federation middleware for CoreDNS where federation api server could be used as a backend to CoreDNS eliminating the need for etcd storage.) **Special notes for your reviewer**: **Release note**: ``` Federation: A new controller for managing DNS records is introduced which can be optionally disabled to enable third party components to manage DNS records for federated services. ``` cc @kubernetes/sig-federation-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45247, 45810, 45034, 45898, 45899) kubectl plugin: Expand environment variables in the command of plugin.yaml **What this PR does / why we need it**: This commit improves kubectl plugins to expand environment variables in the command of plugin.yaml. I'd like to use environment variables in the command of plugin.yaml as follows: ```yaml name: hello shortDesc: "The hello plugin" longDesc: > The hello plugin is a new plugin used by test-cmd to test multiple plugin locations. command: $HOME/path/to/plugins/hello.sh ``` **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 45247, 45810, 45034, 45898, 45899) Apiregistration v1alpha1→v1beta1 Promoting apiregistration api from v1alpha1 to v1beta1. API Registration is responsible for registering an API `Group`/`Version` with another kubernetes like API server. The `APIService` holds information about the other API server in `APIServiceSpec` type as well as general `TypeMeta` and `ObjectMeta`. The `APIServiceSpec` type have the main configuration needed to do the aggregation. Any request coming for specified `Group`/`Version` will be directed to the service defined by `ServiceReference` (on port 443) after validating the target using provided `CABundle` or skipping validation if development flag `InsecureSkipTLSVerify` is set. `Priority` is controlling the order of this API group in the overall discovery document. The return status is a set of conditions for this aggregation. Currently there is only one condition named "Available", if true, it means the api/server requests will be redirected to specified API server. ```release-note API Registration is now in beta. ```
-
Cao Shufeng authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45374, 44537, 45739, 44474, 45888) fix typo **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 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45374, 44537, 45739, 44474, 45888) Update 'More info' links on API types and fields > **Please just review the first commit, the rest is generated files.** Recent docs website shuffling during 1.6 caused majority of links in the API types and fields to break. Since we do not have server-side 301 redirects, user has to click an extra link, and the #target fragment in the URL will be lost. (This is because GitHub’s redirect_from feature is not ideal.) For the time being, I have manually gone through all of them to bring them up to date and add HTTPS to those missing it. This is a docs-only change and impacts generated code, generated swaggers, API reference docs etc. cc: @steveperry-53 @devin-donnelly @chenopis fyi, docs links changes (even small title changes) easily breaks links in API reference, Swagger, kubectl explain, and many other places. Signed-off-by:Ahmet Alp Balkan <ahmetb@google.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45374, 44537, 45739, 44474, 45888) Allow kcm and scheduler to lock on ConfigMaps. **What this PR does / why we need it**: Plumbs through the ability to lock on ConfigMaps through the kcm and scheduler. **Which issue this PR fixes** Fixes: #44857 Addresses issues with: #45415 **Special notes for your reviewer**: **Release note**: ``` Add leader-election-resource-lock support to kcm and scheduler to allow for locking on ConfigMaps as well as Endpoints(default) ``` /cc @kubernetes/sig-cluster-lifecycle-pr-reviews @jamiehannaford @bsalamat @mikedanese
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45374, 44537, 45739, 44474, 45888) Fix attach volume to instance repeatedly 1.When volume's status is 'attaching', controllermanager will attach it again and return err. So it is necessary to check volume's status before attach/detach volume. 2. When volume's status is 'attaching', its attachments will be None, controllermanager can't get device path and make some failed event. But it is normal, so don't return err when attachments is None Fix bug: #44536 -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45374, 44537, 45739, 44474, 45888) [Federation] Refactor sync controller's reconcile method for maintainability This PR refactors the sync controllers reconcile method for maintainability with the goal of eliminating the need for type-specific controller unit tests. The unit test coverage for reconcile is not complete, but I think it's a good start. cc: @kubernetes/sig-federation-pr-reviews
-
- 16 May, 2017 2 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45860, 45119, 44525, 45625, 44403) coredns: support IPv6 record set Added support for AAAA record for coredns and included unit test. Refactored common test code to reduce duplication from added test and existing tests. Fixed function names in comments for Google and AWS tests to match actual test name in this area. **What this PR does / why we need it**: Adding IPv6 support to kubernetes, once piece at a time. :) **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #44351 **Special notes for your reviewer**: In addition to the change and unit test method, I did some minor refactoring (since the UT was a near clone of an existing test). Fixed typos in related test methods' comment lines. Please let me know if this is OK (I was thinking it was a small change, but don't know the protocol here), or if I need to break it into multiple commits. **Release note**: ```NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45860, 45119, 44525, 45625, 44403) Make a log line more clear in kuberuntime_manager.go. Make a log in `podSandboxChanged` more clear. @yujuhong @feiskyer
-