Commit Graph

6129 Commits (38c3bdfa454a773efa72b7e7bfefd80e0b06aeba)

Author SHA1 Message Date
Satnam Singh 59a96f1028 Merge pull request #9688 from liggitt/validate_pod_spec
Validate service account name in pod spec
2015-06-18 17:18:09 -07:00
Satnam Singh 9f32599bee Merge pull request #9720 from justinsb/aws_routes
Refactor Routes, and dynamically configure minion CIDRs on AWS
2015-06-18 17:16:29 -07:00
Justin Santa Barbara 0ad16a187d Refactor findRouteTable to be less verbose
Thanks for the suggestion @cjcullen
2015-06-18 17:08:32 -07:00
Daniel Smith 4126622388 fix locking around ssh tunnels 2015-06-18 16:52:10 -07:00
Chao Xu 5d89dda9a8 respect --api-version in the output of "kubectl cluster-info" 2015-06-18 16:51:10 -07:00
Satnam Singh 3e7799d9a8 Merge pull request #9845 from liggitt/kubernetes_service_uid
Apply BeforeCreate logic to kubernetes service
2015-06-18 16:28:49 -07:00
Satnam Singh 42fd7b4b68 Merge pull request #9806 from manansaraf/patch_error
Fixed pointers bug in PATCH verb in the API
2015-06-18 16:13:38 -07:00
Max Forbes 2803fbe343 Node upgrade tests. 2015-06-18 15:59:51 -07:00
Dawn Chen 1145e4b80a Make kubelet first acknowledge time of a pod as Pod.Status.StartTime. 2015-06-18 15:54:48 -07:00
Satnam Singh 0f81a65f74 Merge pull request #10019 from feihujiang/deleteTodoNotes
Delete TODO notes
2015-06-18 15:53:10 -07:00
Satnam Singh 28197e07d6 Merge pull request #9841 from smarterclayton/fix_apiserver_abstractions
Cleaning up apiserver method signatures
2015-06-18 15:36:52 -07:00
Satnam Singh 11d8f8f600 Merge pull request #9855 from liggitt/servicaccount_system_prefix
Add system: prefix to service account usernames
2015-06-18 15:35:26 -07:00
Satnam Singh 1d7f70a531 Merge pull request #9991 from nikhiljindal/dupPost
Do not register cross namespace actions with subresources in path
2015-06-18 15:33:37 -07:00
Satnam Singh 98e1aef259 Merge pull request #9910 from justinsb/instanceid_contract
Document assumption made by node-controller, and fix AWS to match
2015-06-18 15:21:07 -07:00
Satnam Singh b48aa0b693 Merge pull request #9957 from rootfs/fix-9952
check IsNotExist error when validating mountpoint
2015-06-18 15:18:06 -07:00
Justin Santa Barbara a4e15cdf3e AWS: Configure minion routes dynamically
We need to implement the Routes interface, and then enable the functionality in the cluster scripts.
2015-06-18 14:59:37 -07:00
Justin Santa Barbara a3b43a36fd Refactor cloud route interface, to avoid assumption that routes are named 2015-06-18 14:59:37 -07:00
Justin Santa Barbara a77bc9cfc4 Document assumption made by node-controller, and fix AWS to match
ExternalID must return "", cloudprovider.InstanceNotFound if the instance
is not found, for nodecontroller to remove nodes corresponding to deleted instances.
2015-06-18 14:55:10 -07:00
Satnam Singh 424d09fb97 Merge pull request #9907 from RichieEscarez/9404_controller
Changed "controller" to "replication controller"
2015-06-18 14:33:49 -07:00
Satnam Singh de457c3e49 Merge pull request #9962 from smarterclayton/type_patch
Give PATCH operations a better output in Swagger
2015-06-18 14:31:49 -07:00
Satnam Singh 59876df736 Merge pull request #9927 from liggitt/fix_ecdsa_key
Re-enable ECDSA private server key use
2015-06-18 14:30:27 -07:00
Satnam Singh 1d44d06190 Merge pull request #10032 from deads2k/client-debugging
add debugging transport for client
2015-06-18 14:24:03 -07:00
Satnam Singh d2c2f7e35e Merge pull request #9993 from mikedanese/re-patch
reenable patch serverside using strategic-merge-patch
2015-06-18 14:13:10 -07:00
Satnam Singh 4c13f8957d Merge pull request #10057 from justinsb/aws_id_as_name_2
Fix of reverted #9728
2015-06-18 14:07:21 -07:00
nikhiljindal d3d579f59d Do not register cross namespace actions with subresources in path 2015-06-18 13:50:38 -07:00
CJ Cullen 3c754a6ec5 Pass through an explicit PROXY_SSH_USER.
Use user@user instead of user@hostname in case hostname is too long.

