Commit Graph

3054 Commits

Author SHA1 Message Date
Clayton Coleman
36f19f77ec Add PortalIP to Service describe 2015-02-22 01:07:33 -05:00
Brendan Burns
86a0193f51 Merge pull request #4311 from kazegusuri/update_nil_label
kubectl label command crashes when a resource has no labels
2015-02-20 15:52:05 -08:00
Brendan Burns
9829128a75 Merge pull request #4580 from thockin/plural_20_endpoints
Part 2 of plural ports: make endpoints a struct
2015-02-20 15:42:19 -08:00
Brian Grant
0dbaf205ab Merge pull request #4680 from derekwaynecarr/doc_types
Add doc in types.go for hooks/description.sh
2015-02-20 14:47:14 -08:00
Victor Marmol
31556fc565 Merge pull request #4679 from eparis/kubectl-man
more kubectl doc update
2015-02-20 14:02:35 -08:00
Victor Marmol
ccdbad89ce Merge pull request #4677 from vmarmol/ooms
Check Docker init PID is valid before we use it.
2015-02-20 13:53:01 -08:00
derekwaynecarr
3d6085e692 Add doc in types 2015-02-20 16:48:28 -05:00
Eric Paris
d508395828 Change all cobra commands to use the example section
This will output the examples in their own section, rather than as part
of the 'long' synposis.
2015-02-20 16:41:31 -05:00
Andy Goldstein
bd2eb2fa8f Fix flaky exec/portforward tests
Fixes #4676
2015-02-20 16:29:57 -05:00
Victor Marmol
da2f4b6d61 Check Docker init PID is valid before we use it.
This gives us an error if the PID is not returned as we expect.
2015-02-20 13:10:40 -08:00
Daniel Smith
17feadf977 Merge pull request #4240 from thockin/hyperkube
Hyperkube cleanup
2015-02-20 11:12:32 -08:00
Victor Marmol
eb343d2768 Merge pull request #4659 from deads2k/deads-tolerate-empty-file
tolerate empty .kubeconfig files
2015-02-20 10:19:14 -08:00
Victor Marmol
17b60e1d75 Merge pull request #4663 from eparis/gofmt
check gofmt with golang 1.4
2015-02-20 10:16:44 -08:00
Victor Marmol
51941b0974 Merge pull request #4668 from markturansky/no_list_get
Remove unused helper method from ResourceList
2015-02-20 09:54:05 -08:00
Satnam Singh
1704319edb Merge pull request #4662 from deads2k/deads-global-local-override-merge
prevent default merging when specifying a specific kubeconfig for config view
2015-02-20 09:51:44 -08:00
Eric Paris
e8acfe5f81 change proxy to satisfy both gofmt 1.3 and 1.4 gofmt
gofmt -s from 1.4  does not like
	for _ = range BLAH
it wants
	for range BLAH

But gofmt from 1.3 dies:
	./pkg/proxy/config/config.go:265:6: expected operand, found 'range'
	./pkg/proxy/config/config.go:268:3: expected '{', found 'EOF'

