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
Chao Xu
ccecc59ff2
In kubelet's handler of pod update, prints out deletiontimestamp if it's not nil
2016-06-08 23:48:40 -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
Hongchao Deng
d4eb48c0bb
add TestPopReleaseLock
2016-06-08 11:34:35 -07:00
Hongchao Deng
308201acb0
processor listener: fix locking in pop()
2016-06-08 11:34:35 -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
Huamin Chen
d1e0a13924
support AWS and Cinder attacher
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2016-06-08 12:56:24 +00: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
Yu-Ju Hong
8866a894e4
Fix docker api version in kubelet
...
There are two variables `dockerv110APIVersion` and `dockerV110APIVersion` with
the same purpose, but different values. Remove the incorrect one and fix usage
in the file.
2016-06-07 17:51:36 -07:00
Rudi Chiarito
4ff9e9319f
AWS: support mixed plaintext/encrypted ports in ELBs
...
Fixes #26268
Implements the second SSL ELB annotation, per #24978
service.beta.kubernetes.io/aws-load-balancer-ssl-ports=* (or e.g. https)
If not specified, all ports are secure (SSL or HTTPS).
2016-06-07 18:39:53 -04:00
Eric Chiang
acfac5aff8
pkg/kubectl: add resource printers for rbac api group
2016-06-07 15:26:57 -07: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
Yifan Gu
8596d25ad5
rkt: Fix incomplete selinux context string when the option is partial.
...
Add Getfilecon() into the selinux interface.
2016-06-07 14:43:35 -07: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
derekwaynecarr
f796cc335d
Align quota BestEffort scope with recent changes
2016-06-07 12:08:08 -04:00
Zach Loafman
ce6537aa48
GCE provider: Log full contents of long operations
...
Dump JSON of long running (>1m) GCE operations.
2016-06-07 06:58:43 -07: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
Andy Goldstein
04ce042ff9
Extract interface for master endpoints reconciler.
...
Make the master endpoints reconciler an interface so its implementation can be overridden, if
desired.
2016-06-06 17:56:23 -04: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
Dr. Stefan Schimanski
12346d5171
Fix seccomp prefix check
2016-06-06 14:08:17 +02:00
Dr. Stefan Schimanski
ad6bd78007
Move /seccomp/ into domain prefix in seccomp annotations
...
Double slashes are not allowed in annotation keys. Moreover, using the 63
characters of the name component in an annotation key will shorted the space
for the container name.
2016-06-06 14:08:17 +02: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