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
Karl Beecher
ecbb91cc08
Adds support for multiple resources to kubectl
...
You can specify multiple resources by name when using the delete, get
and stop commands.
2015-02-20 16:18:57 +01: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
Victor Marmol
40cb417901
Merge pull request #4531 from wojtek-t/batch_requests_in_kubelet
...
Batch updates of multiple Pods.
2015-02-19 10:50:26 -08:00
Daniel Smith
fcddefa184
Set GOMAXPROCS. Print errors on stderr.
2015-02-19 10:30:31 -08:00
Dawn Chen
053dd7834e
Merge pull request #4586 from jszczepkowski/volume-event
...
Fire event for pod when mount fails.
2015-02-19 10:26:42 -08:00
Jeff Lowdermilk
703b642886
Merge pull request #4517 from liggitt/kubeconfig_cert_data
...
Let .kubeconfig be a single-source config for API clients
2015-02-19 10:22:58 -08:00
Yu-Ju Hong
1b5d14423c
Merge pull request #4595 from rsokolowski/deterministic-hash
...
Make DeepHashObject function deterministic.
2015-02-19 10:10:08 -08:00
roberthbailey
bab8393e6a
Merge pull request #4278 from brendandburns/kubecfg
...
Add an (optional) proxy to the TLS config.
2015-02-19 09:17:27 -08:00
Jordan Liggitt
abb38cf793
Let .kubeconfig populate ca/cert/key data, and basic-auth username/password in client configs
2015-02-19 11:29:42 -05:00
rsokolowski
14e93a112b
Make DeepHashObject function deterministic.
2015-02-19 16:46:19 +01:00
Jerzy Szczepkowski
d614fc7fcc
Fire event for pod when mount fails.
...
Implemented firing event for pod when mount of external volume fails. Fixes #4540 .
2015-02-19 11:08:36 +01:00
Wojciech Tyczynski
702ad7732f
Applied comments
2015-02-19 08:01:16 +01:00
Jordan Liggitt
945616a6f9
Surface load errors when reading .kubeconfig files
2015-02-18 23:34:51 -05:00
Tim Hockin
ae0062d001
Part 2 of plural ports: make endpoints a struct
...
Includes conversions for v1b[12] and tests and fixups for call sites.
2015-02-18 19:54:15 -08:00
Tim Hockin
34eaa0dbd6
Part 1 of plural ports: Add protocol to Endpoints
...
This makes it easier to make the second step, which is moving endpoints
to a struct instead of a string.
2015-02-18 18:58:04 -08:00
Brian Grant
1ba1c1c4a8
Merge pull request #4541 from yujuhong/lies
...
Remove obsolete comments in types.go
2015-02-18 17:05:56 -08:00
Yu-Ju Hong
be4ca11f38
Remove obsolete comments in types.go
2015-02-18 16:14:30 -08:00
Eric Tune
af67829eca
Merge pull request #4515 from pmorie/secrets_wip
...
Secret volume plugin iteration 1
2015-02-18 15:57:31 -08:00
Xiang Li
0e20f7d736
pkg/kubelet: recreate infra pod if the pod is changed
2015-02-18 15:05:16 -08:00
Dawn Chen
8022c74b55
Merge pull request #4473 from xiang90/server
...
pkg/kubelet/server.go: minor fixes
2015-02-18 14:50:51 -08:00
Brian Grant
079e70e210
Merge pull request #4546 from mikedanese/hook-fix
...
add descriptions to PodCondition struct tags
2015-02-18 13:41:29 -08:00
Mike Danese
dd1548347d
add descriptions to PodCondition struct tags
2015-02-18 13:29:56 -08:00
Paul Morie
a42ff94c8f
Add secret volume plugin and e2e test
2015-02-18 16:27:44 -05:00
Xiang Li
6b91901bd3
pkg/kubelet: minor fixes in server.go
2015-02-18 13:18:45 -08:00
Victor Marmol
860c1cc93a
Merge pull request #4508 from bprashanth/handle_stats_500
...
Cadvisor interface returns richer errors to the kubelet server #4127
2015-02-18 12:59:47 -08:00
Dawn Chen
31901780a9
Merge pull request #4520 from brendandburns/master
...
Release 0.11.0
2015-02-18 11:00:18 -08:00
Paul Morie
a131a5e491
Add test for secret RESTStorage
2015-02-18 13:02:22 -05:00
Prashanth Balasubramanian
9427f75788
Cadvisor returns richer errors to the kubelet server.
2015-02-18 09:31:28 -08:00
Paul Morie
fb001ada21
Secret API resource
2015-02-18 11:54:56 -05:00
Wojciech Tyczynski
25c8f07c67
Batch updates of multiple Pods.
2015-02-18 16:46:16 +01:00
Brendan Burns
5b34ac0e73
Kubernetes version v0.11.0-dev
2015-02-17 21:15:42 -08:00
Brendan Burns
18ddff0eb6
Kubernetes version v0.11.0
2015-02-17 21:15:37 -08:00
Clayton Coleman
a01c09a61a
Merge pull request #4518 from brendandburns/master
...
Fix rolling update if namespace is empty.
2015-02-17 23:49:17 -05:00
Brendan Burns
62c4187e78
Fix rolling update if namespace is empty.
2015-02-17 20:16:49 -08:00
Tim Hockin
876b0c4619
Merge pull request #4484 from jszczepkowski/load-balancer
...
Update for external load balancer.
2015-02-17 17:04:08 -08:00
Nikhil Jindal
7264ad49f8
Merge pull request #4504 from dchen1107/podstatus
...
Create docker.Container obj with Name. Integration test is using fake_do...
2015-02-17 16:43:33 -08:00
Nikhil Jindal
a4bc22e263
Merge pull request #4507 from lavalamp/fix4
...
remove redundant func()
2015-02-17 16:10:51 -08:00
Eric Tune
7990b54803
Merge pull request #4444 from saad-ali/eventsCacheLru
...
Switch events history to use LRU cache instead of map
2015-02-17 16:05:11 -08:00
Daniel Smith
ca5a73ac6b
remove redundant func()
2015-02-17 15:58:18 -08:00
Dawn Chen
c843adbd8f
Create docker.Container obj with Name. Integration test is using fake_docker_client
...
to create and start a fake container. When StartContainer, it pass a name as docker
ID for testing purpose, but leave Name uninitialized. This PR fixes such issue.
Fixed #4472 .
2015-02-17 15:23:21 -08:00
Nikhil Jindal
50ed6ad851
Merge pull request #4502 from pweil-/service-list
...
service NewList should return ServiceList
2015-02-17 14:51:44 -08:00
Dawn Chen
479e0c8f81
Merge pull request #4503 from dchen1107/podstatus
...
Add debugging information when docker.Container name is for #4472
2015-02-17 14:49:50 -08:00
Tim Hockin
003c0986b4
Merge pull request #4478 from thommay/rackspace_cloud_base
...
Basic Rackspace cloud support
2015-02-17 13:41:31 -08:00
Paul Weil
8d7d03a2f8
service NewList should return ServiceList
2015-02-17 16:30:29 -05:00
Dawn Chen
bafa240187
Add debugging information for #4472
2015-02-17 13:28:15 -08:00
Jerzy Szczepkowski
397c1fc69a
Update for external load balancer.
...
Implementation of updating external load balancer on service update. This partially fixes #4411 .
2015-02-17 21:49:36 +01:00
Alex Robinson
3043ae9144
Merge pull request #4492 from jlowdermilk/e2e
...
Cleanup resources after services/guestbook e2e tests.
2015-02-17 12:04:46 -08:00
Clayton Coleman
4859aa7cd8
Merge pull request #4453 from derekwaynecarr/make_quota_more_efficient
...
Make ListWatch work with a ListFunc and WatchFunc
2015-02-17 14:48:11 -05:00
saadali
2735e6a495
Switch events history to use LRU cache instead of map
2015-02-17 11:40:40 -08:00
Daniel Smith
309a81d8da
Merge pull request #4449 from smarterclayton/allow_setlist_on_lists
...
Allow runtime.SetList() on an api.List
2015-02-17 11:33:35 -08:00
Jeff Lowdermilk
b786c116b6
Make kubectl stop take -f flag (for filename|url|directory)
2015-02-17 11:27:47 -08:00
Yu-Ju Hong
9e72ec023b
Remove obsolete defaulting in service/rest.go
2015-02-17 10:34:50 -08:00
Nikhil Jindal
81d0a88f1e
Merge pull request #4459 from xiang90/kubulete
...
kubelet: minor cleaning up
2015-02-17 10:18:47 -08:00
Brian Grant
4cf2a8bff4
Merge pull request #3428 from sdminonne/typos
...
Fix typos
2015-02-17 10:09:31 -08:00
Brian Grant
e1b07efd36
Merge pull request #4450 from mikedanese/update-fix
...
fix error where we can't use kubectl update patch
2015-02-17 09:58:18 -08:00
Brian Grant
76edde3c23
Merge pull request #4451 from mikedanese/validate-probe
...
add validation for api.Probe
2015-02-17 09:56:52 -08:00
Alex Robinson
962b7b4295
Merge pull request #4448 from mikedanese/merge-patch
...
Fix --override and --patch flags in kubectl
2015-02-17 09:44:51 -08:00
Brian Grant
d37977feb2
Merge pull request #4465 from smarterclayton/allow_validation_error_filtering
...
Allow ValidationErrorList to be filtered
2015-02-17 09:44:11 -08:00
Brian Grant
2fe026e5a9
Merge pull request #4466 from mikedanese/probe-defaults
...
move api.Probe timeout default to central defaults
2015-02-17 09:43:30 -08:00
Brian Grant
3e012db59a
Merge pull request #4248 from smarterclayton/remove_rest_handler
...
Create a new unified storage object for Pods
2015-02-17 09:42:48 -08:00
Brian Grant
876d651737
Merge pull request #4395 from smarterclayton/split_naming
...
Fix cross-namespace LIST and WATCH
2015-02-17 09:40:09 -08:00
Clayton Coleman
0e07e61a53
Merge pull request #4381 from sdminonne/bug_fix
...
kubectl delete resource : remove all resources
2015-02-17 12:25:56 -05:00
Mike Danese
a4eca69e6c
added previously failing unit test and fix using pkg/util/merge.go instead of mergo to apply patch.
2015-02-17 07:43:21 -08:00
Thom May
8357e1521a
Basic Rackspace cloud support
...
This enables all but Load Balancer support for the Rackspace public
cloud platform.
2015-02-17 10:59:40 +00:00
Mike Danese
f7df9b9d37
add validation for api.Probe
2015-02-16 21:56:03 -08:00
Clayton Coleman
619f3a6804
Allow ValidationErrorList to be filtered
...
Expose basic filters on an error list to ignore certain error types.
This can be used by client code to ignore errors on common schema
types like "metadata.name" or the NotFound error type.
2015-02-16 17:45:54 -05:00
Clayton Coleman
6f84bdaba8
Merge pull request #4454 from xiang90/probe
...
pkg/kubelet: minor cleanup for probe.go
2015-02-16 16:53:58 -05:00
Clayton Coleman
7e07d711b8
Provide a helper on client/request.go for full URI
...
Allows self links to be directly passed
2015-02-16 16:31:32 -05:00
deads2k
3be343449f
expose creation APIRequestInfoResolver
2015-02-16 13:56:03 -05:00
Xiang Li
042dc1faa3
pkg/kubelet: uncaptialize error message
2015-02-16 09:33:20 -08:00
Xiang Li
2437e94248
pkg/kubelet: fix wrong code path in runContainer
2015-02-16 09:32:37 -08:00
Xiang Li
13bb378d1c
pkg/kubelet: reduce indentation
2015-02-16 08:46:41 -08:00
Xiang Li
edc926ffcb
pkg/kubelet: capitalize message in print
2015-02-16 08:40:07 -08:00
Xiang Li
da6d1da12d
pkg/kubelet: remove unused var in handlers.go
2015-02-16 08:38:10 -08:00
Clayton Coleman
72da3b4424
Move rest.Pods to pkg/registry/pod/rest.go
2015-02-16 10:09:28 -05:00
Clayton Coleman
7a93af57c0
Remove pods from pkg/registry/etcd/etcd.go since they are in their own type
...
Altered the master initialization code
2015-02-16 10:09:27 -05:00
Clayton Coleman
247e467217
Collapse pod REST+Registry to a single object using generic/etcd
2015-02-16 10:09:27 -05:00
Mike Danese
4ba8ecd1fb
move api.Probe timeout default to central defaults
2015-02-15 23:44:55 -08:00
Xiang Li
3c2ead5b29
pkg/kubelet: minor cleanup for probe.go
2015-02-15 22:25:14 -08:00
Mike Danese
3039f7846c
implement RFC7386 JSON Merge Patch
2015-02-15 22:21:10 -08:00
Clayton Coleman
3e2e4714a2
Always set ?namespace in query if specified
...
Revise our code to only call Request.Namespace() if a namespace
*should* be present. For root scoped resources, namespace should
be ignored. For namespaced resources, it is an error to have
Namespace=="".
2015-02-16 00:23:38 -05:00
Clayton Coleman
9175082a1c
Split naming behavior out into objects that are derived from the request
...
Fix bug with cross namespace queries not being possible. Ensure selflink
is set on lists correctly.
2015-02-16 00:23:38 -05:00
derekwaynecarr
c0ce15c588
Make list watch take a ListFunc and WatchFunc, provide default funcs from client
2015-02-15 22:26:05 -05:00
Mike Danese
9f9153256d
fix error where we can't use patch and add cmd-test for patch and file
...
update
2015-02-15 10:43:35 -08:00
Clayton Coleman
dc3b327951
Allow runtime.SetList() on an api.List
...
SetList doesn't allow api.List
2015-02-14 23:37:23 -05:00
Salvatore Dario Minonne
bc868b97b8
Fix typos in vagrant.go
2015-02-14 06:20:03 +01:00
Dawn Chen
1ce999318e
Better debugging log for investigating pod unknown status.
2015-02-13 15:27:14 -08:00
Dawn Chen
20dc1c2481
Merge pull request #4410 from brendandburns/fixer
...
Don't delete the pod infrastructure container on health check failures.
2015-02-13 15:18:27 -08:00
Dawn Chen
c8b6c62698
Merge pull request #4433 from vmarmol/purge
...
Use Docker name (not ID) to parse Kubernetes components.
2015-02-13 14:31:47 -08:00
Tim Hockin
063ff6677c
Merge pull request #4422 from derekwaynecarr/set_difference
...
Set should have a difference function
2015-02-13 14:16:28 -08:00
Victor Marmol
5d6ad845cc
Use Docker name (not ID) to parse Kubernetes components.
...
Since the parsing function doesn't return an error all the components
returned empty strings. This caused us to enforce the MaxContainerLimit
as a global limit instead of a per-container limit.
Fixes #4413 .
2015-02-13 13:08:15 -08:00
derekwaynecarr
e7a0340ad7
Set should have a difference function
2015-02-13 15:39:56 -05:00
Jeff Lowdermilk
b23230e616
Merge pull request #4296 from deads2k/deads-allow-dots
...
allow dots in config set
2015-02-13 12:27:36 -08:00
Clayton Coleman
c977a45864
Merge pull request #4419 from smarterclayton/expand_generic_resources
...
Expand the generic registry
2015-02-13 13:53:20 -05:00
Clayton Coleman
4b5642450e
Merge pull request #4352 from liggitt/user_context
...
Make requesting user available in context
2015-02-13 13:27:09 -05:00
Jeff Lowdermilk
fe045ba630
Merge pull request #4416 from deads2k/deads-fix-merge-order
...
properly handle mergo map versus value rules
2015-02-13 10:26:11 -08:00
deads2k
941461044b
guard against unexpected type during config manipulation
2015-02-13 13:15:47 -05:00
deads2k
2dcaab75f5
allow dots in config set
2015-02-13 13:11:42 -05:00
Clayton Coleman
8440310ea0
Adapt to changes to generic etcd/registry
2015-02-13 13:11:33 -05:00
Clayton Coleman
23d199ded9
Make generic etcd more powerful and return operations from etcd
...
When we complete an operation, etcd usually provides a response
object. Return that object up instead of querying etcd twice.
2015-02-13 13:11:33 -05:00
Salvatore Dario Minonne
fda17c1b7a
kubectl delete resource : remove all resources
2015-02-13 18:25:41 +01:00
Brendan Burns
4ad3ea438d
Revert "Revert "Add an event for health check failures.""
...
This reverts commit fc4e711a8c
.
2015-02-13 09:23:13 -08:00
Clayton Coleman
78385b1230
Set 201 when RESTCreater returns a simple api.Status object
2015-02-13 12:12:50 -05:00
Clayton Coleman
abe8adc2e2
Expose new REST strategy methods for Pods
2015-02-13 12:12:50 -05:00
Clayton Coleman
09f18031fe
Merge pull request #4285 from brendandburns/auth
...
Add a more detailed error message for potential auth fails in docker pull.
2015-02-13 12:08:48 -05:00
Saad Ali
fc4e711a8c
Revert "Add an event for health check failures."
2015-02-13 08:10:45 -08:00
Saad Ali
c112f8f1bb
Merge pull request #4408 from brendandburns/printing
...
Add an event for health check failures.
2015-02-13 07:59:26 -08:00
Saad Ali
6dca22c9f1
Merge pull request #4409 from brendandburns/docs
...
Add some docs to the template format.
2015-02-13 07:50:16 -08:00
deads2k
fef503932f
properly handle mergo map versus value rules
2015-02-13 08:29:00 -05:00
Brendan Burns
5e49a606e1
Address changes.
2015-02-12 21:39:42 -08:00
Brendan Burns
8b7dfc9359
Return logs for failed and succeeded pods too.
2015-02-12 21:36:25 -08:00
Brendan Burns
4dbf98e98f
Don't delete the pod infrastructure container on health check failures.
2015-02-12 21:28:32 -08:00
Brendan Burns
c03a435501
Add an event for health check failures.
2015-02-12 19:08:23 -08:00
Brendan Burns
f63cf05d21
Add some docs to the template format.
2015-02-12 18:29:11 -08:00
Jordan Liggitt
083ce268e0
Put user in context, map requests to context above resthandler layer
2015-02-12 20:58:04 -05:00
Jordan Liggitt
ec66e5147e
Add user helper methods to context
2015-02-12 20:44:20 -05:00
Brendan Burns
0532c46217
Add a more detailed error message for potential auth fails in docker pull.
2015-02-12 17:00:59 -08:00
Saad Ali
ae92274e8d
Merge pull request #4402 from MikeJeffrey/docs
...
Comments go above the sample line in kubectl docs.
2015-02-12 16:43:35 -08:00
Brendan Burns
e300d6c94b
Merge pull request #4399 from derekwaynecarr/update_cache_func
...
If an object has no namespace, do not add a leading slash
2015-02-12 16:17:41 -08:00
MikeJeffrey
ca1e9f8061
Comments go above the sample line in kubectl docs.
2015-02-12 15:49:25 -08:00
derekwaynecarr
192e186119
If an object has no namespace, do not add a leading slash
2015-02-12 17:14:16 -05:00
Clayton Coleman
0b3162b3f4
Merge pull request #4306 from saad-ali/eventCompression1
...
Compress recurring events in to a single event to optimize etcd storage
2015-02-12 16:59:19 -05:00
Eric Tune
dd8f335380
Merge pull request #4376 from dchen1107/podstatus
...
Fix podstatus issue caused by docker's resource temporarily unavailable issue
2015-02-12 13:16:09 -08:00
Saad Ali
cdb93a7c46
Merge pull request #4387 from smarterclayton/rename_try_again_later
...
Rename TryAgainLater status code to ServerTimeout
2015-02-12 12:23:57 -08:00
Clayton Coleman
c24f4a24b4
Rename TryAgainLater status code to ServerTimeout
2015-02-12 15:01:12 -05: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
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
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
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
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
Vishnu Kannan
922881fcd2
Improve error handling for '/containerLogs' API in kubelet.
2015-02-12 02:22:26 +00: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
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
roberthbailey
4c4b4261d4
Merge pull request #4354 from simon3z/master
...
ovirt: fix IPAddress lookup implementation
2015-02-11 15:32:03 -08:00
roberthbailey
b9d6b3b547
Merge pull request #4345 from vmarmol/noports
...
Don't include port in config when not specified.
2015-02-11 15:07:43 -08:00
Federico Simoncelli
45bc19beb5
ovirt: fix IPAddress lookup implementation
...
The ovirt instance is reported using its hostname. The IPAddress
implementation should lookup the ip (instead of parsing it as if
it was already an address).
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-11 17:47:26 -05:00
Clayton Coleman
8f6e3607a9
Add monitoring as a filter
2015-02-11 17:07:23 -05:00
Clayton Coleman
26f08b7807
RESTStorage should not need to know about async behavior
...
Also make sure all POST operations return 201 by default.
Removes the remainder of the asych logic in RESTStorage and
leaves it up to the API server to expose that behavior.
2015-02-11 16:26:08 -05:00
Clayton Coleman
79cb93002e
Remove asynchronous channel on RESTStorage interfaces
2015-02-11 16:26:07 -05:00
Clayton Coleman
d167c11b59
Remove layers of indirection between apiinstaller and resthandler
...
Make the RESTHandler feel more go-restful, set the stage for adding
new types of subresource collections.
2015-02-11 16:26:06 -05:00
Victor Marmol
6a80553d7b
Don't include port in config when not specified.
...
When no port is specified the flag default of "-1" is taken.
Fixes #4305
2015-02-11 13:20:51 -08:00
derekwaynecarr
7b34d6ef8e
The namespace context for a get of an individual namespace is the namespace
2015-02-11 16:06:51 -05:00
roberthbailey
15c57efde2
Merge pull request #4327 from a-robinson/timecache
...
Remove the unused TimeCache file and its tests.
2015-02-11 11:46:51 -08:00
Clayton Coleman
6f85b655cc
Bindings were not correctly removed across namespaces on pod update and delete
...
BoundPods must be checked for Name and Namespace equality, not just name
equality. In the future, we should also check for UID equality.
2015-02-11 14:35:28 -05:00
Brian Grant
20f7cbb87b
Merge pull request #4291 from jlowdermilk/delete-kubecfg
...
Remove kubecfg, cleanup a few stray references.
2015-02-11 11:18:59 -08:00