1. 28 Mar, 2018 8 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #46079 from xiangpengzhao/print-allocated-oir · 33482dd4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Display extended resources in node allocated resources
      
      **What this PR does / why we need it**:
      Displays ~~opaque integer~~ [extended] resources in node allocated resources of command `kubectl describe node`. This will give users more info about node ~~OIR~~ [extended resources] consumption.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      This is a partially fix of #44271.
      
      **Special notes for your reviewer**:
      This PR
      - only displays allocated ~~OIR~~ [extended resources] details of node, it doesn't display ~~OIR~~ [extended resources] requests/limits for each pod because it's hard to organize format. I tried to print ~~OIR~~ [extended resources] requests/limits of pods, but some strings have been eaten when a line is too long (the output has been separated into two lines by terminal). I think it's because a `\t` blank can't be show in two lines.
      - ~~uses `OIR-foo` instead of `pod.alpha.kubernetes.io/opaque-int-resource-foo` for short.~~
      - doesn't display the percentage of ~~OIR~~ [extended resources] usage because I think the percentage is not so meaningful.
      - displays each ~~OIR~~ [extended resources] in single rows to be clear.
      
      UPDATE:
      Example with default namespace resource:
      ```
      Non-terminated Pods:         (1 in total)
        Namespace                  Name                     CPU Requests  CPU Limits  Memory Requests  Memory Limits
        ---------                  ----                     ------------  ----------  ---------------  -------------
        default                    rc-nginx-single-krp84    1 (33%)       1 (33%)     512Mi (6%)       512Mi (6%)
      Allocated resources:
        (Total limits may be over 100 percent, i.e., overcommitted.)
      Resource                 Requests    Limits
        --------               --------    ------
        cpu                    1 (33%)     1 (33%)
        memory                 512Mi (6%)  512Mi (6%)
        kubernetes.io/widgets  111         0
      ```
      
      /cc @ConnorDoyle @soltysh 
      
      ref #44181
      
      **Release note**:
      
      ```release-note
      Display requests/limits of extended resources in node allocated resources.
      ```
      33482dd4
    • Kubernetes Submit Queue's avatar
      Merge pull request #61146 from dims/add-missing-binary-field-to-configmap-hash · e00a6028
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 60465, 61773, 61371, 61146). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Add missing binaryData field to the ConfigMap Hash
      
      **What this PR does / why we need it**:
      
      In 7e158fb4, we added a BinaryData
      to ConfigMap, but totally forgot to add it to the hash method.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      e00a6028
    • Kubernetes Submit Queue's avatar
      Merge pull request #61371 from msau42/subpath-e2es · f2642c17
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 60465, 61773, 61371, 61146). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Add more e2e subpath tests
      
      **What this PR does / why we need it**:
      Adds e2e tests for detecting subpath cleanup failures:
      * Add wait for pod deletion to the end of subpath tests
      * Add subpath as file test case
      * Add subpath as file with container restart test case
      * Refactor atomic volume tests
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #61178
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      f2642c17
    • Kubernetes Submit Queue's avatar
      Merge pull request #61773 from crassirostris/fluentd-partial-success · 70463ec4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 60465, 61773, 61371, 61146). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Enable partial success in fluentd-gcp
      
      Enable partial success in fluentd-gcp. This will allow to reduce amount of lost data in case of invalid (e.g. too big) entries: instead of dropping the whole request, only failed entries will be dropped.
      
      ```release-note
      [fluentd-gcp addon] Partial success option is enabled in fluentd.
      ```
      
      /assign @x13n 
      /cc @bmoyles0117
      70463ec4
    • Kubernetes Submit Queue's avatar
      Merge pull request #60465 from frapposelli/GH-55416 · 943f8e82
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 60465, 61773, 61371, 61146). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Adding resource constraints for fluentd-gcp
      
      **What this PR does / why we need it**:
      
      Adds resource constraints to `fluentd-gcp`. Values mostly lifted from `fluentd-es`, cpu cap set to a sensible value after reviewing various threads.
      
      **Which issue(s) this PR fixes**
      Fixes #55416
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      943f8e82
    • Kubernetes Submit Queue's avatar
      Merge pull request #61000 from dims/split-host-name-when-dhcp-domain-is-present-in-host-name · d7ec46c5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Split out the hostname when default dhcp_domain is used in nova.conf
      
      **What this PR does / why we need it**:
      
      When /etc/nova/nova.conf does not have specify dhcp_domain to empty
      string, a default string of '.novalocal' is returned by the meta data
      service. So we need to just split the string and pick the first one
      in the array.
      
      ```
      $ curl http://169.254.169.254/latest/meta-data/hostname
      testvm-1.novalocal
      $ curl http://169.254.169.254/latest/meta-data/public-hostname
      testvm-1.novalocal
      $ curl http://169.254.169.254/latest/meta-data/local-hostname
      testvm-1.novalocal
      ```
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      d7ec46c5
    • caleb miles's avatar
      Merge pull request #61791 from andrewsykim/fix-1.10-changelog · 15489d09
      caleb miles authored
      1.10 CHANGELOG: remove beta announcement for out-of-tree cloud provider feature
      15489d09
    • xiangpengzhao's avatar
      bd02b49c
  2. 27 Mar, 2018 32 commits