- 18 May, 2017 40 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Advanced audit logging API This is an initial implementation of the API proposed in https://github.com/kubernetes/community/blob/master/contributors/design-proposals/auditing.md This deviates from the exact API specified in the proposal in a number of ways. Here's a list of some of the changes I made, and why: - General API conformance (`metav1.{Type,List}Meta`, +optional, etc.) - Dropped fields that won't be part of the initial implementation (storage objects & filters), to be added later - {Request,Response}Body -> {Request,Response}Object - This is actually what the proposal originally had, and will be much better for adding Filters later, and provides a less protocol-dependent API. Note that there is currently no way to include Response body for non-resource requests. - Drop HttpMethod - redundant with verb - Response{StatusCode,ErrorMessage} collapsed into `ResponseStatus *metav1.Status` - This is the standard response type for resourec errors, but can hold genereric error responses too. Note that this is part of the `Metadata` Level. /cc @kubernetes/sig-auth-api-reviews @kubernetes/api-reviewers
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Same internal and external ip for vSphere Cloud Provider Currently, vSphere Cloud Provider reports internal ip as container ip addresses. This PR modifies vSphere Cloud Provider to report same ip address as both internal and external that is provided by vmware infrastructure. cc @pdhamdhere @tusharnt @BaluDontu @divyenpatel @luomiao
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Pass pod metadata to flex plugin Normal volume plugins get the pod spec to pull information from when setting up their volume, but flex plugins do not. If a flex volume wants to set up things unique to the pod, or limited in permission based on the service account, the pod namespace, name, uid, and service account name are needed. This PR adds pod uid, name, namespace, and service account name to the options passed to the plugin available during mounting ```release-note The options passed to a flexvolume plugin's mount command now contains the pod name (`kubernetes.io/pod.name`), namespace (`kubernetes.io/pod.namespace`), uid (`kubernetes.io/pod.uid`), and service account name (`kubernetes.io/serviceAccount.name`). ```
-
Chao Xu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add approvers to vsphere cloudprovider This PR adds approvers for vSphere Cloud provider. cc @pdhamdhere @tusharnt @BaluDontu @divyenpatel @luomiao
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use beta GCP API instead of alpha in CloudCIDR controller The feature we are using has been promoted to beta. ```release-note NONE ```
-
Tim St. Clair authored
-
Tim St. Clair authored
-
Tim St. Clair authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove ObjectNameFunc from custom resources @deads2k as far as I can tell these `ObjectNameFunc`s are unnecessary. Signed-off-by:Monis Khan <mkhan@redhat.com> **Release note**: ``` NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue More owners from SIG-CLI Adds SIG-CLI as reviewers and approvers of `cmd/clicheck/` and adds me + @pwittrock as approvers in `hack/` (mostly for `test-cmd` and some `hack/verify*.sh` and `hack/update*.sh` scripts). **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add initializers to ObjectMeta and a new filter on ListOptions Will support admission extension by allowing controllers to interact with objects before they are visible to the rest of the API. Part of https://github.com/kubernetes/community/blob/master/contributors/design-proposals/admission_control_extension.md
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Api-extensions server integraton test: etcd storage @deads2k here is the test we talked about yesterday. Few comments: SelfLink for CR Instances looks broken (my first test was not enough, sorry) please have a look [here](https://github.com/sdminonne/kubernetes/blob/apiextensions-server-storage/staging/src/k8s.io/kube-apiextensions-server/test/integration/registration_test.go#L435) and [here](https://github.com/sdminonne/kubernetes/blob/apiextensions-server-storage/staging/src/k8s.io/kube-apiextensions-server/test/integration/registration_test.go#L409) Not fully sure about the way etcd client works. I had to concatenate two times the prefix to get the value. The first time from the caller ([example](https://github.com/sdminonne/kubernetes/blob/apiextensions-server-storage/staging/src/k8s.io/kube-apiextensions-server/test/integration/registration_test.go#L428)) and the second time in the [get function](https://github.com/sdminonne/kubernetes/blob/apiextensions-server-storage/staging/src/k8s.io/kube-apiextensions-server/test/integration/registration_test.go#L473). Not sure if it's a problem or not, here is the `etcdctl` output for example: ``` $ ETCDCTL_API=3 etcdctl get "" --from-key /7b02b490-8e8e-4649-ab92-aad1173314fb/7b02b490-8e8e-4649-ab92-aad1173314fb/apiextensions.k8s.io/customresourcedefinition s/noxus.mygroup.example.com {"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1alpha1","metadata":{"name":"noxus.mygroup.exampl e.com","selfLink":"/apis/apiextensions.k8s.io/v1alpha1/customresourcedefinitions/noxus.mygroup.example.com","uid":"9a08f 664-3b17-11e7-94b1-847beb037559","creationTimestamp":"2017-05-17T15:43:41Z"},"spec":{"group":"mygroup.example.com","vers ion":"v1alpha1","names":{"plural":"noxus","singular":"nonenglishnoxu","shortNames":["foo","bar","abc","def"],"kind":"Wis hIHadChosenNoxu","listKind":"NoxuItemList"},"scope":"Namespaced"},"status":{"conditions":[{"type":"NameConflict","status ":"False","lastTransitionTime":null,"reason":"NoConflicts","message":"no conflicts found"}],"acceptedNames":{"plural":"n oxus","singular":"nonenglishnoxu","shortNames":["foo","bar","abc","def"],"kind":"WishIHadChosenNoxu","listKind":"NoxuIte mList"}}} /7b02b490-8e8e-4649-ab92-aad1173314fb/7b02b490-8e8e-4649-ab92-aad1173314fb/mygroup.example.com/noxus/not-the-default/foo {"apiVersion":"mygroup.example.com/v1alpha1","content":{"key":"value"},"kind":"WishIHadChosenNoxu","metadata":{"clusterN ame":"","creationTimestamp":"2017-05-17T15:43:41Z","deletionGracePeriodSeconds":null,"deletionTimestamp":null,"name":"fo o","namespace":"not-the-default","selfLink":"","uid":"9a174a53-3b17-11e7-94b1-847beb037559"}} ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45950, 45968) [Federation] Remove redundant e2e for secret and daemonset Federation of daemonset and secret types is now implemented by the sync controller, and e2e testing for each type is provided via crud lifecycle e2e tests. This renders the legacy e2e tests for these types redundant, and this commit removes those tests. The secret wait and delete functions required by the ingress e2e tests have been retained and moved to ingress.go. cc: @kubernetes/sig-federation-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make real proxier in hollow-proxy optional (default=true) Ref https://github.com/kubernetes/kubernetes/pull/45622 This allows using real proxier for hollow proxy, but we use the fake one by default. cc @kubernetes/sig-scalability-misc @wojtek-t @gmarek
-
Clayton Coleman authored
-
Clayton Coleman authored
-
Salvatore Dario Minonne authored
-
Salvatore Dario Minonne authored
-
Shyam Jeedigunta authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update cluster startup scripts to use gcloud beta for alias IP support The feature has gone from alpha to beta. ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45582, 45855) move build related files out of the root directory Turn the files in root to symlinks into build/root/ alternative to OWNERS changes. what do you guys think of this?
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue avoid concrete examples for missingResourceError missingResourceError uses pod and services as an example in error message. However some sub-commands doesn't support pod/service, this change use `<resource> <name>` instead of concrete examples. Before this change: ```console $ kubectl set subject error: You must provide one or more resources by argument or filename. Example resource specifications include: '-f rsrc.yaml' '--filename=rsrc.json' 'pods my-pod' 'services' ``` After this change: ```console $ kubectl set subject error: You must provide one or more resources by argument or filename. Example resource specifications include: '-f rsrc.yaml' '--filename=rsrc.json' '<resource> <name>' '<resource>' ``` **Release note**: ```release-note avoid concrete examples for missingResourceError ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add myself to openstack review pool **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix the issue in Windows kube-proxy when processing unqualified name. This is for DNS client such as ping or iwr that validate name in response and original question. **What this PR does / why we need it**: This PR is an additional fix to #41618 and [the corresponding commit](https://github.com/kubernetes/kubernetes/commit/b9dfb69dd7679ae31bad1fb4980561fea22f8ed4). The DNS client such as nslookup does not validate name matching in response and original question. That works fine when we append DNS suffix to unqualified name in DNS query in Windows kube-proxy. However, for DNS client such as ping or Invoke-WebRequest that validates name in response and original question, the issue arises and the DNS query fails although the received DNS response has no error. This PR fixes the additional issue by restoring the original question name in DNS response. Further, this PR refactors DNS message routines by using miekg's DNS library. This PR affects the Windows kube-proxy only. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #42605 **Special notes for your reviewer**: **Release note**: ```release-note Fix DNS suffix search list support in Windows kube-proxy. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Improve pause-container warning message Signed-off-by:Vinothkumar Siddharth <sidvin@amazon.com> **What this PR does / why we need it**: This just improves the warning message currently emitted by pause **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 Move defaulting logic for ExternalTrafficPolicy into defaults.go Link #45812. Per [#45812/comment](https://github.com/kubernetes/kubernetes/issues/45812#issuecomment-301632807), move defaulting logic to defaults.go so that federation will get the same code. This PR does not have any functional change :) /assign @freehan @thockin /cc @madhusudancs @nikhiljindal @shashidharatd Also /cc @caesarxuchao per the client-go changes. **Release note**: ```release-note NONE ```
-
NickrenREN authored
-
Jordan Liggitt authored
-
Dawn Chen authored
Revert "Remove reasons from iptables syncProxyRules"
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40234, 45885, 42975) Log how much time it takes e2e tests to clean up the namespace
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40234, 45885, 42975) delete unused para. **What this PR does / why we need it**: delete unused para. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40234, 45885, 42975) Fed target cluster by label for sync controller [use clusterselector w/ federated configmap deploys](https://github.com/kubernetes/kubernetes/pull/40234/commits/667dc7744475878749acdf972d54bc11f28b993d) **What this PR does / why we need it**: adds the ability to indicate objects are sent to subsets of federated clusters ref #29887 **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 restrict visibility of client-go/pkg/api The dependency was removed in a previous PR.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45990, 45544, 45745, 45742, 45678) Add explicit image tag to cockroachdb example and test @gyliu513 ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45990, 45544, 45745, 45742, 45678) Add integration test for deployment We have no integration test for Deployment currently. In this PR, add an integration test which covers an e2e test (create a new RollingUpdate deployment), add more replicas to the Deployment, and set minReadySeconds so that we can test maxUnavailable. Plan to add more integration tests that cover e2e tests after this initial PR is merged. @kubernetes/sig-apps-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45990, 45544, 45745, 45742, 45678) [Federation] Add integration testing for cluster addition This PR adds integration testing of the sync controller for cluster addition. This ensures coverage equivalency between the integration tests and the old controller unit tests, so those tests are removed by this PR. Resolves #45257 cc: @kubernetes/sig-federation-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45990, 45544, 45745, 45742, 45678) Refactor reconciler volume log and error messages **What this PR does / why we need it**: Utilizes volume-specific error and log messages introduced in #44969, inside files that also log volume information. Specifically: - pkg/kubelet/volumemanager/reconciler/reconciler.go, - pkg/controller/volume/attachdetach/reconciler/reconciler.go, and - pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go **Which issue this PR fixes** : fixes #40905 **Special notes for your reviewer**: **Release note**: ```release-note ``` NONE
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Bug Fix] Return quantity freed even when an error exists bug was added by #44986. If we get an error from deleteImages, we try and use the bytes freed in a calculation. That PR changed the behavior from evicting a pod upon error, to panicking because of the nil pointer. This should fix inode eviction tests /assign @dchen1107
-
Chao Xu authored
-