Commit Graph

7247 Commits

Author SHA1 Message Date
gmarek
c2c1045e09 Add startup latency e2e "test" 2015-06-17 17:40:07 +02:00
derekwaynecarr
2518d8c0fc Add LimitRange range validation 2015-06-17 10:24:31 -04:00
Piotr Szczesniak
2b19c002cb Migrated kubectl cluster-info to v1.
Addresses #7018

Also fixed the case when kubernetes.io/name label is not defined
(another fix for #9875)
2015-06-17 15:21:05 +02:00
Justin Santa Barbara
c89b0cd807 AWS: Use the instance id as the node name
The EC2 instance id is the canonical node name on EC2.
2015-06-17 00:40:43 -04:00
Justin Santa Barbara
efaead81dc Allow cloud providers to return a node identifier different from the hostname 2015-06-17 00:40:43 -04:00
Justin Santa Barbara
c28cdfbd43 For kubelet, differentiate between the nodeName and the hostname
This will allow us to use a nodeName that is not the hostname,
for example on clouds where the hostname is not the natural identifier
for a node.
2015-06-17 00:40:43 -04:00
Justin Santa Barbara
bf7946c326 AWS: Define new m4 instance types 2015-06-17 00:04:05 -04:00
Jeff Lowdermilk
57a6355807 Unittest for #9762
Started looking at refactoring of the kubectl Factory, which
caused me to experience all 5 stages of grief. There are some options
for improving, but it probably warrants a proposal with some discussion/
feedback. In the meantime this tests `NegotiateVersion` in isolation.
2015-06-16 20:04:51 -07:00
Jordan Liggitt
64d61185eb Re-enable ECDSA private server key use 2015-06-16 23:03:29 -04:00
Jordan Liggitt
a341b8f44f Remove ?namespace= param handling/defaulting 2015-06-16 22:40:01 -04:00
Saad Ali
43889c612c Merge pull request #9918 from caesarxuchao/common_test
remove references to v1beta1 in common_test.go
2015-06-16 18:59:19 -07:00
Saad Ali
fa389a68b5 Merge pull request #9829 from caesarxuchao/remove-config_test
remove pkg/config/config_test.json
2015-06-16 18:53:18 -07:00
Saad Ali
cc5756b2fc Merge pull request #9809 from bprashanth/stats_cache
Use runtime cache to serve container /stats requests
2015-06-16 18:51:53 -07:00
Saad Ali
185eb5e26a Merge pull request #9912 from justinsb/loadbalancer_logic
servicecontroller: last state applied to LB vs last state seen
2015-06-16 18:32:56 -07:00
Jordan Liggitt
2b840279d9 Validate service account name in pod spec 2015-06-16 21:09:01 -04:00
Jordan Liggitt
87f84974d3 Make admission errors clearer 2015-06-16 21:08:51 -04:00
Jordan Liggitt
e869d5c6fc Apply BeforeCreate logic to kubernetes service 2015-06-16 21:08:42 -04:00
Jordan Liggitt
dae4e82dca Add system: prefix to service account usernames 2015-06-16 21:08:18 -04:00
Jordan Liggitt
ee4cd972e0 Validate port protocol case strictly 2015-06-16 20:28:11 -04:00
Chao Xu
b093af57ba cleanse common_test.go of v1beta1 2015-06-16 17:22:35 -07:00
Chao Xu
271a63f486 remove string "v1beta1" from streamer_test.go 2015-06-16 17:10:58 -07:00
Daniel Smith
f990899290 fix annoying 'please check...' messages; remove v1beta1&2 ref 2015-06-16 16:21:54 -07:00
Chao Xu
5371d8215d remove pkg/config/ 2015-06-16 16:12:31 -07:00
Justin Santa Barbara
1561fce81c servicecontroller: last state applied to LB vs last state seen
We need the last state seen for interpreting the change-stream,
separately we need to track the last state we successfully applied to the
load balancer.
2015-06-16 18:59:03 -04:00
Saad Ali
6ada940e7f Merge pull request #9706 from hurf/shorten_id
Shorten container ID in events
2015-06-16 15:58:30 -07:00
Saad Ali
f82accda25 Merge pull request #9582 from mnagy/fix_quoting
Quote integers correctly
2015-06-16 15:55:58 -07:00
Saad Ali
a1e3e536c3 Merge pull request #9820 from thockin/dead-code
Remove dead code
2015-06-16 15:49:53 -07:00
Jeff Lowdermilk
e2f4472d71 kubectl negotiates apiversion to use based on client,server supported
(cherry picked from commit f31191224b)
2015-06-16 15:08:37 -07:00
CJ Cullen
4cd4d363c5 Change SSHTunnelList to struct to make Open() semantics better.
(cherry picked from commit 48f672af92)
2015-06-16 15:07:21 -07:00
CJ Cullen
e98f79e4bc Fix mislooping in ssh.go. Add retries to AddSSHKeys.
(cherry picked from commit 4d5d0457ef)
2015-06-16 15:07:06 -07:00
Saad Ali
f7cb6e9844 Merge pull request #9890 from ncdc/fix-exec-infinite-loop
Eliminate possible infinite loop in exec
2015-06-16 15:03:25 -07:00
Saad Ali
0aae358d2d Merge pull request #9835 from caesarxuchao/remove-testapi-nsQuery
Update pkg/api/testapi because namespace is always in the path now
2015-06-16 14:54:36 -07:00
Saad Ali
5e597c5f0d Merge pull request #9826 from brendandburns/redirect
Remove the redirect verb.
2015-06-16 14:51:24 -07:00
Saad Ali
369a1e7761 Merge pull request #9894 from markturansky/image_change
Changed busybox image to gcr.io image for PV Recyclers
2015-06-16 14:42:19 -07:00
Tim St. Clair
49b8c975d8 Update the URL-rewriting logic to make minimal modifications.
The new approach avoids building a complete parse tree, instead using the lower level token stream. Doing so removes the need for creating "missing" HTML elements, reducing the collateral changes to the rewritten HTML.

Resolves: #9766
2015-06-16 14:15:11 -07:00
Chao Xu
a309d3e652 Update pkg/api/testapi because namespace is always in the path since we remove v1beta1/2 2015-06-16 14:12:03 -07:00
nikhiljindal
34a0bccd2e Stop supporting TRACE proxy requests 2015-06-16 14:07:40 -07:00
Saad Ali
d6b50d5602 Merge pull request #9823 from caesarxuchao/remove-PodContainerInfo
remove PodContainerInfo from api/types.go
2015-06-16 13:38:53 -07:00
Manan Saraf
86025129fb Fixed pointers bug in PATCH verb in the API 2015-06-16 13:31:49 -07:00
markturansky
cfc08c4fdf Changed busybox img to official gcr.io image 2015-06-16 16:15:19 -04:00
Andy Goldstein
7748a02e37 Eliminate possible infinite loop in exec
If a user starts an exec session with a shell and leaves it idle long
enough, they will eventually hit the Kubelet's HTTP server's read/write
timeout of 5 minutes. At this time, the StartExec call to Docker exits,
but if the user requested a TTY, the exec'd process does not exit.
After StartExec finishes, we try to determine the exit code of the
exec'd process, but in this case, we'll never get it. This change exits
the loop after 5 tries if the process is still running.
2015-06-16 15:44:09 -04:00
Brendan Burns
1dd18673ec Merge pull request #9762 from jlowdermilk/negotiate-api-version
kubectl negotiates api version to use based on client,server supported versions
2015-06-16 11:18:08 -07:00
Brendan Burns
96c244eacf Merge pull request #9848 from cjcullen/fwfix
Fix mislooping in ssh.go. Add retries to AddSSHKeys.
2015-06-16 11:10:30 -07:00
Saad Ali
5596e6f789 Merge pull request #9493 from marekbiskup/testAddonUpdate
e2e test for addon upgrade
2015-06-16 10:50:15 -07:00
CJ Cullen
48f672af92 Change SSHTunnelList to struct to make Open() semantics better. 2015-06-16 10:36:38 -07:00
Jeff Lowdermilk
f31191224b kubectl negotiates apiversion to use based on client,server supported 2015-06-16 10:12:39 -07:00
Prashanth Balasubramanian
831d7a36d0 Scrape /metrics of kubelets from e2e tests 2015-06-16 09:50:40 -07:00
CJ Cullen
4d5d0457ef Fix mislooping in ssh.go. Add retries to AddSSHKeys. 2015-06-16 00:08:37 -07:00
Fabio Yeon
a8269e38c9 Merge pull request #9716 from derekwaynecarr/stable_quota_controller
Its bad to spawn a gofunc per quota with large number of quotas
2015-06-15 21:49:10 -07:00
Fabio Yeon
3ad3b2962a Merge pull request #9825 from nikhiljindal/newBranch
Removing legacyBehavior param from pkg/client
2015-06-15 21:03:22 -07:00