So instead, rewrite the code to make them both happy
2015-02-20 12:30:33 -05:00
Clayton Coleman
a17517ff6e Merge pull request #4641 from smarterclayton/make_loading_config_data_easier
Split TLS loading to allow 3rd parties to load keys easily
2015-02-20 12:04:08 -05:00
Tim Hockin
f2894576c1 get rid of pkg/hyperkube 2015-02-20 08:49:12 -08:00
Tim Hockin
0b17c0f225 move pkg/controllermanager to cmd/kube-controller-manager/app 2015-02-20 08:49:12 -08:00
Tim Hockin
899d30f16a move pkg/master/server to cmd/kube-apiserver/app 2015-02-20 08:49:12 -08:00
Tim Hockin
8c2ff81ae0 move pkg/proxy/server to cmd/kube-proxy/app 2015-02-20 08:49:12 -08:00
Tim Hockin
7fe7f8a542 move pkg/kubelet/server to cmd/kubelet/app 2015-02-20 08:49:12 -08:00
Tim Hockin
710157ac9e simplify hyperkube prints 2015-02-20 08:49:12 -08:00
Tim Hockin
646621e0e8 Merge pull request #3763 from ncdc/remote-exec-port-forward
Add streaming remote command execution and port forwarding
2015-02-20 08:40:33 -08:00
Victor Marmol
d22fefd72d Merge pull request #4650 from xiang90/cadvisor
pkg/kubelet: minor fixes for cadvisor.go
2015-02-20 08:35:27 -08:00
markturansky
1faa2fcea7 removed unused helper method from ResourceList 2015-02-20 11:29:30 -05:00
Victor Marmol
22cbfc4d76 Merge pull request #4652 from xiang90/admission
admission: cleanup admission
2015-02-20 07:42:12 -08:00
Eric Paris
9965604d4b check gofmt with golang 1.4 2015-02-20 10:31:06 -05:00
Andy Goldstein
5bd0e9ab05 Add streaming command execution & port forwarding
Add streaming command execution & port forwarding via HTTP connection
upgrades (currently using SPDY).
2015-02-20 09:57:02 -05:00
deads2k
885d88f274 prevent default merging when specifying a specific kubeconfig for config view 2015-02-20 09:27:34 -05:00
deads2k
03dde0fc46 tolerate empty .kubeconfig files 2015-02-20 08:27:08 -05:00
rsokolowski
e81ef667c2 Fix broken kubelet_test.go. 2015-02-20 11:20:12 +01:00
Dawn Chen
efac150039 Merge pull request #4563 from xiang90/syncpod
pkg/kubelet: recreate infra pod if the pod is changed
2015-02-20 00:29:26 -08:00
Dawn Chen
530c1559e1 Merge pull request #4647 from vmarmol/ooms
Make POD container last OOM victim
2015-02-20 00:25:52 -08:00
Xiang Li
041c0a6f2b admission: cleanup admission 2015-02-19 22:25:52 -08:00
Xiang Li
5dc20421dc pkg/kubelet: drop the unnecessary method receiver 2015-02-19 21:40:17 -08:00
Xiang Li
c6d8bd8f5e pkg/kubelet: return error when there is no cadvisor connection 2015-02-19 21:35:57 -08:00
Xiang Li
ce1ced4322 pkg/kubelet: make comments follow go-style 2015-02-19 21:34:52 -08:00
Xiang Li
6433e2dd2b pkg/kubelet: uncaptialize the error message in cadvisor.go 2015-02-19 21:30:24 -08:00
Victor Marmol
8649628c6c Make POD container last OOM victim.
Setting the oom_score_adj of the PID of the POD container to -100 which is less
than the default of 0. This ensures that this PID is the last OOM victim
chosen by the kernel.

Fixes #3067.
2015-02-19 19:24:01 -08:00
Clayton Coleman
60c014334f Split TLS loading to allow 3rd parties to load keys easily
The LoadTLSFiles method is useful for configuration code that needs
to read the current client config and get values out for creating
other config files.
2015-02-19 20:54:21 -05:00
Victor Marmol
2d1a8d0da0 Allow ApplyOomScoreAdj to specify what PID to adjust for. 2015-02-19 17:16:31 -08:00
Daniel Smith
b7b537efc7 fix confusing defer 2015-02-19 17:11:32 -08:00
Yu-Ju Hong
adc10d9f47 Merge pull request #4616 from lavalamp/fix7
clean up rest installation code a little
2015-02-19 14:31:32 -08:00
Daniel Smith
40f8dfc54c Merge pull request #4621 from ironcladlou/fifo-add-if-not-present
Support AddIfNotPresent function
2015-02-19 14:22:29 -08:00
Dan Mace
45372a90f8 Support AddIfNotPresent function
Add an AddIfNotPresent function to support single producer/consumer
retry scenarios. Provides the consumer with a means to prefer items
already enqueued by the producer at the point of retry.
2015-02-19 17:04:55 -05:00
Daniel Smith
5b96a454d2 clean up rest installation code a little 2015-02-19 13:26:27 -08:00
Yu-Ju Hong
fc9550698e Merge pull request #4605 from lavalamp/fix4
Set GOMAXPROCS. Print errors on stderr.
2015-02-19 11:14:12 -08:00
Daniel Smith
f6ab47cc2e Merge pull request #4608 from yujuhong/fixgomt
Run gofmt for hash.go to fix formatting errors
2015-02-19 10:58:05 -08:00
Yu-Ju Hong
7379502cc9 Run gofmt for hash.go to fix formatting errors 2015-02-19 10:51:46 -08:00