Commit Graph

6270 Commits (9e291fbfc08f514a74c8de9d35d27bcbca439c9f)

Author SHA1 Message Date
Filipe Brandenburger e54fe118d7 Merge pull request #4393 from erictune/no_port_conflict
Show help message in kubectl.sh if no args.
2015-02-12 12:12:35 -08:00
Clayton Coleman c24f4a24b4 Rename TryAgainLater status code to ServerTimeout 2015-02-12 15:01:12 -05:00
Eric Tune 9e015fd216 Handle unset dollar-at.
When no args are passed to a script, "$@" is unset,
which causes a shell error in "nounset" mode.

This change passes an empty string to kubectl in that case
so it can print help.
2015-02-12 11:56:58 -08:00
Alex Robinson 60ab9904d5 Merge pull request #4371 from a-robinson/port
Add extra explanation of the purpose of service's ContainerPort field to the API comments.
2015-02-12 11:45:45 -08:00
Alex Robinson 3301f19a8a Add extra explanation of the purpose of service's ContainerPort field to
the API comments. We were asked about this in issue #4332.
2015-02-12 19:37:58 +00:00
Zach Loafman 6117592905 Add expectNoError helper to handle Expect(err).NotTo(HaveOccurred()) meme
And convert one file
2015-02-12 11:34:07 -08:00
Zach Loafman 62ff434825 Fix Failf line offset reporting 2015-02-12 11:33:56 -08:00
Zach Loafman 9774e9bb7b Remove unnecessary GinkgoDefer()s 2015-02-12 11:33:33 -08:00
Zach Loafman ac8e8cca78 Merge pull request #4280 from rrati/e2e-liveness-4253
E2e liveness 4253
2015-02-12 10:16:00 -08:00
Saad Ali 46f435163b Merge pull request #4386 from smreed/rc-logging
Adds replication controller name to "Too many|few" logging
2015-02-12 09:33:15 -08:00
Steve Reed 38230ef12f Adds replication controller name to "Too many|few" logging 2015-02-12 09:18:56 -08:00
Saad Ali 3bc8f4e793 Merge pull request #4359 from erictune/no_bound_pod_envs
Stop putting env vars into BoundPods.
2015-02-12 09:12:19 -08:00
Clayton Coleman 0a435c815f Merge pull request #4313 from derekwaynecarr/client_watch_namespaces
Add ability to watch namespaces from client
2015-02-12 11:51:19 -05:00
Clayton Coleman b2d50ce1cc Merge pull request #4329 from smarterclayton/bindings_incorrectly_removed
Bindings were not correctly removed across namespaces on pod update and delete
2015-02-12 11:43:22 -05:00
Eric Tune 5b4569697f Stop putting env vars into BoundPods.
They will still show up in etcd.  They never were available
through the API.

A subsequent PR(s) will rip out all BoundPods code.
Working in small increments.

This PR will cause users on lagging cloud providers
to not get env vars in their pods if they update to this code.
They have already been warned via email.

Removed unit tests of BasicBoundPodFactory.
There is adequate coverage in pkg/kubelet/kubelet_test.go.
2015-02-12 08:37:23 -08:00
derekwaynecarr 73aa0cc192 Add a unit test to exercise watch 2015-02-12 11:25:33 -05:00
Saad Ali 42f04587d0 Merge pull request #4363 from yujuhong/defaulting_tests
Add defaulting tests for API v1beta2 and v1beta3
2015-02-12 07:56:23 -08:00
Saad Ali b5f4849a53 Merge pull request #4364 from vmarmol/cleanup
Minor clarification of --server flag.
2015-02-12 07:54:39 -08:00
Saad Ali 35a62fb89a Merge pull request #4373 from vishh/3391
Improve error handling for '/containerLogs' API in kubelet.
2015-02-12 07:51:53 -08:00
Saad Ali c216b2660c Merge pull request #4367 from vmarmol/print-client
Print client version before evaluating server's.
2015-02-12 07:48:24 -08:00
Clayton Coleman 358d1ab304 Kubernetes pod and namespace security model
This proposed update to docs/design/security.md includes proposals
on how to ensure containers have consistent Linux security behavior
across nodes, how containers authenticate and authorize to the master
and other components, and how secret data could be distributed to
pods to allow that authentication.