(cherry picked from commit abf1e768dc)
2015-06-18 13:27:09 -07:00
Brendan Burns 156d315ceb Truncate SSH usernames to 32 chars.
(cherry picked from commit 2330760d34)
2015-06-18 13:26:46 -07:00
Brendan Burns 311a58f1ad Update the kubelet to ignore syncing Pods until the container runtime is up.
(cherry picked from commit 51fb753e11)
2015-06-18 13:26:29 -07:00
Satnam Singh 838bb75183 Merge pull request #9970 from nikhiljindal/validSwagger
Fix path parameter swagger validation errors
2015-06-18 13:21:07 -07:00
Brendan Burns 5021dbc1a0 Merge pull request #10046 from cjcullen/fwfix
Allow passing through an explicit PROXY_SSH_USER.
2015-06-18 13:13:19 -07:00
Justin Santa Barbara 27b02d0913 Fix kubelet unit test; populate NodeName
When we build a Kubelet directly we need to populate NodeName
as well as hostname, because we bypass the functions that normally
do this for us.
2015-06-18 12:40:55 -07:00
Justin Santa Barbara bd512ae06d AWS: Use the instance id as the node name
The EC2 instance id is the canonical node name on EC2.
2015-06-18 12:40:10 -07:00
Justin Santa Barbara df87470ecf Allow cloud providers to return a node identifier different from the hostname 2015-06-18 12:40:05 -07:00
Justin Santa Barbara dee8d4b90b 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-18 12:40:01 -07:00
Clayton Coleman debd42a07d Cleaning up apiserver method signatures
A lot of the changes in apiserver could have been represented more
cleanly - this returns the signatures to their older behavior (and
unbreaks OpenShift).
2015-06-18 15:13:41 -04:00
Mike Danese 3de11e2fa8 reenable patch serverside using strategic-merge-patch 2015-06-18 12:06:46 -07:00
derekwaynecarr fce7adf3e7 Admission control exposes subresource 2015-06-18 15:00:46 -04:00
deads2k bab0a61ef1 add debugging transport for client 2015-06-18 14:51:00 -04:00
Satnam Singh 798739f013 Merge pull request #10006 from brendandburns/ssh
Truncate SSH usernames to 32 chars.
2015-06-18 11:44:26 -07:00
Rajat Chopra a6a57de646 Assign host's IPAddress to podIP when pod shares the host's network 2015-06-18 11:30:59 -07:00
Satnam Singh e4f5529a2d Revert "Allow nodename to be != hostname, use AWS instance ID on AWS" 2015-06-18 11:27:55 -07:00
Satnam Singh b86ed2356c Merge pull request #10028 from andronat/small_wrong_printing_in_tests
Changed printing in a test file
2015-06-18 11:04:07 -07:00
nikhiljindal b527b00d7b Fix path parameter swagger validation errors 2015-06-18 10:43:13 -07:00
CJ Cullen abf1e768dc Pass through an explicit PROXY_SSH_USER.
Use user@user instead of user@hostname in case hostname is too long.
2015-06-18 10:35:02 -07:00
Satnam Singh 3505fb48a3 Merge pull request #9803 from satnam6502/execessive
Improve error output of kubectl update
2015-06-18 10:29:27 -07:00
Brendan Burns 2330760d34 Truncate SSH usernames to 32 chars. 2015-06-18 10:27:24 -07:00
Brendan Burns 51fb753e11 Update the kubelet to ignore syncing Pods until the container runtime is up. 2015-06-18 10:27:04 -07:00
Satnam Singh 790ca2344f Merge pull request #9728 from justinsb/aws_id_as_name
Allow nodename to be != hostname, use AWS instance ID on AWS
2015-06-18 10:17:39 -07:00
Clayton Coleman 93f921b677 Swagger output for PATCH can be more strongly typed 2015-06-18 13:04:20 -04:00
Anastasis Andronidis 64d984ae2e changed printing in a test file 2015-06-18 18:34:07 +02:00
feihujiang a7b22e3773 Delete TODO notes (The syntax here is the reverse of the (old, new) pattern in most other validation. Fix this.) 2015-06-18 20:13:17 +08:00
Piotr Szczesniak 1ba909098e Merge pull request #9936 from piosz/kubectl_v1
Migrated kubectl cluster-info to v1.
2015-06-18 11:19:29 +02:00
feihujiang d5fcd9f153 improve kubectl create --validate, aggregate errors and handle require fields 2015-06-18 16:22:09 +08:00
Brendan Burns 075c075b9e Truncate SSH usernames to 32 chars. 2015-06-17 23:10:32 -07:00
Brendan Burns f660940dce Merge pull request #9990 from cjcullen/fwfix
Make AddSSHKeys a controller loop. Make sure master's always initializes m.tunnels.
2015-06-17 21:32:34 -07:00
Saad Ali 47436683d4 Merge pull request #9954 from caesarxuchao/listwatch_test
remove references to v1beta1/2 in listwatch_test.go
2015-06-17 18:09:49 -07:00
Saad Ali c759ef2be0 Merge pull request #9926 from bprashanth/kubelet_race
Fix benign data race in pod workers
2015-06-17 18:09:28 -07:00
Saad Ali 9ca9e43625 Merge pull request #9600 from liggitt/remove_namespace_param
Remove ?namespace= param handling/defaulting
2015-06-17 18:07:13 -07:00
CJ Cullen 15596ede41 Make AddSSHKeys a controller loop. Make sure master's always initializes m.tunnels. 2015-06-17 17:46:27 -07:00
Chao Xu 1be9789795 remove references to v1beta1/2 in listwatch_test.go 2015-06-17 17:23:33 -07:00
Saad Ali 9da215e085 Merge pull request #9897 from derekwaynecarr/limit_range_validation
Add LimitRange range validation
2015-06-17 17:20:18 -07:00
Saad Ali 8af4fbfd1b Merge pull request #9982 from markturansky/pv_typo
Fixed typo in error string
2015-06-17 17:02:12 -07:00
Satnam Singh d69e0b5eb6 Improve error output of kubectl update 2015-06-17 15:55:03 -07:00
Saad Ali 2a228bf45e Merge pull request #9898 from nikhiljindal/trace
Stop supporting TRACE proxy requests
2015-06-17 15:55:03 -07:00
Prashanth Balasubramanian de1f246e89 Fix benign data race in pod workers. 2015-06-17 14:52:03 -07:00
markturansky 88a4ff02f5 Fixed typo in error string 2015-06-17 17:51:42 -04:00
Saad Ali b2cc21c2b6 Merge pull request #9608 from markturansky/pv_naming
Changed PVClaimVolumeSource name to match other volume names
2015-06-17 14:22:57 -07:00
Saad Ali 544b16d873 Merge pull request #9750 from rjnagal/ux
Update cadvisor dependency.
2015-06-17 14:22:38 -07:00
Saad Ali 6f0c48479f Merge pull request #9961 from dchen1107/master
Configured resource-only container /docker-daemon with 70% of node me…
2015-06-17 14:18:54 -07:00
Clayton Coleman f3aa8f4196 Pod IP should be described with Pods 2015-06-17 16:45:11 -04:00
Clayton Coleman 1707c5d28c Split AsVersionedObjects so it can be reused 2015-06-17 16:33:53 -04:00
markturansky 0a6b7b61ec Changed PVClaimVolumeSource name to match other volume names 2015-06-17 16:17:49 -04:00
Dawn Chen 32d5f463d2 Add a sanity check to memory limit for /docker-daemon, and allocate
at least 150Mi at least.
2015-06-17 12:51:11 -07:00
Huamin Chen 0280dac6b1 check IsNotExist error when validating mountpoint
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-06-17 15:25:15 -04:00
Dawn Chen ca95eb75e9 Configured resource-only container /docker-daemon with 70% of node memory
capacity. This is a workaround to docker memory leakage issue.
2015-06-17 11:40:30 -07:00
Saad Ali 641f8d47d3 Merge pull request #9828 from caesarxuchao/remove-testdata-v1beta1
remove pkg/api/validation/testdata/v1beta1/*
2015-06-17 11:36:03 -07:00
Saad Ali f8e58f7efe Merge pull request #9827 from timstclair/html-rewrite
Html rewrite
2015-06-17 11:35:30 -07:00
Saad Ali b25de6e273 Merge pull request #9916 from caesarxuchao/streamer
remove string "v1beta1" from streamer_test.go
2015-06-17 11:33:34 -07:00
Saad Ali 64731986dd Merge pull request #9774 from liggitt/admission_error
Make admission errors clearer
2015-06-17 11:31:47 -07:00
Saad Ali d5e00d3990 Merge pull request #9523 from bprashanth/kl_stats
Scrape /metrics of kubelets from e2e tests
2015-06-17 11:30:28 -07:00
Saad Ali 609406d00a Merge pull request #9186 from gmarek/latency
Add startup latency e2e "test"
2015-06-17 11:29:37 -07:00
RichieEscarez eb44b3c830 Qualified all references to "controller" so that references to "replication controller" are clear. fixes #9404
Also ran hacks/run-gendocs.sh
2015-06-17 08:48:59 -07:00
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
CJ Cullen db645dd31a Add ssh tunnel-open metrics
(cherry picked from commit 66fb8ccb02)
2015-06-15 20:35:12 -07:00
CJ Cullen c453282f72 Fix several potential crashes in sshtunnel open/close code.
(cherry picked from commit faa9313eea)
2015-06-15 20:34:59 -07:00
Dawn Chen c1dd527dd1 Fix the unittests cause by applying oom_score_adj (0) to the user containers. 2015-06-15 20:34:03 -07:00
Dawn Chen 85bb2911a3 Apply oom_score_adj (0) to PID of user containers by default.
(cherry picked from commit f6f9372d1a)
2015-06-15 20:33:45 -07:00
Brendan Burns 6eda9c4976 Fix a bug where the network container could be torn down before other pods.
This can break PreStop that hits localhost in the pod.

(cherry picked from commit aac696d44c)
2015-06-15 20:32:31 -07:00
Brendan Burns a6652a0e98 Merge pull request #9834 from cjcullen/fwfix
Fix crashes in ssh-tunnel code.
2015-06-15 20:25:32 -07:00
Fabio Yeon bcf5cffa1a Merge pull request #9768 from timstclair/proxy-rel
Don't rewrite relative URLs when proxying HTTP content.
2015-06-15 19:54:18 -07:00
Fabio Yeon 72082624e5 Merge pull request #9522 from brendandburns/friction
Add a better message if the user doesn't specify a resource type.
2015-06-15 19:53:54 -07:00
Fabio Yeon 0453f9ea9d Merge pull request #9705 from hurf/label4describe
Add label support for kubectl describe
2015-06-15 19:33:09 -07:00
CJ Cullen 66fb8ccb02 Add ssh tunnel-open metrics 2015-06-15 17:28:54 -07:00
Dawn Chen 80c48aedb2 Merge pull request #9824 from dchen1107/clean
explicitly applying oom_score_adj(0) to processes of user containers
2015-06-15 17:06:48 -07:00
nikhiljindal 3d63c71cbc Removing legacyBehavior param from pkg/client 2015-06-15 16:49:11 -07:00
Chao Xu d9e8939ae4 remove pkg/api/validation/testdata/v1beta1/* 2015-06-15 16:20:14 -07:00
Dawn Chen 14f78b74cc Fix the unittests cause by applying oom_score_adj (0) to the user containers. 2015-06-15 16:16:34 -07:00
Dawn Chen f6f9372d1a Apply oom_score_adj (0) to PID of user containers by default. 2015-06-15 16:16:34 -07:00
BC Broussard 90b0b5c895 Add NodePort and Loadbalancer to services web ui
Remove PublicIPs
2015-06-15 16:09:10 -07:00
Brendan Burns 07b5930a70 Remove the redirect verb. 2015-06-15 15:39:06 -07:00
Fabio Yeon 4fdcbc3096 Merge pull request #9799 from jhadvig/err_msg
Making error msg for updating resource version more clear
2015-06-15 15:20:00 -07:00
Fabio Yeon bb5d2101a1 Merge pull request #9765 from brendandburns/fix-kubelet
Fix a bug where the network container could be torn down before other pods
2015-06-15 15:09:01 -07:00
Chao Xu 3815b4c985 remove PodContainerInfo from api/types.go 2015-06-15 15:04:37 -07:00
Tim Hockin 29d4d7a16d Remove dead code 2015-06-15 14:40:36 -07:00
CJ Cullen faa9313eea Fix several potential crashes in sshtunnel open/close code. 2015-06-15 14:38:37 -07:00
Fabio Yeon 5f361c17af Merge pull request #9759 from mikedanese/actually-fix-logging
Fix excessively verbose logging in master's kubelet
2015-06-15 13:35:33 -07:00
Fabio Yeon 4e6bd63256 Merge pull request #9597 from mikedanese/fix-swagger-validate-panic
fix panic in kubectl --validate when no apiVersion is passed
2015-06-15 13:05:11 -07:00
Fabio Yeon 86815516ba Merge pull request #9584 from smarterclayton/rest_client_metrics_unbounded
Memory leak: REST client metrics capture grows unbounded
2015-06-15 13:03:36 -07:00
Prashanth Balasubramanian d761b1d4d7 Use runtime cache to serve container /stats requests 2015-06-15 12:39:25 -07:00
Rohit Jnagal 6849b381dc Update cadvisor dependency.
Godep also decided to remove unused appengine dependency.
2015-06-15 19:11:55 +00:00
Fabio Yeon b65c321a87 Merge pull request #9772 from feihujiang/noKindErrorMessage
make the kind not registered in versions  error message more precise
2015-06-15 10:26:58 -07:00
Fabio Yeon 26e7d8b60c Merge pull request #9679 from BenTheElder/export_iptables_getversion
Export GetIptablesVersion utility in pkg/util/iptables
2015-06-15 10:05:08 -07:00
Fabio Yeon 18a3932585 Merge pull request #9265 from mesosphere/upstream-k8sm-cm-and-km
Upstream Kubernetes Mesos controller manager and km binary
2015-06-15 09:28:12 -07:00
Marek Biskup dcc4034d57 e2e test for addon update 2015-06-15 17:37:24 +02:00
jhadvig ad36f5d2f1 Making error msg for updating resource version more clear 2015-06-15 17:05:08 +02:00
Clayton Coleman bdbf477207 REST Client metrics capture grows unbounded
The URLs were unique by namespace and query parameter value, which means
an infinite number of metrics counters could be created.
2015-06-15 11:03:20 -04:00
Filip Grzadkowski cdc5034ce4 Fix error message for missing imagePullPolicy 2015-06-15 16:02:32 +02:00
hurf d58768b351 Shorten container ID in events
Log only first 12 characters of container ID in events.
2015-06-15 17:01:27 +08:00
feihujiang ad4f22bf6a improve kubectl error message when an object with kind not registered in versions 2015-06-15 09:18:28 +08:00
Tim St. Clair fd7d46e9da Don't rewrite relative URLs when proxying HTTP content. 2015-06-12 21:30:29 -07:00
Brendan Burns aac696d44c Fix a bug where the network container could be torn down before other pods.
This can break PreStop that hits localhost in the pod.
2015-06-12 21:18:40 -07:00
Quinton Hoole 85ade1db0a Merge pull request #9592 from lavalamp/logSpam
Restore service latency test & fix bugs
2015-06-12 19:20:17 -07:00
Mike Danese 64482907ab cover more codepaths that hit GetNode in standalone, as well as create better error message when we actually do hit GetNode() which is likely a programmer/config error 2015-06-12 17:45:17 -07:00
Abhi Shah cdef8ae844 Merge pull request #9749 from dchen1107/podstatus
Add logging at RunInContainer for future debugging docker exec issues.
2015-06-12 17:10:12 -07:00
Abhi Shah 3e8690c28b Merge pull request #9515 from markturansky/scrub_thread_leak
Fixes thread leak from discarded watch
2015-06-12 16:52:21 -07:00
Dawn Chen c1d1a01087 Add logging at RunInContainer for future debugging docker exec issues. 2015-06-12 16:38:24 -07:00
Dawn Chen b1bbf653ab Merge pull request #9680 from mikedanese/fix-readiness-probe
Fix ReadinessProbe: seperate readiness and liveness in the code
2015-06-12 16:10:21 -07:00
Brendan Burns c6a910c0b8 Merge pull request #9650 from hurf/podns_describe_node
display pod namespace while describe node
2015-06-12 15:59:46 -07:00
Abhi Shah 3ce7fe8310 Merge pull request #9722 from mikedanese/host-ip-spam
Fix spammy GetHostIP error log in kubelet
2015-06-12 15:26:54 -07:00
BenTheElder c5baf1f284 Export GetIptablesVersion utility in util/iptables
For kube-proxy to determine whether to use pure iptables as in
https://github.com/GoogleCloudPlatform/kubernetes/issues/3760
Related WIP PR:
https://github.com/GoogleCloudPlatform/kubernetes/pull/9210
2015-06-12 17:13:40 -04:00
Daniel Smith 9423f80d20 fix test bug & conversion bug 2015-06-12 13:55:10 -07:00
Abhi Shah 86b6150fb0 Merge pull request #9287 from brendandburns/kubectl
Add some XSRF protection to kubectl proxy.
2015-06-12 13:51:08 -07:00
Abhi Shah 928971cea4 Merge pull request #9710 from mesosphere/public-get-phase
export kubelet.GetPhase
2015-06-12 13:46:35 -07:00
Mike Danese 5896ac9e07 skip GetHostIP call on standalone mode kubelet to fix spammy log statement 2015-06-12 11:37:53 -07:00
derekwaynecarr d40ff87bdc Its bad to spawn a gofunc per quota with large number of quotas 2015-06-12 11:40:14 -04:00
James DeFelice 022ff5196d fix broken file refs 2015-06-12 14:03:01 +00:00
James DeFelice 1820114a2d Upstream controller manager and km binary
Closes mesosphere/kubernetes-mesos#310
Depends on GoogleCloudPlatform/kubernetes#8882

- fix https://github.com/mesosphere/kubernetes-mesos/issues/336
- Fix comment typo
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11559038
- Add warning to k8s modules to also update mesos copies
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11558864
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11558855
- Add comments and TODO that hypercube and controllermanager need refactoring
2015-06-12 14:03:00 +00:00
Abhi Shah 52db576617 Merge pull request #8882 from mesosphere/upstream_k8sm
Upstream Kubernetes-Mesos framework
2015-06-12 06:36:20 -07:00
James DeFelice 3cf7739b42 export kubelet.GetPhase 2015-06-12 11:11:53 +00:00
Jerzy Szczepkowski cd3299307d Merge pull request #9549 from bprashanth/generate_fix
Avoid trying to generate the pod status of a new pod
2015-06-12 10:54:13 +02:00
Victor HU eb473676ce display pod namespace while describe node 2015-06-12 15:30:11 +08:00
hurf fa0efe3927 Add label support for kubectl describe
Add -l option to kubectl describe command, allow it return
multiple results filtered by label selector.
2015-06-12 15:08:28 +08:00
Daniel Smith 47294dd326 Revert "Revert "Test Service creation -> endpoint generation latency""
This reverts commit 654857114e.
2015-06-11 18:34:31 -07:00
Prashanth Balasubramanian b5ed0e9b13 Dont generatePodStatus twice for new pods 2015-06-11 17:18:16 -07:00
Mike Danese 35771acdfa seperate readiness and liveness in the code 2015-06-11 15:09:27 -07:00
markturansky 4210a5dfd8 Scrub pod closes watch channel 2015-06-11 14:25:44 -04:00
Abhi Shah 87d0208d83 Merge pull request #9504 from derekwaynecarr/describe_ns
Add namespace describer
2015-06-11 10:26:03 -07:00
Brendan Burns 4aeee94603 Add some XSRF protection to kubectl proxy. 2015-06-10 20:55:33 -07:00
Abhi Shah b556285661 Merge pull request #9550 from feihujiang/validationFailure
remove useless glog.Infof
2015-06-10 14:45:10 -07:00
Abhi Shah 07f8d58010 Merge pull request #9500 from andronat/make_CheckErr_testable
Make check err testable
2015-06-10 14:42:56 -07:00
James DeFelice 7d66559725 added comments at the top of native k8s files which, if changed, might affect some of the k8sm code 2015-06-10 20:31:22 +00:00
Abhi Shah f5b6597492 Revert "Make error msg for updating resource version more clear" 2015-06-10 12:54:52 -07:00
Abhi Shah d477fe6b1c Merge pull request #9569 from jhadvig/unclear_error
Make error msg for updating resource version more clear
2015-06-10 12:51:57 -07:00
Mike Danese 2bbb78d50a actually return validation errors instead of just creating them 2015-06-10 12:45:10 -07:00
Brendan Burns 0cb58606b7 Kubernetes version v0.19.0-dev 2015-06-10 09:26:55 -07:00
Brendan Burns 6b0d4ffed3 Kubernetes version v0.19.0 2015-06-10 09:25:31 -07:00
Martin Nagy ff2b5b78fa Quote integers correctly 2015-06-10 17:50:58 +02:00
Anastasis Andronidis 62c766d58d Add tests 2015-06-10 16:09:43 +02:00
Anastasis Andronidis b7c485ee9a make CheckErr testable 2015-06-10 16:09:42 +02:00
Jakub Hadvig 90dcd347ac Make error msg for updating resource version more clear 2015-06-10 14:03:06 +02:00
Brendan Burns 99bf48dc2f Merge pull request #9542 from brendandburns/validate
Change the way we test if a disk is already attached.
2015-06-09 22:00:06 -07:00
Brendan Burns 654857114e Revert "Test Service creation -> endpoint generation latency" 2015-06-09 21:24:00 -07:00
feihujiang 5867b5ce6b remove useless glog.Infof 2015-06-10 11:02:28 +08:00
Brendan Burns 3350eecedf Change the way we test if a disk is already attached.
Validated by manual introspection on a running GCE cluster.
2015-06-09 17:50:52 -07:00
krousey f62a2a1bb6 Merge pull request #9451 from cjcullen/mig
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
2015-06-09 15:52:12 -07:00
krousey 1c58d2a766 Merge pull request #9354 from lavalamp/logSpam
Test Service creation -> endpoint generation latency
2015-06-09 15:51:26 -07:00
krousey e36aa77018 Merge pull request #9505 from mikedanese/remove-flags
remove kubectl flags from usage examples that no longer exist
2015-06-09 15:15:59 -07:00
Brendan Burns b259c873b7 Add a better message if the user doesn't specify a resource type. 2015-06-09 15:04:56 -07:00
krousey f413f30bea Merge pull request #9424 from mesosphere/export-generate-pod-status
add GetRuntime() to Kubelet for easier integration with 3rd party kubele…
2015-06-09 14:17:30 -07:00
krousey 934a5382ec Merge pull request #9496 from caesarxuchao/event_test-v1
update fieldPath in event_test.go to v1
2015-06-09 13:41:36 -07:00
krousey 3e7bcd1ecc Merge pull request #9182 from jdef/abspath_drops_config_prefix
ServerAPIVersions incorrectly squashes config.Prefix
2015-06-09 13:00:58 -07:00
Mike Danese 401d3c43fd remove removed flags from usage examples 2015-06-09 12:56:58 -07:00
derekwaynecarr 5b005fa30b Add namespace describer 2015-06-09 15:52:44 -04:00
krousey 43a423f6fc Merge pull request #9440 from brendandburns/ssh
Add an initial test for SSH.
2015-06-09 12:08:26 -07:00
krousey dd1f4f392f Merge pull request #9425 from mesosphere/update-testify-dep
Update github.com/stretchr/testify rev to 7e4a149
2015-06-09 11:59:00 -07:00
krousey 687e866d80 Merge pull request #9418 from mikedanese/kubectl-version-err
kubectl should error if versionless yaml is passed to resource builder
2015-06-09 11:55:48 -07:00
krousey 3d803ab7b2 Merge pull request #9410 from cjcullen/ratelimit
Add a RateLimiter for the gce altTokenSource.
2015-06-09 11:11:48 -07:00
krousey 044d4868ca Merge pull request #9408 from bcbroussard/v1api
Update web ui to v1 api
2015-06-09 11:00:06 -07:00
krousey 0487c65fab Merge pull request #9389 from nikhiljindal/swaggerDup
Adding subresource to swagger route docs
2015-06-09 10:51:38 -07:00
Chao Xu 030099a5bd update fieldPath in event_test.go to v1 2015-06-09 10:45:55 -07:00
krousey 9740105a99 Merge pull request #8837 from mbforbes/rollingTest
E2E test node upgrade (to same version)
2015-06-09 10:42:17 -07:00
krousey fa94d88599 Merge pull request #9370 from justinsb/fix_9318
Actually pass down ServiceNodePortRange so it is used
2015-06-09 10:39:45 -07:00
James DeFelice b5583db1d2 add UnversionedPath() to fix ServerAPIVersions() 2015-06-09 17:30:48 +00:00
nikhiljindal 784e408ab4 Adding subresource to swagger route docs 2015-06-09 10:20:45 -07:00
krousey d7f7d84a5e Merge pull request #9387 from jsdir/9340-signature
Improve signature consistency for ValidateObjectMetaUpdate
2015-06-09 10:20:18 -07:00
krousey ff474e5d7e Merge pull request #9376 from feihujiang/createValidateCrash
kubetcl create --validate crashes when no apiVersion or kind is provided
2015-06-09 09:59:42 -07:00
James DeFelice 257bc9b1a3 add GetRuntime() to simplify integration with 3rd party kubelet extensions like kubernetes-mesos 2015-06-09 13:27:34 +00:00
Brendan Burns b68ddbaf75 Don't pretty-print by default. Saves an allocation (or more) and a copy. 2015-06-08 21:31:58 -07:00
Brendan Burns 2240486110 Add an initial test for SSH. 2015-06-08 20:53:05 -07:00
feihujiang 37abe11f8a kubetcl create --validate crashes when no apiVersion or kind is provided 2015-06-09 10:38:43 +08:00
CJ Cullen 2d85e4a094 Use Node IP Address instead of Node.Name in minion.ResourceLocation.
Refactor GetNodeHostIP into pkg/util/node (instead of pkg/util to break import cycle).

Include internalIP in gce NodeAddresses.
2015-06-08 16:58:00 -07:00
krousey afb9a7e362 Merge pull request #9373 from justinsb/aws_lb_cleanup
Make deletion of an AWS load balancer clean
2015-06-08 16:49:21 -07:00
Daniel Smith aa9bdcbc4a add missing endpoints field label conversion function 2015-06-08 16:23:21 -07:00
krousey ab4c725975 Merge pull request #9328 from liggitt/token_controller_process_new
Generate tokens for service accounts with no secrets
2015-06-08 15:15:44 -07:00
Jason Sommer aa892b7143 Replace meta with new 2015-06-08 17:06:56 -05:00
Justin Santa Barbara 6f3879e3bb Actually pass down ServiceNodePortRange so it is used
Also fix default range to match what we've documented (off-by-one)

Fix #9318
2015-06-08 18:03:42 -04:00
krousey 5aa0219ada Merge pull request #9292 from cjcullen/test_pull_8946
Add an ssh tunnel option to the /proxy endpoint
2015-06-08 14:30:12 -07:00
Brendan Burns 4546cbbb56 Revert "Cut release 0.18.2 with the fix for Docker + memory limits" 2015-06-08 13:49:48 -07:00
Brendan Burns cfcc6553a5 Merge pull request #9426 from brendandburns/release-0.18
Cut release 0.18.2 with the fix for Docker + memory limits
2015-06-08 13:40:07 -07:00
Brendan Burns 56134d57e4 Kubernetes version v0.18.2-dev 2015-06-08 13:08:53 -07:00
Brendan Burns 1f12b89387 Kubernetes version v0.18.2 2015-06-08 13:08:10 -07:00