1. 16 Dec, 2016 32 commits
  2. 15 Dec, 2016 8 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #36462 from mikedanese/discovery · 8d71970d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kubeadm: refactor discovery behind an interface
      
      This adds support for alternative discovery methods using discovery urls. It is a breaking change. This is a WIP.
      
      Example usage:
      ```
      $ kubeadm init --discovery token://
      $ kubeadm join --discovery token://c05de9:ab224260fb3cd718@192.168.0.1:6555,191.168.0.2:6443
      $ kubeadm join --discovery file:///etc/kubernetes/cluster.json
      $ kubeadm join --discovery https://storage.google.apis.com/kube-discovery/98ea6e4/kubeconfig.json
      ```
      
      @kubernetes/sig-cluster-lifecycle
      8d71970d
    • Random-Liu's avatar
      Fix report prefix for node conformance test. · c57f2ec0
      Random-Liu authored
      c57f2ec0
    • Kubernetes Submit Queue's avatar
      Merge pull request #38647 from deads2k/cli-14-factory · 845187b1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      make kubectl factory composeable
      
      Alternate resolution of https://github.com/kubernetes/kubernetes/pull/38524.
      
      Currently, the kubectl factory cannot be cleanly composed because without polymorphism, any calls which delegate to other factory methods cannot injected.  We cannot reasonably predict everything a composer would want to override, so enumeration of individual "we think this field is important" function is untenable.  On the other hand, having a method registry func and attaching methods to it resulted in chaos before 1.5 and the cleaner interface.
      
      This pull takes the approach of building the factory in "rings" of subfactories.  RingN relies on RingN-1 and the overall factory is a set of nested factories.  No function in a "ring" is allowed to reference a peer function, but it may reference a parent ring's function.  This allows us to easily compose one chain for raw kube, but an extender can simply wrap a particular ring with his custom handling of particular functions and then continue the chain as normal.  This allows customization of each individual function.
      
      It turns out that we have three rings.
       1. discovery, negotiation, and no-dep functions
       1. object typing and type mapping
       1. stuff that relies on type mapping (builder)
      
      This pull does nothing split apart the dependencies.  No behavior changes.  There's more cleanup that could be done (particularly in naming), but I'd like to defer that to a later step.
      
      @kubernetes/sig-cli @fabianofranz @AdoHe this is going to be a pain to rebase, so quick reviews are appreciated.
      @ncdc @smarterclayton
      845187b1
    • Janet Kuo's avatar
      Remove GroupMeta.Codec · 05a1b3f5
      Janet Kuo authored
      05a1b3f5
    • Kubernetes Submit Queue's avatar
      Merge pull request #38829 from ixdy/build-tools-rename-back · 853fcc39
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 38788, 38821, 38829)
      
      Rename build-tools/debs to build/debs
      
      **What this PR does / why we need it**: PR #36129 merged after #38736, and thus created a few files under `build-tools/debs`, which then confused the test and release infra.
      
      cc @madhusudancs @nikhiljindal
      853fcc39
    • Kubernetes Submit Queue's avatar
      Merge pull request #38821 from whitlockjc/fix-dev-build-scripts · 15ce72e3
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 38788, 38821, 38829)
      
      hack/dev-build-*: Run dev build instead of release build
      
      The current dev-build-*.sh scripts do a full release build which means
      running tests and also doing cross-platform builds.  This is unnecessary
      and after discussing this in Slack it was suggested to either blow away
      these files or fix them.  This should fix them.
      
      /cc @ixdy, @mml, @thockin
      15ce72e3
    • Kubernetes Submit Queue's avatar
      Merge pull request #38788 from Random-Liu/fix-node-conformance-test · d169d595
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 38788, 38821, 38829)
      
      Node Conformance Test: Fix node conformance test.
      
      The test suite could build on my desktop. However it is failing on jenkins.
      https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-node-kubelet-conformance/1
      
      It turns out that `docker save $IMAGE -o $FILE` only works for docker 1.12. (My desktop is 1.12) For older version docker, we should use `docker save -o $FILE $IMAGE instead`. (Jenkins is using 1.9.1)
      
      @timstclair Could you help me review this short PR? :)
      d169d595
    • Mike Danese's avatar
      kubeadm: support --discovery token:// · 7945c437
      Mike Danese authored
      7945c437