Timothy St. Clair
1cb97b83ca
Update generated componentconfig from adding minimum iptables sync to the proxy
2016-11-04 00:40:09 -05:00
Timothy St. Clair
2b012e822a
Add minimum iptables sync period to the proxy, default is 2/sec
2016-11-04 00:38:35 -05:00
Kubernetes Submit Queue
6a88de9fe1
Merge pull request #35648 from deads2k/api-32-reflective-checks
...
Automatic merge from submit-queue
add script to check for updates to the files for generation
Adds a verify script to help people writing APIs remember to wire all the individual pieces up. Eventually it will be better to avoid this altogether, but this is a start.
@ncdc fyi
2016-11-04 01:16:52 -07:00
Bowei Du
438ccaee55
Changes from update-all
2016-11-03 22:07:08 -07:00
Bowei Du
e4217cf187
Add explanation for default
2016-11-03 22:07:07 -07:00
Bowei Du
a06fc6ab7a
Adds TCPCloseWaitTimeout option to kube-proxy for sysctl nf_conntrack_tcp_timeout_time_wait
...
Fixes issue-32551
2016-11-03 22:07:02 -07:00
saadali
402116aed4
Revert "Merge pull request #35821 from vishh/gci-mounter-scope"
...
This reverts commit 973fa6b334
, reversing
changes made to 41b5fe86b6
.
2016-11-03 20:23:25 -07:00
Kubernetes Submit Queue
f0ca9fbd9e
Merge pull request #35567 from mwielgus/allowed_disruptions_b2
...
Automatic merge from submit-queue
Switch DisruptionBudget api from bool to int allowed disruptions [only v1beta1]
Continuation of #34546 . Apparently it there is some bug that prevents us from having 2 different incompatibile version of API in integration tests. So in this PR v1alpha1 is removed until testing infrastructure is fixed.
Base PR comment:
Currently there is a single bool in disruption budget api that denotes whether 1 pod can be deleted or not. Every time a pod is deleted the apiserver filps the bool to false and the disruptionbudget controller sets it to true if more deletions are allowed. This works but it is far from optimal when the user wants to delete multiple pods (for example, by decreasing replicaset size from 10000 to 8000).
This PR adds a new api version v1beta1 and changes bool to int which contains a number of pods that can be deleted at once.
cc: @davidopp @mml @wojtek-t @fgrzadkowski @caesarxuchao
2016-11-03 15:50:19 -07:00
Marcin
3872a47074
Autogenerated code and docs
2016-11-03 18:36:32 +01:00
Marcin
28ba67d8f0
Disable generators for policy/v1alpha1
2016-11-03 13:26:28 +01:00
Marcin
6c58c1e7bb
Delete generated code from policy/v1alpha1
2016-11-03 13:26:28 +01:00
Marcin
26acced6d8
Add policy api version v1beta1 and disable v1alpha1
2016-11-03 13:26:27 +01:00
Kubernetes Submit Queue
973fa6b334
Merge pull request #35821 from vishh/gci-mounter-scope
...
Automatic merge from submit-queue
[Kubelet] Use the custom mounter script for Nfs and Glusterfs only
This patch reduces the scope for the containerized mounter to NFS and GlusterFS on GCE + GCI clusters
This patch also enabled the containerized mounter on GCI nodes
Shepherding multiple PRs through the submit queue is painful. Hence I combined them into this PR. Please review each commit individually.
cc @jingxu97 @saad-ali
https://github.com/kubernetes/kubernetes/pull/35652 has also been reverted as part of this PR
2016-11-03 04:32:19 -07:00
Kubernetes Submit Queue
41b5fe86b6
Merge pull request #31546 from derekwaynecarr/systemd-pod-cgroups
...
Automatic merge from submit-queue
pod and qos level cgroup support
```release-note
[Kubelet] Add alpha support for `--cgroups-per-qos` using the configured `--cgroup-driver`. Disabled by default.
```
2016-11-03 03:56:56 -07:00
Vishnu Kannan
414e4ae549
Revert "Adding a root filesystem override for kubelet mounter"
...
This reverts commit e861a5761d
.
2016-11-02 15:18:09 -07:00
Janet Kuo
c25455e8b3
(Auto-gen) Run hack/update-all & update-bazel & update linted packages
2016-11-02 15:16:41 -07:00
Janet Kuo
2a43ddc3ec
Remove 'stateful set is alpha' comment in types.go
2016-11-02 15:16:23 -07:00
Janet Kuo
c15b9470f5
Replace apps/v1alpha1 with apps/v1beta1 and manually remove generated apps/v1alpha1 files
...
Manually remove generated apps/v1alpha1 types, protobuf, and api-reference doc files
Manually remove apps/v1alpha1 folder from 1.5 generated client
2016-11-02 15:16:23 -07:00
derekwaynecarr
42289c2758
pod and qos level cgroup support
2016-11-02 08:07:04 -04:00
Clayton Coleman
f0fa26bcf6
ExportOptions should be registered to all public schemas
2016-11-01 22:55:58 -04:00
Michael Taufen
a38566dac6
Add FeatureGates field to KubeletConfiguration
2016-11-01 14:53:50 -07:00
deads2k
4850314a5c
add script to check for updates to the files for generation
2016-11-01 15:59:50 -04:00
Clayton Coleman
ab673bbc9a
generated: alternative unsafe conversions
2016-10-31 11:00:29 -04:00
Kubernetes Submit Queue
8e213a4a26
Merge pull request #35390 from kargakis/update-eviction-comment
...
Automatic merge from submit-queue
apis: update comment for Eviction resource
2016-10-30 03:53:19 -07:00
Chao Xu
850729bfaf
include multiple versions in clientset
...
update client-gen to use the term "internalversion" rather than "unversioned";
leave internal one unqualified;
cleanup client-gen
2016-10-29 13:30:47 -07:00
Kubernetes Submit Queue
e37b7cbde0
Merge pull request #35663 from janetkuo/statefulset
...
Automatic merge from submit-queue
Rename PetSet to StatefulSet
<!-- 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**: #35534
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*:
**Special notes for your reviewer**: cc @erictune @foxish @kubernetes/sig-apps @ymqytw
**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
```
2016-10-27 20:16:50 -07:00
Janet Kuo
74dbfdca97
(Auto-gen) Run update-all.sh, codecgen, munge docs, and bazel
2016-10-27 17:25:10 -07:00
Janet Kuo
c2bf059bdc
Manually remove generated.go
2016-10-27 17:25:10 -07:00
Janet Kuo
10aee82ae3
Rename PetSet API to StatefulSet
2016-10-27 17:25:10 -07:00
Michail Kargakis
cf9fd31d00
extensions: generated changes for perma-failed deployments
2016-10-27 12:56:55 +02:00
Michail Kargakis
7bb68bc434
extensions: api changes for perma-failed deployments
2016-10-27 12:41:04 +02:00
Vishnu kannan
e861a5761d
Adding a root filesystem override for kubelet mounter
...
This is useful for supporting hostPath volumes via containerized
mounters in kubelet.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-10-26 21:42:59 -07:00
Kubernetes Submit Queue
ab0ee35462
Merge pull request #35651 from caesarxuchao/remove-label-selectors
...
Automatic merge from submit-queue
Sending #35255 again: Remove versioned LabelSelectors
ref #35255 : "Remove versioned LabelSelectors"
FYI @smarterclayton
2016-10-26 18:21:22 -07:00
Kubernetes Submit Queue
f300d7ed69
Merge pull request #35646 from vishh/klet-relative-mount
...
Automatic merge from submit-queue
rename kubelet flag mounter-path to experimental-mounter-path
```release-note
* Kubelet flag '--mounter-path' renamed to '--experimental-mounter-path'
```
The feature the flag controls is an experimental feature and this renaming ensures that users do not depend on this feature just yet.
2016-10-26 16:57:33 -07:00
Vishnu kannan
adef4675a0
rename kubelet flag mounter-path to experimental-mounter-path
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-10-26 14:50:33 -07:00
Chao Xu
0a896a9e57
remove versioned LabelSelector definitions
2016-10-26 13:50:13 -07:00
Clayton Coleman
b5a46d914e
generated: conversions
2016-10-26 12:48:45 -04:00
gmarek
24975aad30
Revert "remove versioned LabelSelector definitions"
...
This reverts commit 1ace8fa9ce
.
2016-10-26 16:52:02 +02:00
Michail Kargakis
3eaa6ca4a6
apis: update comment for Eviction resource
2016-10-26 13:46:11 +02:00
Wojciech Tyczynski
bbb410c7af
generated: Safe conversions
2016-10-26 11:20:37 +02:00
Chao Xu
1ace8fa9ce
remove versioned LabelSelector definitions
2016-10-25 22:09:02 -07:00
Kubernetes Submit Queue
7ccbb03265
Merge pull request #34784 from smarterclayton/unsafe_converter
...
Automatic merge from submit-queue
Use unsafe operations to get fast memory copy
We can avoid doing allocations by using legal unsafe.Pointer allocations to
assign pointers to equivalent memory locations (for memory identical types).
@wojtek-t
```
benchcmp /tmp/old /tmp/new
benchmark old ns/op new ns/op delta
BenchmarkPodConversion-8 3590 2438 -32.09%
BenchmarkNodeConversion-8 4774 1773 -62.86%
BenchmarkReplicationControllerConversion-8 3711 2919 -21.34%
BenchmarkEncodeCodecFromInternalProtobuf-8 5692 4816 -15.39%
BenchmarkDecodeCodecToInternalProtobuf-8 7762 6540 -15.74%
BenchmarkEncodeCodecFromInternal-8 32668 31158 -4.62%
BenchmarkDecodeCodec-8 67260 63348 -5.82%
BenchmarkDecodeIntoInternalCodec-8 62903 64510 +2.55%
benchmark old allocs new allocs delta
BenchmarkPodConversion-8 26 13 -50.00%
BenchmarkNodeConversion-8 21 9 -57.14%
BenchmarkReplicationControllerConversion-8 23 17 -26.09%
BenchmarkEncodeCodecFromInternalProtobuf-8 16 8 -50.00%
BenchmarkDecodeCodecToInternalProtobuf-8 72 64 -11.11%
BenchmarkEncodeCodecFromInternal-8 68 60 -11.76%
BenchmarkDecodeCodec-8 268 260 -2.99%
BenchmarkDecodeIntoInternalCodec-8 268 260 -2.99%
benchmark old bytes new bytes delta
BenchmarkPodConversion-8 3324 2377 -28.49%
BenchmarkNodeConversion-8 4800 1696 -64.67%
BenchmarkReplicationControllerConversion-8 3456 3072 -11.11%
BenchmarkEncodeCodecFromInternalProtobuf-8 3992 3392 -15.03%
BenchmarkDecodeCodecToInternalProtobuf-8 5560 4960 -10.79%
BenchmarkEncodeCodecFromInternal-8 7180 6576 -8.41%
BenchmarkDecodeCodec-8 13920 13320 -4.31%
BenchmarkDecodeIntoInternalCodec-8 13920 13320 -4.31%
```
2016-10-25 18:37:42 -07:00
Clayton Coleman
d1c39c0a76
generated: Unsafe conversions
2016-10-25 19:30:34 -04:00
Jordan Liggitt
c7d5516fab
Kubelet authentication/authorization config - generated
2016-10-25 02:37:25 -04:00
Jordan Liggitt
7bb84dcea8
Kubelet authentication/authorization config
2016-10-25 02:37:25 -04:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Kubernetes Submit Queue
c98eb3867f
Merge pull request #35199 from kargakis/remove-last-probe-time
...
Automatic merge from submit-queue
Remove last probe time from replica sets
While experimenting with Deployment conditions I found out that if we are going to use lastProbeTime as we are supposed to be using it then we hotloop between updates (see https://github.com/kubernetes/kubernetes/pull/19343#issuecomment-255096778 for more info)
cc: @smarterclayton @soltysh
2016-10-21 01:47:01 -07:00
Jing Xu
34ef93aa0c
Add mounterPath to mounter interface
...
In order to be able to use new mounter library, this PR adds the
mounterPath flag to kubelet which passes the flag to the mount
interface. If flag is empty, mount uses default mount path.
2016-10-20 14:15:27 -07:00
Michail Kargakis
a4694ef1af
Generated changes for lastProbeTime removal
2016-10-20 15:16:46 +02:00
Michail Kargakis
628e630424
Remove lastProbeTime from rc/rs conditions
2016-10-20 15:03:06 +02:00