1. 13 Apr, 2016 21 commits
  2. 12 Apr, 2016 19 commits
    • Abhi Shah's avatar
      Merge pull request #24149 from ihmccreery/upgrade-clean · 405656ef
      Abhi Shah authored
      e2e-runner: don't clean old binaries before upgrade
      405656ef
    • Jeff Grafton's avatar
      Merge pull request #24109 from ixdy/dockerized-e2e · 0fb74788
      Jeff Grafton authored
      Run most GCE, GKE, and Kubemark e2e jobs inside Docker
      0fb74788
    • k8s-merge-robot's avatar
      Merge pull request #24066 from wonderfly/serial_tests_trusty · 95871a35
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Start running [Serial] tests in Trusty CI jobs and the release job of Trusty-dev
      
      Adding these tests as requested in https://github.com/kubernetes/kubernetes/issues/23956#issuecomment-207096136
      
      @spxtr Can you review this?
      cc/ @dchen1107 @andyzheng0831 
      95871a35
    • k8s-merge-robot's avatar
      Merge pull request #22649 from rootfs/nfs-fix · 21f4d1f1
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      disable nfsv4 and use nfsv3
      
      fix #22529 
      21f4d1f1
    • Isaac Hollander McCreery's avatar
    • k8s-merge-robot's avatar
      Merge pull request #24003 from yujuhong/metrics_test · e9c1d591
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      e2e: adapt kubelet_perf.go to use the new summary metrics API
      
      This commit switch most functions in kubelet_stats.go to use the new API.
      However, the functions that perform one-time resource usage retrieval remain
      unchanged to be compatible with reource_usage_gatherer.go. They should be
      handled separately.
      
      Also, the new summary API does not provide the RSS memory yet, so all memory
      checking tests will *always* pass. We plan to add this metrics in the API and
      restore the functionality of the test.
      e9c1d591
    • k8s-merge-robot's avatar
      Merge pull request #23827 from derekwaynecarr/remove_sc_deny_vagrant · 6ff05bb9
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Remove SecurityContextDeny from vagrant setup
      
      This should not be needed in the vagrant setup.
      6ff05bb9
    • k8s-merge-robot's avatar
      Merge pull request #24008 from liggitt/watch_cache · f4a421d4
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Make watch cache treat resourceVersion consistent with uncached watch
      
      Fixes #24004
      
      This makes the watch cache handle resourceVersion consistent with an uncached watch API call, and the documented behavior. Watching from resourceVersion=X delivers watch events *after* version X (X is not included):
      
      > // When specified with a watch call, shows changes that occur after that particular version of a resource.
      > // Defaults to changes from the beginning of history.
      > ResourceVersion string
      f4a421d4
    • k8s-merge-robot's avatar
      Merge pull request #24110 from vishh/node-conformance · 828ea5a7
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Convert the node conformance tests to use dedicated images.
      
      This PR will de-flake the node e2e.
      828ea5a7
    • Alex Robinson's avatar
      Merge pull request #24075 from a-robinson/multizone · 80a75ff7
      Alex Robinson authored
      Add an e2e test suite for multi-zone GKE clusters.
      80a75ff7
    • Yu-Ju Hong's avatar
      e2e: adapt kubelet_perf.go to use the new summary metrics API · a8c68592
      Yu-Ju Hong authored
      This commit switch most functions in kubelet_stats.go to use the new API.
      However, the functions that perform one-time resource usage retrieval remain
      unchanged to be compatible with reource_usage_gatherer.go. They should be
      handled separately.
      
      Also, the new summary API does not provide the RSS memory yet, so all memory
      checking tests will *always* pass. We plan to add this metrics in the API and
      restore the functionality of the test.
      a8c68592
    • Huamin Chen's avatar
      fix #22529: disable nfsv4 and use nfsv3 · 3a914c25
      Huamin Chen authored
      3a914c25
    • k8s-merge-robot's avatar
      Merge pull request #20204 from HaiyangDING/predlib · e93c0d72
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Move predicates into library
      
      This PR tries to implement #12744 
      
      Any suggestions/ideas are welcome. @davidopp 
      
      current state: integration test fails if including podCount check in Kubelet.
          
      DONE:
          1. refactor all predicates: predicates return fitOrNot(bool) and error(Error) in which the latter is of type PredicateFailureError or InsufficientResourceError
          2. GeneralPredicates() is a predicate function, which includes serveral other predicate functions (PodFitsResource, PodFitsHost, PodFitsHostPort). It is registered as one of the predicates in DefaultAlgorithmProvider, and is also called in canAdmitPod() in Kubelet and should be called by other components (like rescheduler, etc if necessary. See discussion in issue #12744
      TODO:
          1. determine which predicates should be included in GeneralPredicates()
          2. separate GeneralPredicates() into: a.) GeneralPredicatesEvictPod() and b.) GeneralPredicatesNotEvictPod()
          3. DaemonSet should use GeneralPredicates()
      e93c0d72
    • Jordan Liggitt's avatar
      ada60236
    • k8s-merge-robot's avatar
      Merge pull request #16964 from liggitt/json_precision · fcddb9cb
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Preserve int data when unmarshaling
      
      There are several places we use `json.Unmarshal` into an unstructured map (StrategicMergePatch, UnstructuredJSONScheme, many others).
      
      In this scenario, the json package converts all numbers to float64. This exposes many of the int64 fields in our API types to corruption when the unstructured map is marshalled back to json.
      
      A simple example is a pod with an `"activeDeadlineSeconds": 1000000`. Trying to use `kubectl label`, `annotate`, `patch`, etc results in that int64 being converted to a float64, submitted to the server, and the server rejecting it with an error about "cannot unmarshal number 1e+6 into Go value of type int64"
      
      The json package provides a way to defer conversion of numbers (`json.Decoder#UseNumber`), but does not actually do conversions to int or float. This PR makes use of that feature, and post-processes the unmarshalled map to convert json.Number objects to either int64 or float64 values
      fcddb9cb
    • k8s-merge-robot's avatar
      Merge pull request #23660 from goltermann/vetclean · acf9492c
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Additional go vet fixes
      
      Mostly:
      - pass lock by value
      - bad syntax for struct tag value
      - example functions not formatted properly
      acf9492c
    • k8s-merge-robot's avatar
      Merge pull request #24015 from yujuhong/rss_memory · fda8ec2f
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      kubele: add RSS memroy to the summary API
      fda8ec2f
    • k8s-merge-robot's avatar
      Merge pull request #23763 from david-mcmahon/build-regex · af1803bf
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Fix valid CI version regex in parse_and_validate_release_version().
      
      Ref: #23759
      cc @ihmccreery 
      af1803bf
    • Salvatore Dario Minonne's avatar
      15b75774