Rohit Jnagal
8798b0ae14
Merge pull request #5158 from thockin/use_fuzz_no_custom
...
Use new gofuzz features
2015-03-09 10:13:46 -07:00
Rohit Jnagal
77546692a7
Merge pull request #5187 from vmarmol/wait-docker
...
Kubelet: wait up to 5m for Docker to come up.
2015-03-09 10:09:09 -07:00
Victor Marmol
ca84aae454
Kubelet: wait up to 5m for Docker to come up.
...
The Kubelet assumes Docker is running during its execution and on
machine boot it is a race between Docker coming up and Kubelet calling
Docker. This PR waits for Docker to be up before the Kubelet begins
doing useful work. On timeout, Kubelet exits and expects to be
restarted.
2015-03-09 09:50:34 -07:00
Clayton Coleman
d016f478e0
Ignore changes to creation timestamp from clients on update
...
CreationTimestamp is not an authoritative field (like UID) so mismatches
can be safely ignored.
2015-03-09 12:04:35 -04:00
James DeFelice
bf02d17244
rebased to master
2015-03-09 14:08:11 +00:00
James DeFelice
4943fe937b
implemented nil err checks, cc @yujuhong @davidopp
2015-03-09 14:06:27 +00:00
James DeFelice
e5350d61a8
added comment suggested by @davidopp
2015-03-09 14:06:27 +00:00
James DeFelice
436790ccd1
add unit test for #4757
...
fixed compilation error
2015-03-09 14:06:27 +00:00
Tim Hockin
0b888e8673
Make testing service validation easier
...
Part of multi-port services.
If people like this, we could start to apply this pattern elsewhere.
TL;DR: don't redefine objects over and over changing one thing each
time. Instead provide a func that mutates a base object to test facets
of validation. Much easier to read and to update.
2015-03-08 21:41:37 -07:00
Clayton Coleman
0f87337667
Kubelet tests broken on Macs with uppercase names
...
Hostname behavior across operating systems is inconsistent (Macs can
have uppercase host names, so can some other systems). In general,
always strings.ToLower(os.Hostname()).
2015-03-08 23:44:32 -04:00
Brendan Burns
7c654a3d1b
Expand test coverage in master, kubectl/cmd/util, pkg/registry/resourcequota, and api/rest.
2015-03-07 15:24:39 -08:00
Brendan Burns
f505a33998
Differentiate between server error messages and client error messages in kubectl
2015-03-07 11:39:23 +01:00
Tim Hockin
fd1e49ce2f
Use new gofuzz features
2015-03-07 00:04:14 -08:00
Vish Kannan
53ec66caf4
Merge pull request #5152 from vmarmol/cadvisor-dep
...
Rename cAdvisor info API to cadvisorApi
2015-03-06 18:09:28 -08:00
Victor Marmol
1866adddd3
Merge pull request #5157 from yifan-gu/clean_prober
...
Adjust prober's logging verbose.
2015-03-06 18:04:12 -08:00
Yifan Gu
da5d7c7814
Adjust prober's logging.
2015-03-06 17:30:29 -08:00
Victor Marmol
798513844c
Merge pull request #5148 from yifan-gu/clean_prober
...
Refactor pkg/kubelet/kubelet.go: probeContainer().
2015-03-06 17:04:57 -08:00
Yifan Gu
276fb1731c
Refactor pkg/kubelet/kubelet.go: probeContainer().
...
Put the retry loop in probe.go into a function.
2015-03-06 16:57:20 -08:00
Yifan Gu
131e8a0e35
Refactor pkg/kubelet/kubelet.go: probeContainer().
...
Update the probe_test.go.
2015-03-06 16:38:09 -08:00
Yifan Gu
09af0cd3b5
Refactor pkg/kubelet/kubelet.go: probeContainer().
...
Split the function into probeContainerLiveness() and probeContainerReadiness().
2015-03-06 16:37:58 -08:00
Abhishek Gupta
baa61fa157
Adding test cases for namespace checks
2015-03-06 16:31:15 -08:00
Abhishek Gupta
5ce4558955
Using only pods within the namespace for spreading logic
2015-03-06 16:31:15 -08:00
Victor Marmol
43b469bd9f
Rename cAdvisor info API to cadvisorApi
2015-03-06 16:06:38 -08:00
Dawn Chen
9439c0f3bd
Merge pull request #5103 from yujuhong/naming
...
kubelet: revamp the pod/container naming scheme
2015-03-06 15:58:58 -08:00
Vish Kannan
9e5c79a587
Merge pull request #5151 from vmarmol/cadvisor-dep
...
Update cAdvisor godep
2015-03-06 15:56:48 -08:00
Vishnu Kannan
28aef4ba53
Add json description to v1beta3 API.
2015-03-06 23:53:35 +00:00
Victor Marmol
a35f4374c5
Update cAdvisor ContainerInfo references to v1 API.
...
The cAdvisor data structures were versioned recently. We use the v1
versions so this commit makes that explicit.
2015-03-06 15:42:06 -08:00
Daniel Smith
05ea93f985
Merge pull request #5147 from a-robinson/func
...
Re-add the defer statements around the monitor() calls in the apiserver.
2015-03-06 15:31:45 -08:00
Alex Robinson
60f0e9d673
Fix the broken calls to the monitor() by having it take arguments as pointers.
...
This is needed for the changes to various labels from later in the function
to be picked up.
2015-03-06 23:16:44 +00:00
Brian Grant
a858c7423e
Merge pull request #5070 from vishh/issue_3628
...
Adding description to some of the v1beta3 objects.
2015-03-06 14:49:11 -08:00
Brian Grant
f557837d43
Merge pull request #5066 from vmarmol/man
...
Adding links to relevant docs from API types.
2015-03-06 14:46:43 -08:00
Eric Tune
c12303eaa3
Merge pull request #4749 from derekwaynecarr/make_quota_more_efficient
...
Make admission control plug-ins work from indexes
2015-03-06 14:11:12 -08:00
Vishnu Kannan
bd83093b0b
Adding description to some of the v1beta3 objects.
2015-03-06 21:50:50 +00:00
Eric Tune
b259640a5f
Merge pull request #5072 from justinsb/fix_aws_test
...
Fix the logic around the AWS instance test
2015-03-06 13:49:41 -08:00
Yu-Ju Hong
fe70be9261
kubelet: revamp the pod/container naming scheme
...
There are two main goals for this change.
1. Fix the naming scheme in kubelet so that it accepts DNS subdomain
name/namespaces correctly (#4920 ). The design is discussed in #3453 .
2. Prepare for syncing the static pods back to the apiserver(#4090 ). This
includes
- Eliminate the source component in the internal full pod name (#4922 ). Pods
no longer need sources as they will all be sync'd via apiserver.
- Changing the naming scheme for the static (file-, http-, and etcd-based)
pods such that they are distinguishable when syncing back to the apiserver.
The changes includes:
* name = <pod.Name>-<hostname>
* namespace = <cluster_namespace> (i.e. "default" for now).
* container_name = k8s_<contianer_name>.<hash_of_container>_<pod_name>_<namespace>_<uid>_<random>
Note that this is not backward-compatible, meaning the kubelet won't recognize
existing running containers using the old naming scheme.
2015-03-06 13:14:45 -08:00
Yu-Ju Hong
32fd331e73
Revert "Split up kubelet "source seen" logic"
...
We want to sync pods from file/http/etcd sources to the apiserver, hence
differentiating sources is no longer desired.
This reverts commit 110ab6f1bd
.
2015-03-06 12:57:48 -08:00
Deyuan Deng
50de1a80c2
kubelet should take a client interface
2015-03-06 15:01:55 -05:00
Dawn Chen
2d0743b143
Merge pull request #5019 from yujuhong/reject_pods
...
kubelet: reject pods on host port conflict
2015-03-06 11:42:04 -08:00
Dawn Chen
3835e0e6e6
Merge pull request #4943 from vmarmol/image-manager
...
Implementing ImageManager to take over image lifecycle.
2015-03-06 11:09:38 -08:00
Victor Marmol
3ae717be97
Merge pull request #5094 from gmarek/client4
...
Refactor Kubelets syncPod function by wrapping some functionalities into separate functions
2015-03-06 10:58:05 -08:00
Victor Marmol
4f3f073f3c
Implementing ImageManager to take over image lifecycle.
...
All images are tracked, when they were created and when they were last
used. FreeSpace() evicts these images in least recently used order,
breaking ties with oldest first.
2015-03-06 10:48:28 -08:00
Yu-Ju Hong
3ccdb8db98
kubelet: reject pods on host port conflict
...
When a host port conflict is detected, kubelet should set the pod status to
fail. The failed status will then be polled by other components at a later time,
which allows replication controller to create a new pod if necessary.
To achieve this, this change stores the pod status information in a status map
upon the detecton of port conflict. GetPodStatus() consults this status map
before attempting to query docker. The entries in the status map will be removed
when the pod is no longer associated with the node.
2015-03-06 10:46:49 -08:00
Deyuan Deng
3c460831ca
Use FormatInt instead of string for external id.
2015-03-06 13:45:52 -05:00
Daniel Smith
244766ac89
Merge pull request #5002 from satnam6502/proxy-200
...
Do not fail status 200 responses to proxy calls
2015-03-06 10:20:07 -08:00
Daniel Smith
b0f49449e1
Merge pull request #4985 from thockin/gofuzz
...
Update gofuzz dep
2015-03-06 10:19:01 -08:00
gmarek
4a01a4dbf5
Refactor Kubelets syncPod function by wrapping some functionalities into functions
2015-03-06 18:32:11 +01:00
Tim Hockin
ca265c5705
Merge pull request #4898 from gmarek/client2
...
Loosen label and annotation validation and related tests
2015-03-06 09:14:24 -08:00
Tim Hockin
788d9994a1
Merge pull request #5132 from pmorie/mount-refactor
...
Fix mount refactor nits
2015-03-06 09:00:01 -08:00
Paul Morie
17b51a93a3
Fix mount refactor nits
2015-03-06 11:46:07 -05:00
Tim Hockin
f9e2df3a10
Define semantic equal for time
2015-03-06 08:21:39 -08:00
Tim Hockin
0b38282b9b
Fuzz util.Time with no nsec because JSON
2015-03-06 08:21:10 -08:00
Tim Hockin
b3304c49ad
Use deep spew in serialization test & go obj diff
2015-03-06 08:21:10 -08:00
Brendan Burns
5b6a78fc77
Place external load balancers in a namespace, and add a test to validate the behavior.
2015-03-06 17:16:27 +01:00
Brendan Burns
2700871b04
Merge pull request #5013 from smarterclayton/misc_fixup
...
Small cleanups to a number of client behaviors
2015-03-06 15:41:34 +01:00
Brendan Burns
de669b5435
Merge pull request #5058 from bprashanth/resourceVersion_doc
...
Clarify resourceVersion documentation
2015-03-06 15:41:12 +01:00
Brendan Burns
2263d86a7b
Merge pull request #5073 from yujuhong/immutable
...
v1beta1/v1beta2: fields that cannot be updated are marked immutable
2015-03-06 15:40:43 +01:00
derekwaynecarr
2ed8eed004
Make admission control plug-ins work from indexes
2015-03-06 09:36:57 -05:00
Brendan Burns
d4755704b1
Merge pull request #5104 from liggitt/secure_kubelet
...
Plumb tls and cert options into kubelet start
2015-03-06 15:32:23 +01:00
Brendan Burns
784dd82880
Merge pull request #5117 from lavalamp/fix4
...
Make unexported fields panic (informatively) instead of silently passing
2015-03-06 15:21:54 +01:00
gmarek
26b7fbeedf
apply comments
2015-03-06 13:21:40 +01:00
Satnam Singh
cb4c931b0b
Do not fail status 200 responses to proxy calls
2015-03-06 00:29:19 -08:00
gmarek
bb8a4f5ed3
apply comments
2015-03-06 08:23:22 +01:00
gmarek
726a5af075
Loosen label and annotation validation and related tests
2015-03-06 08:23:22 +01:00
Mike Danese
438052c453
fix variable shadowing bug in etcd_tools.go
2015-03-05 22:34:28 -08:00
Dawn Chen
54b2b47caa
Merge pull request #4756 from vishh/kubelet
...
Relax constraints on container status while fetching container logs
2015-03-05 21:49:48 -08:00
Daniel Smith
3ef3777192
Make unexported fields panic (informatively)
...
...Also fix some incorrect calls to semantic.DeepEqual, and a bug where
it returned true incorrectly.
2015-03-05 21:40:37 -08:00
Prashanth Balasubramanian
1ed3f7ffcd
Clarify documentation around resourceVersion
2015-03-05 20:57:22 -08:00
Yu-Ju Hong
823ea36cb1
v1beta1/v1beta2: fields that cannot be updated are marked "cannot be udpated"
2015-03-05 18:05:13 -08:00
Victor Marmol
79f2773745
Merge pull request #5120 from dchen1107/docker
...
monit health check kubelet and restart unhealthy one
2015-03-05 17:39:03 -08:00
Dawn Chen
7a47ea8913
Ask monit health check kubelet; if failed, restart.
2015-03-05 17:29:38 -08:00
Dawn Chen
43b4f41202
Allow /healthz check from localhost
2015-03-05 17:27:56 -08:00
Victor Marmol
b314dc6025
Merge pull request #5032 from yifan-gu/clean_syncPod
...
Refactor pkg/kubelet/kubelet.go: syncPod().
2015-03-05 17:24:20 -08:00
Yifan Gu
ed1823e276
Refactor pkg/kubelet/kubelet.go: syncPod().
...
Makes the syncPod() takes only the containers that belongs to the pod.
2015-03-05 16:40:50 -08:00
Justin Santa Barbara
bf031fb082
Don't allow duplicate values in NodeAddresses
2015-03-05 16:40:28 -08:00
Victor Marmol
33e6c3ebb3
DockerCache doesn't get containers at startup.
...
Fixes #5092 .
2015-03-05 16:25:13 -08:00
Vishnu Kannan
f6910803a9
Relax constraints on container status while fetching container logs
2015-03-06 00:19:52 +00:00
Satnam Singh
61e38920a5
Do not fail status 200 responses to proxy calls
2015-03-05 16:19:13 -08:00
Salvatore Dario Minonne
75f2efb500
moving ParseSelector to Parse for labels only.
2015-03-05 22:39:36 +01:00
Jordan Liggitt
02622b1401
Plumb tls and cert options into kubelet start
2015-03-05 16:30:52 -05:00
Brian Grant
4624d116f3
Merge pull request #5061 from thockin/docs1
...
Better docs for Services and public IPs.
2015-03-05 11:52:38 -08:00
Daniel Smith
6453bf3e61
Merge pull request #4974 from pmorie/record-sources
...
Allow multiple sources to be used with record package
2015-03-05 11:51:08 -08:00
Paul Morie
02b18edac6
Allow multiple sources to be used with record package
2015-03-05 13:54:29 -05:00
Paul Morie
8ef04a8425
Factor mount utility code out gce_pd volume plugin
2015-03-05 13:49:32 -05:00
Brian Grant
9fcb48cab6
Merge pull request #4434 from ddysher/node-hostip
...
Node addresses
2015-03-05 10:33:15 -08:00
Brian Grant
58a9045f75
Merge pull request #5081 from vmarmol/put
...
Specified that PUT is a replace and not an update.
2015-03-05 10:32:55 -08:00
Clayton Coleman
2c286fea4c
Merge pull request #4803 from derekwaynecarr/ignore_terminated_pods
...
Filter irrelevant pods from quota
2015-03-05 12:41:57 -05:00
Tim Hockin
a1dd6a92bb
Merge pull request #4801 from brendandburns/default_port
...
Clean up "default" service port handling.
2015-03-05 09:01:19 -08:00
derekwaynecarr
21031e37c7
Filter irrelevant pods from quota
2015-03-05 10:18:19 -05:00
Justin Santa Barbara
e25c9f8644
Fix the logic around the AWS instance test
...
We test that when we get instances with the same name that we get an error
2015-03-05 09:31:47 -05:00
Justin Santa Barbara
cc81742e40
Implement EC2 filter in tests
2015-03-05 09:06:29 -05:00
Tim Hockin
af37dc0e16
Better docs for Services and public IPs.
...
Fixes #2738
2015-03-04 22:13:57 -08:00
Daniel Smith
6bd842676d
Merge pull request #5076 from satnam6502/redirect
...
Fix implementation of REDIRECT
2015-03-04 17:53:41 -08:00
Daniel Smith
feb98caac2
Merge pull request #5075 from thockin/fix_inline
...
Fix VolumeSource inline in JSON
2015-03-04 17:24:06 -08:00
Victor Marmol
5d919d6935
Specified that PUT is a replace and not an update.
...
Fixes #3112 .
2015-03-04 17:02:42 -08:00
roberthbailey
dff0bd1cbf
Merge pull request #5056 from justinsb/ignore_regex_quotes
...
Strip single-quotes around regex for AWS
2015-03-04 16:42:23 -08:00
Satnam Singh
123ca7de53
Specify HTTP for REDIRECT
2015-03-04 16:37:15 -08:00
Tim Hockin
4cb46825f2
Fix VolumeSource inline in JSON
2015-03-04 15:53:32 -08:00
Victor Marmol
c422213f54
Adding links to relevant docs from API types.
...
Partially addresses #3606 .
2015-03-04 15:12:09 -08:00
Daniel Smith
4e7bccab02
Merge pull request #4991 from fabioy/etcdcheck-fix
...
Fix the etcd version check and have it return the version string.
2015-03-04 14:55:49 -08:00
Daniel Smith
4cd59e629a
Merge pull request #5010 from smarterclayton/update_resource_version
...
genericetcd.Etcd should test resourceVersion
2015-03-04 14:49:05 -08:00
Justin Santa Barbara
3012724d13
Strip single-quotes around regex for AWS
...
It looks like GCE ignores them; we can't
2015-03-04 17:34:51 -05:00
Deyuan Deng
9b0af8df63
Node addresses
2015-03-04 16:47:31 -05:00
Brian Grant
ce908368a8
Merge pull request #5053 from yujuhong/readonly
...
v1beta1/v1beta2: consistent description for all read-only fields
2015-03-04 13:22:13 -08:00
Yu-Ju Hong
ea1c5a7ec1
v1beta1/v1beta2: consistent description for all read-only fields
...
Some fields are populated by system on creation. Such fields should have
consistent description indicating that this is read-only.
2015-03-04 13:08:19 -08:00
Eric Tune
0059c39211
Merge pull request #5008 from ddysher/external-id
...
Move Node.ExternalID to CloudNodes()
2015-03-04 12:30:38 -08:00
Clayton Coleman
eea1e88cb0
Merge pull request #4921 from mikedanese/too-many-gets
...
Interactions with etcd should optionally take a value that is filled with the result
2015-03-04 14:18:12 -05:00
Deyuan Deng
b457379108
Merge pull request #5033 from mikedanese/lookup-mock
...
mock LookupIP to speedup nodecontroller_test on some runtimes
2015-03-04 13:59:01 -05:00
Mike Danese
4f6e09d854
add tests to pkg/tools/etcd_tools_test.go
2015-03-04 10:38:42 -08:00
Mike Danese
5cbf89c060
plumb through changes on ReplicationController and Service
2015-03-04 10:38:42 -08:00
Mike Danese
e1ca63f569
SetObj and CreateObj optionally accept an object to fill with the result of the get
2015-03-04 10:38:42 -08:00
Mike Danese
a663d3b1f3
mock LookupIP to speedup nodecontroller_test on some runtimes
2015-03-04 10:27:45 -08:00
Tim Hockin
fdea7252a4
Merge pull request #5001 from brendandburns/api3
...
Embed VolumeSource in v1beta3 and internal.
2015-03-04 09:50:14 -08:00
Eric Tune
662189ebc2
Merge pull request #4967 from jlowdermilk/kubeconfig
...
Simplify generating kubeconfig with embeded cert data
2015-03-04 08:38:43 -08:00
Eric Tune
fd8361edf2
Merge pull request #5021 from justinsb/log_kubelet_internalerror
...
Log HTTP InternalServerErrors in the kubelet
2015-03-04 08:22:15 -08:00
Eric Tune
2ec257eb49
Merge pull request #5023 from justinsb/fix_typo_in_test
...
Fix typo in test
2015-03-04 08:12:08 -08:00
Clayton Coleman
17f7dd8d6d
Only insert outputversion as a preferred mapping type if no error occurs
...
Some types will be looked up based on their internal type, which is passed
directly to RESTMapping(). RESTMapping() will search the entire version
list if no external types are passed, but OutputVersionMapper was bypassing
that because the default type was always present.
Change OutputVersionMapper to collapse empty versions, and when no external
type is specified, try with the preferred version and then try without.
2015-03-04 10:48:05 -05:00
Clayton Coleman
a97635e643
Use IsListType instead of checking ItemPtr in resourcebuilder
2015-03-04 10:48:05 -05:00
Clayton Coleman
b799e8cd3a
Enumerate all versions when looking for an output conversion
...
Ensures that all objects can be printed, even if they don't
match output-version (because they are only implemented in
a newer API version).
2015-03-04 10:48:05 -05:00
Clayton Coleman
a52b0f2619
Switch List/Watch to ListPredicate/WatchPredicate
2015-03-04 10:48:05 -05:00
Justin Santa Barbara
7725cd23ec
Fix typo in test
2015-03-04 10:10:08 -05:00
Derek Carr
cb1e044a60
Merge pull request #4923 from lavalamp/fix4
...
Allow reflector to do full resync periodically
2015-03-04 09:58:03 -05:00
Justin Santa Barbara
b681a45fb6
Log HTTP InternalServerErrors in the kubelet
...
Otherwise we just get a stack trace and no message
2015-03-04 09:48:44 -05:00
Brendan Burns
fb90b56bf6
Embed VolumeSource in v1beta3 and internal.
2015-03-04 02:25:40 -08:00
Brendan Burns
f8dd4fcac5
Change the service port defaulting to be more sane.
2015-03-04 02:00:24 -08:00
Clayton Coleman
576bbb565e
Stop logging stack traces for 4xx requests
2015-03-03 21:14:57 -05:00
Clayton Coleman
3beea3b660
Skip types that are not registered on an API version
2015-03-03 21:14:57 -05:00
Clayton Coleman
bf4ab78ce9
Stop round trip testing in latest
2015-03-03 21:14:56 -05:00
Fabio Yeon
c38c6f0dad
Fix the etcd version check and have it return the version string.
2015-03-03 16:59:00 -08:00
Clayton Coleman
3d52aac13c
genericetcd.Etcd should test resourceVersion
...
Also fix that Update was returning AlreadyExists instead of
NotFound (when create is disabled) and that Update when CreateOnUpdate
was true was not populating the returned object.
Added more tests
2015-03-03 19:54:43 -05:00
Deyuan Deng
53e17f0fa5
Move Node.ExternalID to CloudNodes()
2015-03-03 19:37:46 -05:00
derekwaynecarr
8150649cf3
nodecontroller sync cloud was not setting external id in all code paths
2015-03-03 16:39:06 -05:00
Jeff Lowdermilk
6e704d174d
Simplify generating kubeconfig with embeded cert data
2015-03-03 12:18:07 -08:00
Satnam Singh
709476cb5b
Merge pull request #4657 from piosz/kubectl
...
Added new command clusterinfo to kubectl
2015-03-03 11:34:17 -08:00
Piotr Szczesniak
e92192d379
Added new command clusterinfo to kubectl
...
This is first version of the command. It prints IPs of master and cluster
services. Should be improved once generalized labels are implemented #341 .
It requires label kubernet.io/cluster-service=true set for cluster services.
Follow up cl after discussion in #4417 .
2015-03-03 20:14:24 +01:00
Brian Grant
841b6f6970
Merge pull request #4936 from thockin/plural_24_default_dest_port
...
Change the v1b3 default for service ContainerPort
2015-03-03 11:01:01 -08:00
Brian Grant
fca9fd68c7
Merge pull request #4779 from smarterclayton/status_endpoints
...
Minimal status mutation change
2015-03-03 11:00:02 -08:00
Tim Hockin
5aadd6ecae
Change the v1b3 default for service ContainerPort
...
In v1b1 and v1b2 we choose the "first defined port" if you do not specify a
ContainerPort. I am proposing that v1b3 just assume the ContainerPort is the
same as the service port unless explicitly provided. This leaves named ports
for now, but that is under discussion on its own.
This is strictly compatible, though to implement this we have to leave the
internal objects with the looser behavior until v1b[12] die. This also adds a
link dependency so that when we DO kill v1b[12] the endpoints controller will
blow up, prompting a fix.
2015-03-03 09:40:18 -08:00
Daniel Smith
fbf45e8a39
Merge pull request #4946 from bprashanth/kubectl_retry
...
Retry resizing replication controllers in kubectl
2015-03-03 08:54:11 -08:00
Prashanth Balasubramanian
1970c2d201
Retry resizing replication controllers in kubectl
2015-03-02 20:26:41 -08:00
Brendan Burns
2bbc59e81e
Kubernetes version v0.12.0-dev
2015-03-02 20:04:35 -08:00
Brendan Burns
ecca42643b
Kubernetes version v0.12.0
2015-03-02 20:04:24 -08:00
Victor Marmol
71e545bf81
Merge pull request #4970 from dchen1107/podstatus
...
Hide POD container from end users
2015-03-02 17:15:24 -08:00
Dawn Chen
dad365fb2b
Hide POD container from end users
2015-03-02 17:03:28 -08:00
Daniel Smith
1fdf749211
fix e2e failure
2015-03-02 15:03:56 -08:00
Daniel Smith
c4822dc060
Revert "Revert "Adding converter functions to convert field label selectors to internal version before matching""
...
This reverts commit 5f35a67002
.
2015-03-02 15:00:09 -08:00
David Oppenheimer
32523f8a52
Merge pull request #4674 from abhgupta/abhgupta-dev
...
Configuring scheduler via json configuration file
2015-03-02 14:43:25 -08:00
Brian Grant
97d7e7e2c2
Merge pull request #4819 from mikedanese/validate-api-version
...
Validate api version in kubectl --patch and --override
2015-03-02 14:04:18 -08:00
Zach Loafman
00ca7352ee
Merge pull request #4955 from smarterclayton/fix_tcpsocket_validation
...
TCPSocket could not be used as it was not checked in validation
2015-03-02 13:45:25 -08:00
Dawn Chen
93c0052263
Merge pull request #4952 from rjnagal/kubectl
...
Add capacity information to 'kubectl describe minion'
2015-03-02 13:09:52 -08:00
Mike Danese
25fac68ec4
validate api version in kubectl --patch and --override.
2015-03-02 13:00:45 -08:00
Clayton Coleman
0ac49d77a0
TCPSocket could not be used as it was not checked in validation
...
Attempting to use it gave the error "must register one handler".
Added more tests for it.
2015-03-02 15:27:11 -05:00
Rohit Jnagal
c63f4635a4
Add capacity information to 'kubectl describe minion'
2015-03-02 19:51:30 +00:00
Zach Loafman
4937008ae0
Revert "TCPSocket could not be used as it was not checked in validation"
2015-03-02 11:14:27 -08:00
Brendan Burns
c7cbc5c991
Merge pull request #4883 from smarterclayton/fix_tcpsocket_validation
...
TCPSocket could not be used as it was not checked in validation
2015-03-02 10:53:48 -08:00
Brendan Burns
fe973461f5
Merge pull request #4916 from thockin/plural_21_endpoints
...
Rename type Port to ContainerPort
2015-03-02 10:53:32 -08:00
Brendan Burns
3168f165ab
Merge pull request #4927 from thockin/plural_22_endpoints
...
Add defaults for HTTGetAction.Path & test actions
2015-03-02 10:52:55 -08:00
Brendan Burns
843fa71f2b
Merge pull request #4938 from tkulczynski/opfix
...
Fix waiting for GCE Operations
2015-03-02 10:47:46 -08:00
Abhishek Gupta
a04e600f16
Added test cases
2015-03-02 10:00:20 -08:00
Vish Kannan
445fd56739
Merge pull request #4810 from fgrzadkowski/disable_pod_status_probes
...
Add flag to control probing pods statuses from kubelets.
2015-03-02 09:52:05 -08:00
Filip Grzadkowski
86b1c90097
Add flag to control probing pods statuses from kubelets.
2015-03-02 16:06:14 +01:00
Tomek Kulczynski
c4e786c701
Fix waiting for GCE Operations
2015-03-02 13:34:37 +01:00
Tim Hockin
532c39c336
Add defaults for HTTGetAction.Path & test actions
...
The comment says optional - this makes it optional. Test handler actions.
2015-03-01 21:23:18 -08:00
Clayton Coleman
3d290089ae
Minimal status mutation change
...
PUT /api/v1beta3/namespaces/default/pods/foo/status
{
"metadata": {...}, // allowed for valid values
"spec": {}, // ignored
"status": {...}, // allowed, except for Host
}
Exposes the simplest possibly change. Needs a slight refactoring
to RESTUpdateStrategy to split merging which can be done in a
follow up.
2015-03-01 22:35:17 -05:00
Clayton Coleman
d3a5a48d00
TCPSocket could not be used as it was not checked in validation
...
Attempting to use it gave the error "must register one handler".
Added more tests for it.
2015-03-01 22:31:57 -05:00
Alex Robinson
0d5fe5d078
Use a prometheus Histogram rather than a Summary for tracking apiserver latency.
2015-03-02 02:15:16 +00:00
Zach Loafman
5f35a67002
Revert "Adding converter functions to convert field label selectors to internal version before matching"
2015-02-28 11:42:49 -08:00
Tim Hockin
ea548b8260
Rename type Port to ContainerPort
...
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-27 21:05:59 -08:00
Daniel Smith
554b1c847c
add occasional polling to reflector
2015-02-27 16:59:14 -08:00
Dawn Chen
0fec31a11e
Merge pull request #4918 from vmarmol/handle-crash
...
Handle crash in per-pod thread and container killer.
2015-02-27 16:54:37 -08:00
Daniel Smith
156c505946
clean up poller test to not make infinite log messages
2015-02-27 16:51:03 -08:00
Victor Marmol
c7e7ecdf2c
Handle crash in per-pod thread and container killer.
2015-02-27 16:33:46 -08:00
Daniel Smith
d68c738fcf
Merge pull request #4575 from nikhiljindal/versionedFieldSelector
...
Adding converter functions to convert field label selectors to internal version before matching
2015-02-27 16:33:15 -08:00
nikhiljindal
48e7945f65
Versioning the field selectors
2015-02-27 16:10:59 -08:00
Victor Marmol
cc3c4414f8
Merge pull request #4915 from yujuhong/hostport
...
kubelet: record an event with a clear reason on host port conflict
2015-02-27 16:04:04 -08:00
Yu-Ju Hong
241df2d3be
kubelet: record an event with a clear reason on host port conflict
...
Currently, kubelet silently ignores pods that caused host port conflict. This
commit surfaces the error by recording an event.
It also makes sure that kubelet iterates through the pods in the order of the
creation timestamp, which ensures that pods created later are ignored on
conflict.
2015-02-27 15:51:53 -08:00
Victor Marmol
556acc792b
Adding ContainersPerPodCount metric.
...
This will let us know the composition of pods in clusters.
2015-02-27 11:27:09 -08:00
Victor Marmol
a9301b1996
Adding metric for latency of SyncPods (synching all pods).
2015-02-27 11:11:43 -08:00
Rohit Jnagal
1444e59fc9
Merge pull request #4904 from vmarmol/mon-docker
...
Adding metrics to measure latency of Docker operations.
2015-02-27 11:08:38 -08:00
Deyuan Deng
164ccd7af4
Merge pull request #4808 from jszczepkowski/node-probes-disabled
...
Node controller supports disabling node probes.
2015-02-27 13:30:49 -05:00
Victor Marmol
cbf93822ac
Adding metrics to measure latency of Docker operations.
...
Part of #4604 .
2015-02-27 10:26:06 -08:00
Brian Grant
900d58ec94
Merge pull request #4899 from lhuard1A/fix_panic_kube_apiserver
...
Fix nil pointer dereference in kube-apiserver when etcd is not there
2015-02-27 10:10:50 -08:00
Rohit Jnagal
c6175facfb
Merge pull request #4901 from vmarmol/mon-startup
...
Adding sync pod latency metric (again).
2015-02-27 10:08:25 -08:00
Jeff Lowdermilk
537d8cf26f
Merge pull request #4886 from brendandburns/kubecfg
...
Add a "Created" column to the pod view.
2015-02-27 10:05:23 -08:00
Tim Hockin
770966c66c
Merge pull request #4900 from lhuard1A/fix_kubernetes_services
...
Fix `kubernetes` and `kubernetes-ro` services creation
2015-02-27 09:38:02 -08:00
Victor Marmol
ed0f5885b5
Adding sync pod latency metric (again).
...
Latency is broken down by create, update, and sync pods.
Part of #4604 .
2015-02-27 09:35:20 -08:00
Lénaïc Huard
cd719d97df
Fix `kubernetes` and `kubernetes-ro` services creation
...
If `kube-apiserver` is started before `etcd` is reachable, `kube-apiserver`
fails to create those services.
However, in the `Create` function, an IP has already been reserved for them.
When `etcd` comes back, the `Create` function fails because it considers that
the IP is already used.
If the service couldn't be created, the reserved IP should be released.
2015-02-27 18:01:03 +01:00
Lénaïc Huard
060ebfcea0
Fix nil pointer dereference in kube-apiserver when etcd is not there
2015-02-27 17:33:02 +01:00
Wojciech Tyczynski
a973f57d6b
Thread per pod
2015-02-27 13:27:29 +01:00
Jerzy Szczepkowski
e0548c3c03
Node controller supports disabling node probes.
...
Node controller supports disabling sending node probes and updating node statuses. Controlled by --sync_node_status flag. Resolves #4565 .
2015-02-27 08:21:04 +01:00
Brendan Burns
ceac670eae
Add a human readable created since column to kubectl.
2015-02-26 22:16:23 -08:00
Brian Grant
6b19c13004
Merge pull request #4802 from brendandburns/log
...
Add specific errors for missing kind and version.
2015-02-26 15:33:18 -08:00
Brendan Burns
0d23875c99
Merge pull request #4497 from swagiaal/health-check-hostname-mismatch
...
WIP: Catch kubelet-master hostname mismatch during health check
2015-02-26 14:48:21 -08:00
Brendan Burns
a862c37b29
Merge pull request #4383 from simon3z/instances-id
...
cloudprovider: add instance id to NodeSpec
2015-02-26 14:13:49 -08:00
Eric Tune
e77745672c
Merge pull request #4577 from satnam6502/cluster-name
...
Qualify the name of forwarding rules with INSTANCE_PREFIX
2015-02-26 13:17:49 -08:00
Brendan Burns
7665b2668f
Merge pull request #4770 from gmarek/client4
...
Add waiting for GCE operations to finish before proceeding in various functions.
2015-02-26 13:05:11 -08:00
Federico Simoncelli
b942b1cb71
vagrant: report the nodes external id
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:13 +00:00
Federico Simoncelli
bfb93a1928
openstack: report the nodes external id
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:13 +00:00
Federico Simoncelli
ad6091be99
gce: report the nodes external id
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:13 +00:00
Federico Simoncelli
6b16f80dc1
aws: report the nodes external id
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Federico Simoncelli
1fc56aa023
ovirt: report the nodes external id
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Federico Simoncelli
a450da4fd0
cloudprovider: add instance id to NodeSpec
...
Sometimes for external applications it is important to identify the
cloud instance of the nodes. Until this patch there was no contract
that the node name returned by List was also the unique identifier of
the cloud instance. This new API ensures that an external application
can reliably retrieve the relevant instance id of the nodes.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Federico Simoncelli
8844c06574
ovirt: fetch instance ip address from rest-api
...
This patch adds the support for returning the ip address of the instances
when reported by the guest-agent and from the rest-api.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Jeff Grafton
c2e7e2d029
Revert "Adding sync pod latency metric." and "Thread-per-pod model in Kubelet."
...
This reverts commits 744f33d886
and
7191c5c7fd
.
2015-02-26 12:15:28 -08:00
Rohit Jnagal
e455ee5d2e
Merge pull request #4765 from brendandburns/scheduler
...
Log a better error with useful info on scheduling failures.
2015-02-26 12:01:04 -08:00
Rohit Jnagal
da0885c896
Merge pull request #4818 from vmarmol/mon-startup
...
Adding sync pod latency metric.
2015-02-26 11:31:33 -08:00
Brendan Burns
877f605dc0
Add specific errors for missing kind and version.
2015-02-26 11:19:04 -08:00
Victor Marmol
744f33d886
Adding sync pod latency metric.
...
Latency is broken down by create, update, and sync pods.
Part of #4604 .
2015-02-26 11:13:04 -08:00
Alex Robinson
39c343d57e
Merge pull request #4856 from nikhiljindal/expvar
...
Stop importing expvar
2015-02-26 11:02:41 -08:00
nikhiljindal
b771a56435
Stop importing expvar
2015-02-26 10:47:58 -08:00
Wojciech Tyczynski
7191c5c7fd
Thread-per-pod model in Kubelet.
2015-02-26 17:58:57 +01:00
Sami Wagiaalla
9150cb9d95
Catch kubelet-master hostname mismatch during health check
...
During the kubelet's /healthz responce check to see if the
hostname used by the master matches the hostname the kubelet
knows itself by. If not fail the health check.
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-02-26 10:22:03 -05:00
Vish Kannan
e3af23e6e9
Merge pull request #4792 from vmarmol/mon-containers-per-pod
...
Add Kubelet metrics for pod and container counts.
2015-02-25 18:51:22 -08:00
Deyuan Deng
d47fd48e55
Fix delete pod namespace; include error message when failed deleting pods
2015-02-25 20:03:22 -05:00
Victor Marmol
95464349d5
Add Kubelet metrics for pod and container counts.
...
Part of #4604 .
2015-02-25 12:18:59 -08:00
Daniel Smith
ec8ecf3993
Merge pull request #4494 from brendandburns/race
...
Add protection for the pods member varaible.
2015-02-25 10:41:32 -08:00
Vish Kannan
aaa4a354d4
Merge pull request #4735 from screeley44/v1beta3_enablement
...
#4544 - Fix inadvertent whitespace in v1beta3 enablement
2015-02-25 10:06:11 -08:00
Brian Grant
3f69112e02
Merge pull request #4766 from mikedanese/remove-util-merge
...
Remove pkg/util/merge and replace with evanphx/json-patch
2015-02-25 09:22:01 -08:00
Salvatore Dario Minonne
0186acc37c
Extending label.Parse method to support exact match
2015-02-25 08:52:20 +01:00
gmarek
0be5aa52e6
Apply comments
2015-02-25 08:06:45 +01:00
Brendan Burns
801ad909ca
Add protection for the pods member varaible.
...
Address comments.
2015-02-24 19:36:11 -08:00
Justin Santa Barbara
e457286983
Fix typo: registrying -> registering
2015-02-24 16:21:14 -08:00
Vish Kannan
32694a770c
Merge pull request #4778 from lavalamp/fix7
...
Construct path correctly in proxy
2015-02-24 16:14:05 -08:00
Vish Kannan
0b15f2ff65
Merge pull request #4784 from vmarmol/pod-restart
...
Kill infra pod when a container is restarted.
2015-02-24 13:37:08 -08:00
Deyuan Deng
f2698e5905
Merge pull request #4267 from rsokolowski/guestbook-doc
...
Update guestbook example to use replication controller instead of a naked pod.
2015-02-24 15:57:27 -05:00
Vish Kannan
c561c8b0b1
Merge pull request #4753 from vmarmol/mon
...
First Kubelet metric and overall plumbing.
2015-02-24 12:51:34 -08:00
Jeff Lowdermilk
be124b3cd0
Merge pull request #4786 from GoogleCloudPlatform/revert-4660-deads-make-default-display-yaml
...
Revert "fix kubectl config view to respect serialization formats"
2015-02-24 12:18:31 -08:00
Vish Kannan
68c4ae7f0c
Merge pull request #4776 from brendandburns/log
...
Prompt the user to select a container if they don't provide one
2015-02-24 12:10:18 -08:00
Jeff Lowdermilk
8cfe099af1
Revert "fix kubectl config view to respect serialization formats"
2015-02-24 12:06:24 -08:00
Victor Marmol
aadbf221d2
Kill infra pod when a container is restarted.
...
Revert 0e20f7d736
.
Fixes #4759 .
2015-02-24 11:52:05 -08:00
Scott Creeley
40c03b057a
Fix whitespace in v1beta3 enablement
2015-02-24 14:49:54 -05:00
rsokolowski
635281ebe3
Update guestbook example to use replication controller.
2015-02-24 20:21:13 +01:00
Rohit Jnagal
e77322a561
Merge pull request #4755 from yifan-gu/cleanup
...
pkg/kubelet: Fix logging.
2015-02-24 10:12:02 -08:00
Rohit Jnagal
a0722376ee
Merge pull request #4760 from ddysher/kubectl-endpoint-list
...
kubectl print endpoint list
2015-02-24 10:11:23 -08:00
Rohit Jnagal
590a62ffe5
Merge pull request #4767 from mikedanese/kind-to-type
...
Rename {Node,Pod}ConditionKind -> {Node,Pod}ConditionType
2015-02-24 10:10:57 -08:00
Daniel Smith
ec58e6d78e
use correct path for proxy replacements
2015-02-24 10:10:06 -08:00
Daniel Smith
78d05e5307
add URL path generation function
2015-02-24 10:10:04 -08:00
Daniel Smith
2d56547524
refactor proxy upgrade path
2015-02-24 10:10:02 -08:00
Yifan Gu
1a5a842ac5
pkg/kubelet: Fix logging.
2015-02-24 09:47:10 -08:00
Daniel Smith
6241a211c8
Merge pull request #4768 from nikhiljindal/fixPrefix
...
APIServer: Updating special verb handlers to accept full request path rather than a trimmed one
2015-02-24 08:04:30 -08:00
Clayton Coleman
76926ec314
Merge pull request #4660 from deads2k/deads-make-default-display-yaml
...
fix kubectl config view to respect serialization formats
2015-02-24 07:56:57 -08:00
Brendan Burns
eefaafc214
Prompt the user to select a container if they don't provide one
...
and we can't infer it.
2015-02-24 06:50:22 -08:00
deads2k
6358bf2e30
add example for default view serialization
2015-02-24 08:54:03 -05:00
gmarek
9996654c4c
Add waiting for GCE operations to finish before proceeding in various
...
functions.
2015-02-24 14:32:21 +01:00
nikhiljindal
905a3f7909
Updating the handlers to accept full request path rather than a trimmed one
2015-02-24 00:37:20 -08:00
Wojciech Tyczynski
dcef5e2955
Introduce DockerCache in Kubelet.
2015-02-24 09:10:07 +01:00
Mike Danese
5267127af1
api: rename conditionkind -> conditiontype
2015-02-23 22:13:21 -08:00
Mike Danese
88e1ab3cbe
replace pkg/util/merge with evanphx/json-patch
2015-02-23 20:55:30 -08:00
Brendan Burns
33f6576f61
Log a better error with useful info on scheduling failures.
2015-02-23 20:36:22 -08:00
Deyuan Deng
515314fb8a
Fix kubectl print endpoint list
2015-02-23 21:20:10 -05:00
Satnam Singh
19b927ea57
Name a cluster and use it to make forwarding rules for GCE
2015-02-23 17:04:33 -08:00
Victor Marmol
c40a60e945
Adding image pull latency metric.
...
Also adding TODOs for other metrics.
Part of #4604 .
2015-02-23 16:30:29 -08:00
Rohit Jnagal
50700419ea
Merge pull request #4732 from yifan-gu/cleanup
...
Remove outdated const.
2015-02-23 16:06:32 -08:00
Victor Marmol
f5beb04c53
Adding Prometheus /metrics handler.
2015-02-23 15:42:04 -08:00
Victor Marmol
d880be0301
Merge pull request #4738 from vmarmol/fix-pull
...
Remove pullLock from Kubelet.
2015-02-23 14:34:10 -08:00
Rohit Jnagal
b261d8c60a
Merge pull request #4724 from mikedanese/readiness-states-cleanup
...
Don't lock readinessStates on concurrent reads
2015-02-23 14:29:11 -08:00
Rohit Jnagal
cbcd35539f
Merge pull request #4718 from cjcullen/pdtest
...
Fix PD detach (fix the mount path/device name calculation).
2015-02-23 14:28:02 -08:00
Daniel Smith
3dc8b7ac69
Merge pull request #4707 from thockin/balancer
...
Refactor RR load balancer, fix bug
2015-02-23 13:56:40 -08:00
Daniel Smith
650f6cb826
Revert "Multi-port Endpoints"
2015-02-23 13:53:21 -08:00
Tim Hockin
eed36455a7
Merge pull request #4653 from thockin/secret_fixups
...
Secrets fixups
2015-02-23 13:49:19 -08:00
Daniel Smith
502f040129
Merge pull request #4712 from thockin/plural_30_endpoints
...
Multi-port Endpoints
2015-02-23 13:48:37 -08:00
Daniel Smith
dec46ad9cb
Merge pull request #4702 from smarterclayton/always_return_endpoints
...
Endpoints should not be omitempty for ease of client use
2015-02-23 13:47:46 -08:00
Victor Marmol
a6d975c929
Remove pullLock from Kubelet.
...
The lock was only ever used to grab a read lock before container pulls.
2015-02-23 13:27:55 -08:00
Tim Hockin
5dc98968c3
Refactor load balancer.
...
Flatten 3 parallel maps into a map to structs (balancerState).
2015-02-23 12:59:59 -08:00
Tim Hockin
8503c34694
Fix unprotected shared state in load balancer
2015-02-23 12:59:35 -08:00
Tim Hockin
e88134f736
Some renames in round-robin balancer
...
Making a clear path for more service port changes,making this code more
comprehensible.
2015-02-23 12:56:44 -08:00
Tim Hockin
37b8c14a4f
use a strong type for loadbalancer keys
2015-02-23 12:56:44 -08:00
Tim Hockin
3e7248f0f4
comments on base64-ness of secrets
2015-02-23 12:40:06 -08:00
Tim Hockin
607b736a3f
Rename volume source types to be consistent.
2015-02-23 12:39:57 -08:00
Tim Hockin
8bdfc352ce
minor fixups as I review secrets
2015-02-23 12:39:47 -08:00
CJ Cullen
54e8240916
Fix PD detach (fix the mount path/device name calculation).
...
Fix readonly PD attach (don't try to format).
Add an e2e test to verify that PDs are attached and detached correctly.
Add an e2e test to verify that readonly PDs can be attached to >1 pods.
2015-02-23 12:19:22 -08:00
Yifan Gu
a631252abf
Remove outdated const.
2015-02-23 11:00:38 -08:00
Mike Danese
d6fb8ce05a
Don't lock readinessStates on concurrent reads.
2015-02-23 10:49:39 -08:00
Tomek Kulczynski
09c955f94e
Add node's IP range cidr to NodeSpec
2015-02-23 19:47:50 +01:00
Rohit Jnagal
28dd73dd8c
Merge pull request #4667 from endocode/kbeecher/multi-resource
...
Adds support for multiple resources to kubectl
2015-02-23 10:29:32 -08:00
Clayton Coleman
7a3405fded
Endpoints should not be omitempty for ease of client use
2015-02-23 13:18:31 -05:00
Rohit Jnagal
33855c2286
Merge pull request #4696 from kazegusuri/rollingupdate-namespace-aware
...
use default namespace to do rollingupdate
2015-02-23 10:15:03 -08:00
Rohit Jnagal
efc4db280d
Merge pull request #4703 from smarterclayton/describe_portal_on_service
...
Add PortalIP to Service describe
2015-02-23 10:07:51 -08:00
Eric Tune
c70c410f25
Merge pull request #4687 from ncdc/master
...
Move golang code to third_party
2015-02-23 08:25:23 -08:00
Victor Marmol
3bfc07fcd3
Merge pull request #4697 from ddysher/node-describe-pod
...
Add pod name to node describe
2015-02-23 08:21:56 -08:00
Victor Marmol
bc564576cf
Merge pull request #4704 from smarterclayton/add_svc_shorthand
...
'svc' is a much clearer shorthand for "Service" than "se"
2015-02-23 08:21:40 -08:00
Tim Hockin
160f288832
Implement multi-port Endpoints
...
This is a part of multi-port services.
2015-02-22 09:35:12 -08:00
Tim Hockin
e0fd83096c
Rename type Port to ContainerPort
...
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-21 22:26:38 -08:00
Tim Hockin
362106d8eb
Refactor load balancer.
...
Flatten 3 parallel maps into a map to structs (balancerState).
2015-02-21 22:19:50 -08:00
Clayton Coleman
36f19f77ec
Add PortalIP to Service describe
2015-02-22 01:07:33 -05:00
Tim Hockin
743888739d
Fix unprotected shared state in load balancer
2015-02-21 22:06:11 -08:00
Tim Hockin
a2e2ae1526
Some renames in round-robin balancer
...
Making a clear path for more service port changes,making this code more
comprehensible.
2015-02-21 22:06:09 -08:00
Tim Hockin
71f2eda3c4
use a strong type for loadbalancer keys
2015-02-21 15:30:36 -08:00
Clayton Coleman
a8ba77f23b
Remove unused flag helpers
2015-02-21 18:25:55 -05:00
Clayton Coleman
35cc1b0c15
Mark old kubectl/resource.go methods as deprecated
...
Every command should use resource.Builder instead to have consistent
behavior.
2015-02-21 18:22:07 -05:00
Clayton Coleman
09dcec57fb
'svc' is a much clearer shorthand for "Service" than "se"
2015-02-21 18:17:52 -05:00
Deyuan Deng
aec068f7ef
Add pod name to node describe
2015-02-21 12:07:09 -05:00
Masahiro Sano
5c1c84f6c0
use default namespace to do rollingupdate
2015-02-21 20:22:26 +09:00
Andy Goldstein
44d41a0f1b
Move golang code to third_party
2015-02-20 20:00:31 -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
deads2k
2b25c48b1f
fix kubectl config view to respect serialization formats
2015-02-20 14:28:23 -05: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
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