- 23 Sep, 2016 40 commits
-
-
Phillip Wittrock authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Logging soak Implements #24427 Needs - #24471 so that it doesnt clog test outputs for scale - builds on the utils function added in support of #22869 cc @timothysc @kubernetes/sig-testing
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix API Installer to generate unique Operation IDs OperationIDs generated by api_installer.go may not be unique and that causes long auto-generated function names in swagger generated clients. This is a step toward making those IDs unique. Reference Issue kubernetes/features#53 and #13414
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Allow garbage collection to work against different API prefixes The GC needs to build clients based only on Resource or Kind. Hoist the restmapper out of the controller and the clientpool, support a new ClientForGroupVersionKind and ClientForGroupVersionResource, and use the appropriate one in both places. Allows OpenShift to use the GC
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove hacks from ScheduledJobs cron spec parsing Previusly `github.com/robfig/cron` library did not allow passing cron spec without seconds. First commit updates the library, which has additional method ParseStandard which follows the standard cron spec, iow. minute, hour, day of month, month, day of week. @janetkuo @erictune as promised in #30227 I've updated the library and now I'm updating it in k8s
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue oidc authenticator: allow string value as groups claim Allow the group claim to be a single string instead of an array of strings. This means the following claim { "role": "admin" } Will be mapped to the groups ["admin"] cc @kubernetes/sig-auth @mlbiam closes #33290 -
Kubernetes Submit Queue authored
Automatic merge from submit-queue Move HighWaterMark to the top of the struct in order to fix arm, second time ref: #33117 Sorry for not fixing everyone at once, but I seriously wasn't prepared for that quick LGTM
😄 , so here's the other half. @lavalamp > lgtm, but seriously, this is terrible, we probably have this bug all over. And what if someone embeds the etcdWatcher struct in something else not at the top? We need the compiler to enforce things like this, it just can't be done manually. Can you file or link a golang issue for this? I totally agree! There isn't currently a way of programmatically detecting this unfortunately. I guess @davecheney or @minux can explain better to you why it's so hard. This is noted in https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/multi-platform.md as a corner case indeed. @pwittrock This should be cherrypicked toghether with #33117 -
Kubernetes Submit Queue authored
Automatic merge from submit-queue disallow user to update loadbalancerSourceRanges buy myself some time to fix the root cause of #33033
-
mbohlool authored
-
mbohlool authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix race condition in setting node statusUpdateNeeded flag This PR fixes the race condition in setting node statusUpdateNeeded flag in master's attachdetach controller. This flag is used to indicate whether a node status has been updated by the node_status_updater or not. When updater finishes update a node status, it is set to false. When the node status is changed such as volume is detached or new volume is attached to the node, the flag is set to true so that updater can update the status again. The previous workflow has a race condition as follows 1. updater gets the currently attached volume list from the node which needs to be updated. 2. A new volume A is attached to the same node right after 1 and set the flag to TRUE 3. updater updates the node attached volume list (which does not include volume A) and then set the flag to FALSE. The result is that volume A will be never added to the attached volume list so at node side, this volume is never attached. So in this PR, the flag is set to FALSE when updater tries to get the attached volume list (as in an atomic operation). So in the above example, after step 2, the flag will be TRUE again, in step 3, updater does not set the flag if updates is sucessful. So after that, flag is still TRUE and in next round of update, the node status will be updated.
-
Lucas Käldström authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add resource filter handling before printing **Release note**: ```release-note release-note-none ``` Resources are currently filtered (in order to prevent printing) at print time in their HumanReadablePrinter handlers. This design makes it not possible to filter objects when they are printed using any other printer, such as YAML, JSON, or the NamePrinter. This patch removes any filters previously added at the printer level for pods and adds a way to define resource-specific filters before they are sent to a printer handler. A woking filter handler for pods has also been implemented. Filters affect resources being printed through the HumanReadablePrinter, YAML, JSON, and `--template` printers. cc @smarterclayton
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue unify available api group versions in our scripts There are currently many parallel lists of available group versions with slightly different syntaxes in each one. This collapses them into a single list for us to maintain. Also caught spots where the lists didn't match before. @sttts @ncdc
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Alpha JWS Discovery API for locating an apiserver securely This PR contains an early alpha prototype of the JWS discovery API outlined in proposal #30707. CA certificate, API endpoints, and the token to be used to authenticate to this discovery API are currently passed in as secrets. If the caller provides a valid token ID, a JWS signed blob of ClusterInfo containing the API endpoints and the CA cert to use will be returned to the caller. This is used by the alpha kubeadm to allow seamless, very quick cluster setup with simple commands well suited for copy paste. Current TODO list: - [x] Allow the use of arbitrary strings as token ID/token, we're currently treating them as raw keys. - [x] Integrate the building of the pod container, move to cluster/images/kube-discovery. - [x] Build for: amd64, arm, arm64 and ppc64le. (just replace GOARCH=) - [x] Rename to gcr.io/google_containers/kube-discovery-ARCH:1.0 - [x] Cleanup rogue files in discovery sub-dir. - [x] Move pkg/discovery/ to cmd/discovery/app. There is additional pending work to return a kubeconfig rather than ClusterInfo, however I believe this is slated for post-alpha.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Speed up job's e2e when waiting for failure **What this PR does / why we need it**: Job controller synchronizes objects only when job itself or underlying pod changes. Or, when full resync is performed once 10 mins. This leads e2e test to unnecessarily wait that longer timeout, sometimes at least. I've added job modification action which triggers resync, if the job wasn't terminated within shorter period of time. @ixdy ptal @janetkuo @erictune fyi
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue if item name is equal to kubernetes break the loop
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Cleanup genericapiserver handler chain - move generic (api independent) handler filters to `pkg/genericapiserver/filters` - entangle `genericapiserver.New()` - unify signature of all handler filters (also those in `pkg/apiserver`)
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix node performance benchmark by using latest containervm image (docker 1.11.2) Also add two more tests for resource tracking. cc/ @Random-Liu @coufon
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Reset core_patern on GCI The default core_pattern pipes the core dumps to /sbin/crash_reporter which is more restrictive in saving crash dumps. So for now, set a generic core_pattern that users can work with. @dchen1107 @aulanov can you please review? cc/ @kubernetes/goog-image
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue simplify svc lister trying to track down what killed the e2e tests.
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Reduce genericapiserver api surface
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove duplicated ECDHE key handling This PR removes the duplicated ECDHE private key handling. `x509.CreateCertificateRequest` picks the signature type for ECDHE keys already (see https://golang.org/src/crypto/x509/x509.go `signingParamsForPublicKey`). Only the RSA key signature needed customization. It also defers to `CreateCertificateRequest` to return errors on unknown private key types.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add locking around apiGroupsForDiscovery <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add positive logging for GC events We have no positive logging for GC events. This PR: 1. Adds positive logging at V(4) for success cases 2. Adds positive logging at V(1) for the first successful GC after a failure
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Mount kubelet root directory as executable in GCI Fixes #33315 and #33318 This PR is isolated to GCI distro. Without this rather simple patch, PetSets won't work with GCI. Hence requesting a cherry-pick.
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue swtich ifdown/ifup to use ip link down/up instead fix: #33327
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Dereference the UID pointer for a readable error message. cc @nikhiljindal @quinton-hoole @kubernetes/sig-cluster-federation
-
Vishnu kannan authored
Signed-off-by:Vishnu kannan <vishnuk@google.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Don't try to write the wrong UID, version on Federated Ingress updates. Fixes #33135. This looks more complicated than it really is. Essentially, use the cluster object's metadata, rather than the federated objects's metadata when updating cluster Ingress objects. The deepcopy stuff is mainly to get around shortcomings in the Kubernetes fake test infrastructure, which ends up with crossed pointers if we don't deep copy.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make genericapiserver.PostStartHooks private Better do not leak members to downstream if not necessary.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubectl: move events sorting interface to the api for general use Split from https://github.com/kubernetes/kubernetes/pull/19343 @kubernetes/kubectl
-
Madhusudan.C.S authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make e2e.go give us JUnit results. Will assign to @fejta when it's ready to go. https://github.com/kubernetes/test-infra/issues/76
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Staging 1.5 client Created the 1.5 folder and remove the 1.4 folder in the staging area in the master branch. Content of kubernetes/client-go/1.4 will be pulled from the kubernetes/kubernetes 1.4 branch (https://github.com/kubernetes/contrib/pull/1719)
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add docker client version. Addressed https://github.com/kubernetes/kubernetes/issues/29478#issuecomment-248197665. This partially reverted #31540, because currently we are really trying to connect to docker daemon when creating the client. This PR updated docker client with real docker apiversion with `UpdateClientVersion`, so that the version related logic of engine-api can work properly, such as https://github.com/docker/engine-api/pull/174/files. @yujuhong @feiskyer
-