k8s-merge-robot
cbde2ec8c2
Merge pull request #25987 from hpcloud/openstack-lbaas-v2
...
Automatic merge from submit-queue
LBaaS v2 Support for Openstack Cloud Provider Plugin
Resolves #19774 .
This work is based on Gophercloud support for LBaaS v2 currently in review (this will have to merge first):
https://github.com/rackspace/gophercloud/pull/575
These changes includes the addition of a new loadbalancer configuration option: **LBVersion**. If this configuration attribute is missing or anything other than "v2", lbaas v1 implementation will be used.
2016-06-09 18:32:35 -07:00
Maciej Szulik
2ab885a53a
Revert commit a31ca0dc98 and move batch/v2alpha1 tests to separate group in KUBE_TEST_API_VERSIONS
2016-06-10 01:11:56 +02:00
k8s-merge-robot
c9c4ada309
Merge pull request #26615 from jsafrane/gce-attach-tests
...
Automatic merge from submit-queue
GCE attach tests
Add basic tests for GCE attacher.
Looking at the code, it would deserve some refactoring as suggested in #25888 , so mounting is not tested at all.
2016-06-09 06:00:56 -07:00
k8s-merge-robot
4d430ba09c
Merge pull request #25400 from jsafrane/devel/operation-error
...
Automatic merge from submit-queue
Add specific error type for "operation already exists" error.
PersistentVolume controller needs to know why scheduling a new operation has failed - if the operation was already running or some other error happened.
2016-06-09 03:28:16 -07:00
k8s-merge-robot
7932158540
Merge pull request #26974 from pmorie/log-spam
...
Automatic merge from submit-queue
Reduce log spam in dockertools manager.go
Fixes #26972
@kubernetes/sig-node
2016-06-09 02:43:30 -07:00
k8s-merge-robot
f1ccc2f1be
Merge pull request #26354 from csrwng/fix_visitor_error
...
Automatic merge from submit-queue
kubectl: fix URLVisitor error message
The status of a failed fetch will usually include the code, resulting in a duplicate code in the error message:
```
unable to read URL "http://git:8080/ruby-hello-world.git ", server reported 401 401 Unauthorized
```
This change rearranges them so at least the message doesn't stutter (and includes the code in case it's not part of the status):
```
unable to read URL "http://git:8080/ruby-hello-world.git ", server reported 401 Unauthorized, status code 401
```
[]()
2016-06-09 02:43:27 -07:00
k8s-merge-robot
0b6e0e2b02
Merge pull request #26749 from Clarifai/describe-svc
...
Automatic merge from submit-queue
AWS: kubectl get service should print hostnames for LB services
Fixes #21526
Also test wide outputs. We only guarantee the first IP to be fully printed
if multiple ingresses are present. For AWS, which has no ingress IPs, but
only hostnames, the ELB hostname will be truncated, unless -o=wide is
specified.
2016-06-09 02:43:23 -07:00
k8s-merge-robot
aa008ab097
Merge pull request #27094 from caseydavenport/cd-networkpolicy-validation-fix
...
Automatic merge from submit-queue
Fix NetworkPolicy validation bug
Fix bugs in NetworkPolicy resource (new in v1.3) validation.
Please add this to the v1.3 milestone.
2016-06-09 01:58:38 -07:00
k8s-merge-robot
29c5d6c721
Merge pull request #26848 from pmorie/wrap-volumes
...
Automatic merge from submit-queue
Wrap more comments in pkg/volume
Wrap some more comments in `pkg/volume`
2016-06-09 01:15:52 -07:00
k8s-merge-robot
a5cd171c2f
Merge pull request #25064 from Clarifai/httpheaders-querystring
...
Automatic merge from submit-queue
Preserve query strings in HTTP probes instead of escaping them
Fixes a problem reported on Slack by devth.
```release-note
* Allow the use of query strings and URI fragments in HTTP probes
```
This might also preserve fragments, for those crazy enough to pass them.
I am using url.Parse() on the path in order to get path/query/fragment
and also deliberately avoiding the addition of more fields to the API.
2016-06-09 01:15:47 -07:00
k8s-merge-robot
5a5c490a43
Merge pull request #27057 from janetkuo/kubectl-run-server-discovery
...
Automatic merge from submit-queue
Don't ignore error when Discovery().ServerResources() in kubectl run
Ref #27014
This doesn't fix the flake directly, but expose the error happened when the flake happens.
@kubernetes/kubectl @caesarxuchao
[]()
2016-06-08 23:49:04 -07:00
Davide Agnello
eb32bf55ef
Adding support for lbaas-v2 in OpenStack Cloud Provider
2016-06-08 18:16:59 -07:00
k8s-merge-robot
613bbbb131
Merge pull request #26667 from mml/skip-local-data
...
Automatic merge from submit-queue
Stop 'kubectl drain' deleting pods with local storage.
Kubectl drain will not continue if there are pods with local storage unless
forced with --delete-local-data.
Fixes #23972
2016-06-08 17:10:58 -07:00
Casey Davenport
6fe7da72b4
Fix NetworkPolicy validation bug
2016-06-08 16:31:29 -07:00
Rudi Chiarito
40f76a95cb
AWS: kubectl get service should print hostnames for LoadBalancer services
...
Fixes #21526
Also test wide outputs. We only guarantee the first IP to be fully printed
if multiple ingresses are present. For AWS, which has no ingress IPs, but
only hostnames, the ELB hostname will be truncated, unless -o=wide is
specified.
2016-06-08 19:29:48 -04:00
k8s-merge-robot
54b352ae3a
Merge pull request #26907 from smarterclayton/tolerate_quantity
...
Automatic merge from submit-queue
Resource quantity must support leading and trailing whitespace in JSON for back-compat
For backwards compatibility reasons, we must continue to support leading or trailing whitespace on Quantity values when deserialized from JSON. We must also support numbers serialized into yaml (`cpu: 1`) and JSON (`"cpu": 1`)
Fixes #26898
2016-06-08 16:16:41 -07:00
k8s-merge-robot
85b67f2f00
Merge pull request #26874 from wojtek-t/fix_retry_after
...
Automatic merge from submit-queue
Fix Retry-After in clients
Fix #26871
2016-06-08 15:21:53 -07:00
Matt Liggett
d09af4a1d6
Stop 'drain' deleting pods with local storage.
...
Unless forced with --delete-local-data. Also a refactoring of the
kubectl drain logic that selects/rejects pods and produces error/warning
messages.
2016-06-08 14:59:03 -07:00
k8s-merge-robot
e5784c41d4
Merge pull request #26829 from lukaszo/order
...
Automatic merge from submit-queue
Custom sort function for InitContainersStatuses
Order in init containers matters. Statues shoudln't be sorted by name.
2016-06-08 13:37:11 -07:00
k8s-merge-robot
99c8d10a28
Merge pull request #26803 from derekwaynecarr/fix_26319
...
Automatic merge from submit-queue
Move quota usage testing for loadbalancers into unit tests
Fixes https://github.com/kubernetes/kubernetes/issues/26319
* moved testing for node port and load balancer usage in quota to unit tests
* remove node port and node port -> loadbalancer service testing out of e2e
* covered already in replenishment_controller_test scenario
Given the time it takes to even allocate a load balancer, it seems better to test that outside of this test case to avoid unnecessary flakes.
/cc @bprashanth
2016-06-08 12:51:53 -07:00
k8s-merge-robot
66149c50fd
Merge pull request #26792 from janetkuo/deployment-version-skewed-test-fail
...
Automatic merge from submit-queue
Avoid comparing pod-template-hash when getting a deployment's new/old RSes
Will need to cherry pick to 1.2 also.
Ref #26724 #26797 @kubernetes/deployment @ihmccreery
[]()
2016-06-08 12:03:31 -07:00
Janet Kuo
75c3cbcbfb
Don't ignore error when Discovery().ServerResources() in kubectl run
2016-06-08 10:34:09 -07:00
Paul Morie
0a0797a680
Reduce log spam in dockertools manager.go
2016-06-08 12:41:37 -04:00
k8s-merge-robot
e7102b4fd9
Merge pull request #26880 from wojtek-t/better_traces
...
Automatic merge from submit-queue
Fix traces
Ref #26185
2016-06-08 08:06:18 -07:00
Jan Safranek
5cd5ae8d82
Add GCE attacher unit tests.
2016-06-08 13:53:04 +02:00
Jan Safranek
2b342c1e76
Add interface to abstract GCE volume operations.
...
We want to write unit test with fake GCE.
2016-06-08 12:37:08 +02:00
Łukasz Oleś
2b46aea495
Custom sort function for InitContainersStatuses
...
Order in init container statuses should be the same as defined in pod.
Statues shoudln't be sorted by name.
2016-06-07 23:57:23 +02:00
Wojciech Tyczynski
528713bcc2
Fix Retry-After in clients
2016-06-07 21:04:44 +02:00
derekwaynecarr
7a5412a259
Move quota usage testing for loadbalancers into unit tests
2016-06-07 12:54:11 -04:00
Janet Kuo
c3d905776e
Avoid comparing pod-template-hash when getting a deployment's new/old RSes
2016-06-06 17:09:35 -07:00
Clayton Coleman
e1dc3ef933
Remove unused deep_copies
2016-06-06 17:18:22 -04:00
Clayton Coleman
0181ac61da
DeepCopy should only generate types in k8s.io/kubernetes
...
Also make generation more selective (require opt in) to prevent lots of
unnecessary generated deep copies.
2016-06-06 17:18:22 -04:00
Clayton Coleman
653ddbb01e
Tolerate YAML and JSON numbers
...
Both YAML and JSON can contain numbers
2016-06-06 17:14:50 -04:00
Clayton Coleman
2ed3246631
Resource quantity must support leading and trailing whitespace
...
For backwards compatibility reasons, we must continue to support leading
or trailing whitespace on Quantity values when deserialized from JSON.
2016-06-06 16:53:42 -04:00
k8s-merge-robot
5c41b93d8b
Merge pull request #26719 from pwittrock/kubectl-owners
...
Automatic merge from submit-queue
Add pwittrock to the kubectl OWNERS file
[]()
2016-06-06 13:46:13 -07:00
k8s-merge-robot
1de4b05442
Merge pull request #25490 from rootfs/rbd-defaults
...
Automatic merge from submit-queue
correction on rbd volume object and defaults
- add `omitempty` to `RBDPool RadosUser Keyring SecretRef ReadOnly`
- move defaults from `pkg/volume/rbd/rbd.go` to `pkg/api/v1/defaults.go`
addressing #18885
2016-06-06 13:02:22 -07:00
k8s-merge-robot
dfe5de3bcb
Merge pull request #25731 from Pensu/master
...
Automatic merge from submit-queue
Adding version.Info in apiserver.go
Fixes #17176
2016-06-06 12:06:32 -07:00
Huamin Chen
4b4048a084
correction on rbd volume object and defaults
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2016-06-06 17:27:47 +00:00
k8s-merge-robot
2cc0f2f040
Merge pull request #25280 from timothysc/http2_clients
...
Automatic merge from submit-queue
Option to enable http2 on client connections.
Addresses #21081
Enables http2 connection by default.
before:
```
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:10248 0.0.0.0:* LISTEN 21868/kubelet
tcp 0 0 127.0.0.1:10249 0.0.0.0:* LISTEN 21924/kube-proxy
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 754/sshd
tcp 0 0 192.2.5.12:47080 192.2.5.11:443 ESTABLISHED 21924/kube-proxy
tcp 0 0 192.2.5.12:47082 192.2.5.11:443 ESTABLISHED 21924/kube-proxy
tcp 0 0 192.2.5.12:55776 169.254.169.254:80 ESTABLISHED 21868/kubelet
tcp 0 304 192.2.5.12:22 192.2.5.10:49978 ESTABLISHED 22287/sshd: root [p
tcp 0 0 192.2.5.12:34568 192.2.5.11:2379 ESTABLISHED 3029/flanneld
tcp 0 0 192.2.5.12:55774 169.254.169.254:80 ESTABLISHED 21868/kubelet
tcp 0 0 192.2.5.12:47086 192.2.5.11:443 ESTABLISHED 21924/kube-proxy
tcp 0 0 192.2.5.12:47102 192.2.5.11:443 ESTABLISHED 21868/kubelet
tcp 0 0 192.2.5.12:47108 192.2.5.11:443 ESTABLISHED 21868/kubelet
tcp 0 0 192.2.5.12:55772 169.254.169.254:80 ESTABLISHED 21868/kubelet
tcp 0 0 192.2.5.12:47104 192.2.5.11:443 ESTABLISHED 21868/kubelet
tcp 0 0 192.2.5.12:34718 192.2.5.11:2379 ESTABLISHED 3029/flanneld
tcp 0 0 192.2.5.12:47110 192.2.5.11:443 ESTABLISHED 21868/kubelet
tcp 0 0 192.2.5.12:47106 192.2.5.11:443 ESTABLISHED 21868/kubelet
tcp 0 0 192.2.5.12:47084 192.2.5.11:443 ESTABLISHED 21924/kube-proxy
tcp6 0 0 :::4194 :::* LISTEN 21868/kubelet
tcp6 0 0 :::10250 :::* LISTEN 21868/kubelet
tcp6 0 0 :::10255 :::* LISTEN 21868/kubelet
tcp6 0 0 :::22 :::* LISTEN 754/sshd
tcp6 0 0 192.2.5.12:10255 192.2.5.15:41570 ESTABLISHED 21868/kubelet
udp 0 0 0.0.0.0:8472 0.0.0.0:* -
udp 0 0 0.0.0.0:22824 0.0.0.0:* 600/dhclient
udp 0 0 0.0.0.0:68 0.0.0.0:* 600/dhclient
udp6 0 0 :::4195 :::* 600/dhclient
```
after
```
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:10248 0.0.0.0:* LISTEN 16962/kubelet
tcp 0 0 127.0.0.1:10249 0.0.0.0:* LISTEN 17024/kube-proxy
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 754/sshd
tcp 0 0 192.2.5.12:47046 192.2.5.11:443 ESTABLISHED 17024/kube-proxy
tcp 0 0 192.2.5.12:47052 192.2.5.11:443 ESTABLISHED 16962/kubelet
tcp 0 0 192.2.5.12:34568 192.2.5.11:2379 ESTABLISHED 3029/flanneld
tcp 0 0 192.2.5.12:55720 169.254.169.254:80 ESTABLISHED 16962/kubelet
tcp 0 0 192.2.5.12:55724 169.254.169.254:80 ESTABLISHED 16962/kubelet
tcp 0 0 192.2.5.12:34718 192.2.5.11:2379 ESTABLISHED 3029/flanneld
tcp 0 0 192.2.5.12:55726 169.254.169.254:80 ESTABLISHED 16962/kubelet
tcp 0 304 192.2.5.12:22 192.2.5.10:49938 ESTABLISHED 17653/sshd: root [p
tcp6 0 0 :::4194 :::* LISTEN 16962/kubelet
tcp6 0 0 :::10250 :::* LISTEN 16962/kubelet
tcp6 0 0 :::10255 :::* LISTEN 16962/kubelet
tcp6 0 0 :::22 :::* LISTEN 754/sshd
tcp6 0 0 192.2.5.12:10255 192.2.5.15:41472 ESTABLISHED 16962/kubelet
udp 0 0 0.0.0.0:8472 0.0.0.0:* -
udp 0 0 0.0.0.0:22824 0.0.0.0:* 600/dhclient
udp 0 0 0.0.0.0:68 0.0.0.0:* 600/dhclient
udp6 0 0 :::4195 :::* 600/dhclient
```
/cc @jeremyeder
2016-06-06 10:22:49 -07:00
Wojciech Tyczynski
394db3b407
Fix traces
2016-06-06 10:49:46 +02:00
Peeyush Gupta
1a9f7e9a0c
Adding version.Info in apiserver.go
2016-06-06 14:15:24 +05:30
Yifan Gu
3699b70b00
rkt: Refactor the systemd interface.
...
Replace shell out calls with dbus API calls.
Remove unused 'Reload()'.
2016-06-06 05:27:08 +00:00
AdoHe
9d28bab847
make kubectl get ingress output more consistency
2016-06-04 22:43:51 -04:00
k8s-merge-robot
1c860c9a7e
Merge pull request #26849 from olegshaldybin/add-list-options
...
Automatic merge from submit-queue
Add ListOptions to RBAC group
[]()
Otherwise clientset complains about unregistered kind when ListOptions
are passed.
2016-06-04 16:32:57 -07:00
k8s-merge-robot
421c16addd
Merge pull request #25894 from brendandburns/thirdparty-watch
...
Automatic merge from submit-queue
Fix third party
Fixes https://github.com/kubernetes/kubernetes/issues/25421
Fixes https://github.com/kubernetes/kubernetes/issues/25422
@AdoHe @sjenning @caesarxuchao @lavalamp
@kubernetes/sig-api-machinery
[]()
2016-06-04 15:42:41 -07:00
k8s-merge-robot
9bf1ce42f8
Merge pull request #26843 from AdoHe/describe_ingress
...
Automatic merge from submit-queue
update ingress describe output
refer #26684 for more detail. @bprashanth ptal.
2016-06-04 13:27:46 -07:00
Oleg Shaldybin
ba3c7d33cd
Add {List,Delete,Export}Options to RBAC group
...
Otherwise clientset complains about unregistered kind when options
are passed.
2016-06-04 12:54:18 -07:00
Paul Morie
6415c2d288
Wrap more comments in pkg/volume
2016-06-04 14:14:00 -04:00
k8s-merge-robot
74aaa14390
Merge pull request #26796 from nikhiljindal/publicAddress
...
Automatic merge from submit-queue
Fixing logic to generate ExternalHost in genericapiserver
@ncdc pointed it out (https://kubernetes.slack.com/archives/sig-api-machinery/p1464974528000139 ) that lines 305 and 306 dont match. We should be using ReadWritePort instead of ServiceReadWritePort in line 306.
https://github.com/kubernetes/kubernetes/pull/20626 seems to be the culprit PR.
2016-06-04 10:48:55 -07:00
k8s-merge-robot
95e2535682
Merge pull request #26793 from fabianofranz/expose_show_labels_in_printers
...
Automatic merge from submit-queue
Expose printer utils that append labels
So that it can be reused downstream. @smarterclayton
[]()
2016-06-04 09:59:39 -07:00