1. 21 Dec, 2016 14 commits
  2. 20 Dec, 2016 26 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #38919 from brendandburns/fix · e843f77c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add a KUBERNETES_NODE_* section to build kubelet/kube-proxy for windows
      
      @pires @ixdy 
      
      Addresses https://github.com/kubernetes/kubernetes/issues/38785 (I hope)
      e843f77c
    • Justin Santa Barbara's avatar
      dnsprovider: Expose route53 constructor · 6e3eab49
      Justin Santa Barbara authored
      This enables testing when the dnsprovider is used externally (with a
      mock Route53 API, as we do in kops), and also might be useful for
      constructing with a particular client instance with extra options.
      6e3eab49
    • Bowei Du's avatar
      Update reference to dns sidecar (was dnsmasq-metrics); remove exec-healthz · 4177639d
      Bowei Du authored
      k8s-dns-sidecar --probe will be used to maintain a health check
      of the DNS related daemons. This removes the need for exec-healthz.
      4177639d
    • Kubernetes Submit Queue's avatar
      Merge pull request #39045 from justinsb/hippocrazy · 4474263a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 35805, 36972, 39045)
      
      Fix spelling in package naming linter error message
      
      ```release-note
      NONE
      ```
      4474263a
    • Kubernetes Submit Queue's avatar
      Merge pull request #36972 from rkouj/pd-api-test · e9a8554c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 35805, 36972, 39045)
      
      Add e2e test to detach a pd whose node api object was deleted
      
      **What this PR does / why we need it**:
      `E2E Test for:`
      If API object representing a node is deleted with a GCE PD still attached to that node, subsequent attempts by the attach/detach controller to detach it should not fail
      e9a8554c
    • Kubernetes Submit Queue's avatar
      Merge pull request #35805 from dgoodwin/token-mgmt · 52df372f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Implement kubeadm bootstrap token management
      
      Creates bootstrap tokens as secrets per the specification in #30707 
      
      _WARNING_: These are not currently hooked up to the discovery service or the token it creates.
      
      Still TODO:
      - [x] delete tokens
      - [x] merge with #35144 and adopt it's testing approach
      - [x] determine if we want wholesale json output & templating like kubectl (we do not have an API object with the data we want here) may require a bit of plumbing.
      - [x] allow specifying a token duration on the CLI
      - [x] allow configuring the default token duration
      - [x] hook up the initial token created during init
      
      Sample output:
      
      ```
      (root@centos1 ~) $ kubeadm token create
      Running pre-flight checks
      <cmd/token> Token secret created: f6dc69.c43e491752c4a0fd
      (root@centos1 ~) $ kubeadm token create
      Running pre-flight checks
      <cmd/token> Token secret created: 8fad2f.e7b78c8a5f7c7b9a
      (root@centos1 ~) $ kubeadm token list  
      Running pre-flight checks
      ID        TOKEN                     EXPIRATION
      44d805    44d805.a4e78b6cf6435e33   23h
      4f65bb    4f65bb.d006a3c7a0e428c9   23h
      6a086e    6a086e.2ff99f0823236b5b   23h
      8fad2f    8fad2f.e7b78c8a5f7c7b9a   23h
      f6dc69    f6dc69.c43e491752c4a0fd   23h
      f81653    f81653.9ab82a2926c7e985   23h
      ```
      52df372f
    • Kubernetes Submit Queue's avatar
      Merge pull request #39023 from Ciello89/master · 223655dc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Update README.md
      
      Removing an extra word in the README
      223655dc
    • Kubernetes Submit Queue's avatar
      Merge pull request #38929 from soltysh/cronjob_gen_test · cc215202
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add test for CronJob generator
      
      Per @janetkuo request this was split from #38614, it adds test for `CronJob` generator, and additionally copy labels to `JobTemplate`, to be consistent with how `Job` generator works.
      cc215202
    • Justin Santa Barbara's avatar
    • rkouj's avatar
      d405d041
    • deads2k's avatar
      create kubelet client cert with correct group · 8360bc1a
      deads2k authored
      8360bc1a
    • Kubernetes Submit Queue's avatar
      Merge pull request #38410 from justinsb/aws_region_ca_central · 1bfd4f0a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      AWS: Recognize ca-central-1 region
      
      Recognize the newly announced ca-central-1 region
      1bfd4f0a
    • Kubernetes Submit Queue's avatar
      Merge pull request #39013 from xulike666/first-contributor-from-harmonycloud · 25dd8cbd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix typo on federation/pkg/dnsprovider/plugins.go
      
      **What this PR does / why we need it**: Increase code readability
      
      **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**: just fix one minor mistake as first contribution
      
      **Release note**:
      
      ```release-note
      ```
      25dd8cbd
    • Devan Goodwin's avatar
      Implement kubeadm bootstrap token management. · bfe345dd
      Devan Goodwin authored
      Adds kubeadm subcommands to create, list, and delete bootstrap tokens.
      Tokens can be created with a TTL duration, or 0 for tokens that will not
      expire. The create command can also be used to specify your own token
      (for use when bootstrapping masters and nodes in parallel), or update an
      existing token's secret or ttl.
      
      Marked "ex" for experimental for now as the boostrap controllers are not
      yet hooked up in core.
      bfe345dd
    • Kubernetes Submit Queue's avatar
      Merge pull request #38984 from deads2k/fed-16-make-image · 46afb00f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      create kuberentes-discovery image
      
      Creates an image for `kubernetes-discovery` since this is the API registration, aggregation, and proxy image.
      46afb00f
    • Ciello89's avatar
      Update README.md · f8633a8e
      Ciello89 authored
      f8633a8e
    • Kubernetes Submit Queue's avatar
      Merge pull request #38705 from wojtek-t/fix_watch_cache · d0582409
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Reduce timeout for waiting for resource version
      
      Ref #37473
      d0582409
    • deads2k's avatar
      create kuberentes-discovery image · 47073be3
      deads2k authored
      47073be3
    • Shyam Jeedigunta's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #39010 from jszczepkowski/ha-validation-fix · 149bb305
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 37477, 39010)
      
      Added extra logging in validate cluster.
      149bb305
    • Aaron.L.Xu's avatar
      8a4fc9c7
    • Kubernetes Submit Queue's avatar
      Merge pull request #37477 from… · 2bd077df
      Kubernetes Submit Queue authored
      Merge pull request #37477 from bruceauyeung/k8s-branch-fix-metrics-monitor-always-get-zero-value-http-code-in-ServeHTTP
      
      Automatic merge from submit-queue
      
      fix incorrect parameter pass to metrics.Monitor method call in ServeHTTP
      
      **What this PR does / why we need it**:
      
      before this PR:
      1. `httpCode` is evaluated when defer statement executes, so all later assignments to `httpCode` is actually ineffectual. this obviously is not the design purpose.
      2. `w.Header().Get("Content-Type")` is  evaluated when defer statement executes, so all later `w.Header().Set("Content-Type",xxx)` ( in `writeNegotiated` ) is ineffectual to `metrics.Monitor`, i think this also is not the design purpose.
      
      after this PR:
      1. `httpCode` and `w.Header().Get("Content-Type")` is evaluated when the defered anonymous function executes, so `metrics.Monitor` will get correct `httpCode` and `Content-Type` field value.
      2. in `ServeHTTP` method there is not any modification to `req` parameter, so it's safe to defer its evaluation.
      Signed-off-by: 's avatarbruceauyeung <ouyang.qinhua@zte.com.cn>
      2bd077df
    • Kubernetes Submit Queue's avatar
      Merge pull request #33965 from euank/coreos-kube-up-now-with-less-cloud-init · 3994845f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Coreos kube-up now with less cloud init
      
      This update includes significant refactoring. It moves almost all of the
      logic into bash scripts, modeled after the `gci` cluster scripts.
      
      The reason to do this is:
      1. Avoid duplicating the saltbase manifests by reusing gci's parsing logic (easier maintenance)
      2. Take an incremental step towards sharing more code between gci/trusty/coreos, again for better maintenance
      3. Pave the way for making future changes (e.g. improved rkt support, kubelet support) easier to share
      
      The primary differences from the gci scripts are the following:
      1. Use of the `/opt/kubernetes` directory over `/home/kubernetes`
      2. Support for rkt as a runtime
      3. No use of logrotate
      4. No use of `/etc/default/`
      5. No logic related to noexec mounts or gci-specific firewall-stuff
      
      It will make sense to move 2 over to gci, as well as perhaps a few other small improvements. That will be a separate PR for ease of review.
      
      Ref #29720, this is a part of that because it removes a copy of them.
      
      Fixes #24165
      
      cc @yifan-gu 
      
      Since this logic largely duplicates logic from the gci folder, it would be nice if someone closely familiar with that gave an OK or made sure I didn't fall into any gotchas related to that, so cc @andyzheng0831
      3994845f
    • Wojciech Tyczynski's avatar
      d5e235c8
    • Maciej Szulik's avatar
      Add test for CronJob generator · 4855ae2e
      Maciej Szulik authored
      4855ae2e
    • Jerzy Szczepkowski's avatar
      Added extra logging in validate cluster. · 134e91e3
      Jerzy Szczepkowski authored
      Added extra logging in validate cluster to help debug HA e2e tests.
      134e91e3