References concepts from #3910, #2030, and #2297 as well as upstream issues
around the Docker vault and Docker secrets.
2015-02-12 10:37:27 -05:00
Clayton Coleman 7d43971614 Merge pull request #4326 from yujuhong/phantom_pods
Allow AtomicUpdate() to surface the error when the key doesn't exist
2015-02-12 10:19:09 -05:00
Saad Ali 8557cd617b Merge pull request #4374 from ghodss/update-walkthrough
Update walkthrough to support kubectl create
2015-02-12 07:09:21 -08:00
Clayton Coleman 0a2d713803 Merge pull request #4263 from smarterclayton/simplify_apiserver
Remove layers of indirection between apiinstaller and resthandler
2015-02-12 10:03:41 -05:00
Clayton Coleman e6fdac1365 Return an error when names are empty 2015-02-12 09:45:13 -05:00
Clayton Coleman 371349f858 Merge pull request #4125 from derekwaynecarr/store_by_namespace
Enable look-up by secondary index in cache
2015-02-12 09:44:26 -05:00
derekwaynecarr e76dcbdfa2 Add ability to watch namespaces 2015-02-12 09:42:29 -05:00
Paulo Pires df1cfb8704 Updated getting-started guides README entries related to CoreOS. 2015-02-12 12:49:18 +00:00
Paulo Pires 9acb50c916 Upgraded CoreOS getting-started guides to v0.10.1. 2015-02-12 11:07:49 +00:00
Dawn Chen 23b8b5ea6a Configure docker with larger open files. 2015-02-11 23:52:58 -08:00
Dawn Chen af54c62766 Fix podstatus issue caused by docker's resource temporarily unavailable error 2015-02-11 23:52:58 -08:00
saadali 033577efa2 Optimize etcd storage by compressing recurring events in to a single event 2015-02-11 22:57:44 -08:00
Yu-Ju Hong 6813683ee2 Allow AtomicUpdate() to surface the error when the key doesn't exist
In some cases, when the key doesn't exist, AtomicUpdate should simply fail and
surface the error. This change adds a new function parameter "ignoreNotFound"
for this purpose.
2015-02-11 21:56:28 -08:00
Eric Tune 52bf48cac2 Merge pull request #4369 from jlowdermilk/fix-kube-up
Fix kube-up bug introduced by #4353
2015-02-11 20:47:07 -08:00
Sam Ghods b10bd7c0d7 Update walkthrough to support kubectl create 2015-02-11 19:53:25 -08:00
Vishnu Kannan 922881fcd2 Improve error handling for '/containerLogs' API in kubelet. 2015-02-12 02:22:26 +00:00
Saad Ali b2d432005f Documentation for Event Compression 2015-02-11 18:04:30 -08:00
Jeff Lowdermilk 41547a1152 Fix kube-up bug introduced by #4353 2015-02-11 17:44:28 -08:00
Victor Marmol d158bbd62a Print client version before evaluating server's.
This will allow the client version to be printed even if the server
version is not available.

Fixes #4098.
2015-02-11 17:11:25 -08:00
Victor Marmol 0a64fecaf5 Minor clarification of --server flag.
Fixes #3425.
2015-02-11 17:04:41 -08:00
Filipe Brandenburger f9a4471eca Merge pull request #4356 from filbranden/hack_e2e_clustersize_output
Simplify ValidateClusterSize() to use cmd.Output() directly
2015-02-11 16:55:30 -08:00
Filipe Brandenburger 854a3d1fad Merge pull request #4294 from zmerlynn/util_funcs
Utility functions for Gingko By and Fail
2015-02-11 16:53:38 -08:00
Zach Loafman 6b3746896f Add a Failf utility function for 'Fail(fmt.Sprintf())' and convert one file 2015-02-11 16:46:36 -08:00
Zach Loafman 251bb585bd Add a Logf utility function to print INFO: lines to GinkgoWriter, convert new file to it 2015-02-11 16:45:44 -08:00
roberthbailey 3d89c23516 Merge pull request #4361 from erictune/cleanup_etcd_1
Don't set --etcd_servers argument for kubelet.
2015-02-11 16:28:01 -08:00
Yu-Ju Hong 4bce52a5f6 Add defaulting tests for API v1beta2 and v1beta3
This commit also add more tests in v1beta1/defaults_test.go
2015-02-11 16:08:52 -08:00
Victor Marmol 8c5f77f302 Merge pull request #4360 from a-robinson/yaml
Remove the now-unused open-golang dependency. It was only being used by kubecfg
2015-02-11 16:03:35 -08:00
Alex Robinson 1fa696ceb2 Merge pull request #4355 from vmarmol/cmd
Update github.com/spf13/cobra to HEAD.
2015-02-11 15:56:29 -08:00
Eric Tune 59a06b5073 Don't set --etcd_servers argument for kubelet.
This is ignored by all recent kubelet versions when api_servers is
set.  And it is set in this salt file.
2015-02-11 15:53:26 -08:00
Alex Robinson 87c9fc2f4f Remove the now-unused open-golang dependency. It was only being used by kubecfg,
which is now completely gone.
2015-02-11 23:50:56 +00:00