Marek Biskup
dcc4034d57
e2e test for addon update
2015-06-15 17:37:24 +02:00
jhadvig
ad36f5d2f1
Making error msg for updating resource version more clear
2015-06-15 17:05:08 +02:00
Clayton Coleman
bdbf477207
REST Client metrics capture grows unbounded
...
The URLs were unique by namespace and query parameter value, which means
an infinite number of metrics counters could be created.
2015-06-15 11:03:20 -04:00
Filip Grzadkowski
cdc5034ce4
Fix error message for missing imagePullPolicy
2015-06-15 16:02:32 +02:00
hurf
d58768b351
Shorten container ID in events
...
Log only first 12 characters of container ID in events.
2015-06-15 17:01:27 +08:00
feihujiang
ad4f22bf6a
improve kubectl error message when an object with kind not registered in versions
2015-06-15 09:18:28 +08:00
Tim St. Clair
fd7d46e9da
Don't rewrite relative URLs when proxying HTTP content.
2015-06-12 21:30:29 -07:00
Brendan Burns
aac696d44c
Fix a bug where the network container could be torn down before other pods.
...
This can break PreStop that hits localhost in the pod.
2015-06-12 21:18:40 -07:00
Quinton Hoole
85ade1db0a
Merge pull request #9592 from lavalamp/logSpam
...
Restore service latency test & fix bugs
2015-06-12 19:20:17 -07:00
Mike Danese
64482907ab
cover more codepaths that hit GetNode in standalone, as well as create better error message when we actually do hit GetNode() which is likely a programmer/config error
2015-06-12 17:45:17 -07:00
Abhi Shah
cdef8ae844
Merge pull request #9749 from dchen1107/podstatus
...
Add logging at RunInContainer for future debugging docker exec issues.
2015-06-12 17:10:12 -07:00
Abhi Shah
3e8690c28b
Merge pull request #9515 from markturansky/scrub_thread_leak
...
Fixes thread leak from discarded watch
2015-06-12 16:52:21 -07:00
Dawn Chen
c1d1a01087
Add logging at RunInContainer for future debugging docker exec issues.
2015-06-12 16:38:24 -07:00
Dawn Chen
b1bbf653ab
Merge pull request #9680 from mikedanese/fix-readiness-probe
...
Fix ReadinessProbe: seperate readiness and liveness in the code
2015-06-12 16:10:21 -07:00
Brendan Burns
c6a910c0b8
Merge pull request #9650 from hurf/podns_describe_node
...
display pod namespace while describe node
2015-06-12 15:59:46 -07:00
Abhi Shah
3ce7fe8310
Merge pull request #9722 from mikedanese/host-ip-spam
...
Fix spammy GetHostIP error log in kubelet
2015-06-12 15:26:54 -07:00
BenTheElder
c5baf1f284
Export GetIptablesVersion utility in util/iptables
...
For kube-proxy to determine whether to use pure iptables as in
https://github.com/GoogleCloudPlatform/kubernetes/issues/3760
Related WIP PR:
https://github.com/GoogleCloudPlatform/kubernetes/pull/9210
2015-06-12 17:13:40 -04:00
Daniel Smith
9423f80d20
fix test bug & conversion bug
2015-06-12 13:55:10 -07:00
Abhi Shah
86b6150fb0
Merge pull request #9287 from brendandburns/kubectl
...
Add some XSRF protection to kubectl proxy.
2015-06-12 13:51:08 -07:00
Abhi Shah
928971cea4
Merge pull request #9710 from mesosphere/public-get-phase
...
export kubelet.GetPhase
2015-06-12 13:46:35 -07:00
Mike Danese
5896ac9e07
skip GetHostIP call on standalone mode kubelet to fix spammy log statement
2015-06-12 11:37:53 -07:00
derekwaynecarr
d40ff87bdc
Its bad to spawn a gofunc per quota with large number of quotas
2015-06-12 11:40:14 -04:00
James DeFelice
022ff5196d
fix broken file refs
2015-06-12 14:03:01 +00:00
James DeFelice
1820114a2d
Upstream controller manager and km binary
...
Closes mesosphere/kubernetes-mesos#310
Depends on GoogleCloudPlatform/kubernetes#8882
- fix https://github.com/mesosphere/kubernetes-mesos/issues/336
- Fix comment typo
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11559038
- Add warning to k8s modules to also update mesos copies
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11558864
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11558855
- Add comments and TODO that hypercube and controllermanager need refactoring
2015-06-12 14:03:00 +00:00
Abhi Shah
52db576617
Merge pull request #8882 from mesosphere/upstream_k8sm
...
Upstream Kubernetes-Mesos framework
2015-06-12 06:36:20 -07:00
James DeFelice
3cf7739b42
export kubelet.GetPhase
2015-06-12 11:11:53 +00:00
Jerzy Szczepkowski
cd3299307d
Merge pull request #9549 from bprashanth/generate_fix
...
Avoid trying to generate the pod status of a new pod
2015-06-12 10:54:13 +02:00
Victor HU
eb473676ce
display pod namespace while describe node
2015-06-12 15:30:11 +08:00
hurf
fa0efe3927
Add label support for kubectl describe
...
Add -l option to kubectl describe command, allow it return
multiple results filtered by label selector.
2015-06-12 15:08:28 +08:00
Daniel Smith
47294dd326
Revert "Revert "Test Service creation -> endpoint generation latency""
...
This reverts commit 654857114e
.
2015-06-11 18:34:31 -07:00
Prashanth Balasubramanian
b5ed0e9b13
Dont generatePodStatus twice for new pods
2015-06-11 17:18:16 -07:00
Mike Danese
35771acdfa
seperate readiness and liveness in the code
2015-06-11 15:09:27 -07:00
markturansky
4210a5dfd8
Scrub pod closes watch channel
2015-06-11 14:25:44 -04:00
Abhi Shah
87d0208d83
Merge pull request #9504 from derekwaynecarr/describe_ns
...
Add namespace describer
2015-06-11 10:26:03 -07:00
Brendan Burns
4aeee94603
Add some XSRF protection to kubectl proxy.
2015-06-10 20:55:33 -07:00
Abhi Shah
b556285661
Merge pull request #9550 from feihujiang/validationFailure
...
remove useless glog.Infof
2015-06-10 14:45:10 -07:00
Abhi Shah
07f8d58010
Merge pull request #9500 from andronat/make_CheckErr_testable
...
Make check err testable
2015-06-10 14:42:56 -07:00
James DeFelice
7d66559725
added comments at the top of native k8s files which, if changed, might affect some of the k8sm code
2015-06-10 20:31:22 +00:00
Abhi Shah
f5b6597492
Revert "Make error msg for updating resource version more clear"
2015-06-10 12:54:52 -07:00
Abhi Shah
d477fe6b1c
Merge pull request #9569 from jhadvig/unclear_error
...
Make error msg for updating resource version more clear
2015-06-10 12:51:57 -07:00
Mike Danese
2bbb78d50a
actually return validation errors instead of just creating them
2015-06-10 12:45:10 -07:00
Brendan Burns
0cb58606b7
Kubernetes version v0.19.0-dev
2015-06-10 09:26:55 -07:00
Brendan Burns
6b0d4ffed3
Kubernetes version v0.19.0
2015-06-10 09:25:31 -07:00
Martin Nagy
ff2b5b78fa
Quote integers correctly
2015-06-10 17:50:58 +02:00
Anastasis Andronidis
62c766d58d
Add tests
2015-06-10 16:09:43 +02:00
Anastasis Andronidis
b7c485ee9a
make CheckErr testable
2015-06-10 16:09:42 +02:00
Jakub Hadvig
90dcd347ac
Make error msg for updating resource version more clear
2015-06-10 14:03:06 +02:00
Brendan Burns
99bf48dc2f
Merge pull request #9542 from brendandburns/validate
...
Change the way we test if a disk is already attached.
2015-06-09 22:00:06 -07:00
Brendan Burns
654857114e
Revert "Test Service creation -> endpoint generation latency"
2015-06-09 21:24:00 -07:00
feihujiang
5867b5ce6b
remove useless glog.Infof
2015-06-10 11:02:28 +08:00
Brendan Burns
3350eecedf
Change the way we test if a disk is already attached.
...
Validated by manual introspection on a running GCE cluster.
2015-06-09 17:50:52 -07:00
krousey
f62a2a1bb6
Merge pull request #9451 from cjcullen/mig
...
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
2015-06-09 15:52:12 -07:00
krousey
1c58d2a766
Merge pull request #9354 from lavalamp/logSpam
...
Test Service creation -> endpoint generation latency
2015-06-09 15:51:26 -07:00
krousey
e36aa77018
Merge pull request #9505 from mikedanese/remove-flags
...
remove kubectl flags from usage examples that no longer exist
2015-06-09 15:15:59 -07:00
Brendan Burns
b259c873b7
Add a better message if the user doesn't specify a resource type.
2015-06-09 15:04:56 -07:00
krousey
f413f30bea
Merge pull request #9424 from mesosphere/export-generate-pod-status
...
add GetRuntime() to Kubelet for easier integration with 3rd party kubele…
2015-06-09 14:17:30 -07:00
krousey
934a5382ec
Merge pull request #9496 from caesarxuchao/event_test-v1
...
update fieldPath in event_test.go to v1
2015-06-09 13:41:36 -07:00
krousey
3e7bcd1ecc
Merge pull request #9182 from jdef/abspath_drops_config_prefix
...
ServerAPIVersions incorrectly squashes config.Prefix
2015-06-09 13:00:58 -07:00
Mike Danese
401d3c43fd
remove removed flags from usage examples
2015-06-09 12:56:58 -07:00
derekwaynecarr
5b005fa30b
Add namespace describer
2015-06-09 15:52:44 -04:00
krousey
43a423f6fc
Merge pull request #9440 from brendandburns/ssh
...
Add an initial test for SSH.
2015-06-09 12:08:26 -07:00
krousey
dd1f4f392f
Merge pull request #9425 from mesosphere/update-testify-dep
...
Update github.com/stretchr/testify rev to 7e4a149
2015-06-09 11:59:00 -07:00
krousey
687e866d80
Merge pull request #9418 from mikedanese/kubectl-version-err
...
kubectl should error if versionless yaml is passed to resource builder
2015-06-09 11:55:48 -07:00
krousey
3d803ab7b2
Merge pull request #9410 from cjcullen/ratelimit
...
Add a RateLimiter for the gce altTokenSource.
2015-06-09 11:11:48 -07:00
krousey
044d4868ca
Merge pull request #9408 from bcbroussard/v1api
...
Update web ui to v1 api
2015-06-09 11:00:06 -07:00
krousey
0487c65fab
Merge pull request #9389 from nikhiljindal/swaggerDup
...
Adding subresource to swagger route docs
2015-06-09 10:51:38 -07:00
Chao Xu
030099a5bd
update fieldPath in event_test.go to v1
2015-06-09 10:45:55 -07:00
krousey
9740105a99
Merge pull request #8837 from mbforbes/rollingTest
...
E2E test node upgrade (to same version)
2015-06-09 10:42:17 -07:00
krousey
fa94d88599
Merge pull request #9370 from justinsb/fix_9318
...
Actually pass down ServiceNodePortRange so it is used
2015-06-09 10:39:45 -07:00
James DeFelice
b5583db1d2
add UnversionedPath() to fix ServerAPIVersions()
2015-06-09 17:30:48 +00:00
nikhiljindal
784e408ab4
Adding subresource to swagger route docs
2015-06-09 10:20:45 -07:00
krousey
d7f7d84a5e
Merge pull request #9387 from jsdir/9340-signature
...
Improve signature consistency for ValidateObjectMetaUpdate
2015-06-09 10:20:18 -07:00
krousey
ff474e5d7e
Merge pull request #9376 from feihujiang/createValidateCrash
...
kubetcl create --validate crashes when no apiVersion or kind is provided
2015-06-09 09:59:42 -07:00
James DeFelice
257bc9b1a3
add GetRuntime() to simplify integration with 3rd party kubelet extensions like kubernetes-mesos
2015-06-09 13:27:34 +00:00
Brendan Burns
b68ddbaf75
Don't pretty-print by default. Saves an allocation (or more) and a copy.
2015-06-08 21:31:58 -07:00
Brendan Burns
2240486110
Add an initial test for SSH.
2015-06-08 20:53:05 -07:00
feihujiang
37abe11f8a
kubetcl create --validate crashes when no apiVersion or kind is provided
2015-06-09 10:38:43 +08:00
CJ Cullen
2d85e4a094
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
...
Refactor GetNodeHostIP into pkg/util/node (instead of pkg/util to break import cycle).
Include internalIP in gce NodeAddresses.
2015-06-08 16:58:00 -07:00
krousey
afb9a7e362
Merge pull request #9373 from justinsb/aws_lb_cleanup
...
Make deletion of an AWS load balancer clean
2015-06-08 16:49:21 -07:00
Daniel Smith
aa9bdcbc4a
add missing endpoints field label conversion function
2015-06-08 16:23:21 -07:00
krousey
ab4c725975
Merge pull request #9328 from liggitt/token_controller_process_new
...
Generate tokens for service accounts with no secrets
2015-06-08 15:15:44 -07:00
Jason Sommer
aa892b7143
Replace meta with new
2015-06-08 17:06:56 -05:00
Justin Santa Barbara
6f3879e3bb
Actually pass down ServiceNodePortRange so it is used
...
Also fix default range to match what we've documented (off-by-one)
Fix #9318
2015-06-08 18:03:42 -04:00
krousey
5aa0219ada
Merge pull request #9292 from cjcullen/test_pull_8946
...
Add an ssh tunnel option to the /proxy endpoint
2015-06-08 14:30:12 -07:00
Brendan Burns
4546cbbb56
Revert "Cut release 0.18.2 with the fix for Docker + memory limits"
2015-06-08 13:49:48 -07:00
Brendan Burns
cfcc6553a5
Merge pull request #9426 from brendandburns/release-0.18
...
Cut release 0.18.2 with the fix for Docker + memory limits
2015-06-08 13:40:07 -07:00
Brendan Burns
56134d57e4
Kubernetes version v0.18.2-dev
2015-06-08 13:08:53 -07:00
Brendan Burns
1f12b89387
Kubernetes version v0.18.2
2015-06-08 13:08:10 -07:00
Dawn Chen
a90d47da60
Passing memory swap limit -1 by default. Docker remote API never check if memory
...
swap is enabled by kernel or not, instead by default to set the limit to
memory * 2, and return API error 500 if swap is not enabled.
(cherry picked from commit f714020a7a
)
2015-06-08 13:06:32 -07:00
Tomás Senart
2a3ffe4038
kubelet: Use assert.EqualValues instead of assert.Equal
...
The last update to github.com/stretchr/testify makes `assert.Equal`
consider the type of its arguments. This commit makes this test pass
again by only testing for value equality using `assert.EqualValues`.
2015-06-08 22:01:48 +02:00
Mike Danese
627b2f9a24
kubectl should use UnstructuredJSONScheme to decode version and kind, as it throws errors if either are missing]
2015-06-08 11:51:37 -07:00
krousey
8ce921ed33
Merge pull request #9357 from mikedanese/kubectl-kind-err
...
improve kubectl error message when an object with no kind is passed to the resource builder
2015-06-08 11:34:43 -07:00
CJ Cullen
be0d24824d
Add a RateLimiter for the gce altTokenSource.
2015-06-08 11:16:52 -07:00
BC Broussard
4efa564c7b
Update web ui to v1 api
2015-06-08 10:49:29 -07:00
krousey
66d2e1cb92
Merge pull request #9358 from dchen1107/podstatus
...
Passing memory swap limit -1 by default. Docker remote API never chec…
2015-06-08 10:19:28 -07:00
krousey
49a6b629f8
Merge pull request #9171 from jdef/parse_prefix_from_server
...
parse apiserver prefix from client config host spec
2015-06-08 10:17:41 -07:00
krousey
a7edbedcb9
Merge pull request #9262 from bprashanth/minion_proxy
...
Apiserver can proxy to nodes
2015-06-08 10:17:06 -07:00
Anastasis Andronidis
bf87f0ec68
Print multiple validation errors
2015-06-08 14:06:20 +02:00
Jason Sommer
d59a8ff7f8
Improve signature consistency for ValidateObjectMetaUpdate
...
Fixes #9340
Signed-off-by: Jason Sommer <jsdirv@gmail.com>
2015-06-08 02:56:38 -05:00
Masahiro Sano
34849b4476
add unit test for allocator
2015-06-07 15:59:51 +09:00
Justin Santa Barbara
c2caa3f1da
AWS: Fix cleanup of security group
...
The most reliable way seems to be to deauthorize the LB security group from
other groups, then delete the LB itself, then repeatedly retry to delete the LB
security group.
We can't delete the LB security group until the LB is actually completely
deleted, but the LB is hidden from the API during deletion. So our only real
option is to retry deletion of the LB security group until the expected error
goes away when the LB is fully deleted.
2015-06-06 23:20:34 -04:00
Mike Danese
7b7d8ccb77
print various errors which is useful when ContinueOnError is set on the Resource struct
2015-06-06 15:47:01 -07:00
Justin Santa Barbara
1700259508
AWS: Ignore the UserId when determining whether we can skip revoking a security group
...
Otherwise we weren't correctly de-authorizing the AWS LB SG from the Node SG
2015-06-06 12:37:01 -04:00
Justin Santa Barbara
8fafefd728
Fix doc for edge-case return from removeSecurityGroupIngress
2015-06-06 12:25:50 -04:00
Justin Santa Barbara
e32c66c6f4
Fix typo: Ingess -> Ingress
2015-06-06 12:22:50 -04:00
Jordan Liggitt
1a3d093d99
Generate tokens for new service accounts without checking secret store
2015-06-06 00:05:36 -04:00
Dawn Chen
f714020a7a
Passing memory swap limit -1 by default. Docker remote API never check if memory
...
swap is enabled by kernel or not, instead by default to set the limit to
memory * 2, and return API error 500 if swap is not enabled.
2015-06-05 18:12:05 -07:00
CJ Cullen
9ab329827a
Change sshproxy to poll registry for nodes every 10 seconds (reduces window where closed tunnels from scaling down may exist).
2015-06-05 15:24:17 -07:00
Quinton Hoole
6ff203e9da
Merge pull request #9280 from caesarxuchao/make-v1-preferred
...
Make v1 the preferred api version
2015-06-05 15:23:14 -07:00
Mike Danese
c9bd90a5df
Merge pull request #9032 from andronat/fix_7843
...
Decrease columns and refactor get pods layout
2015-06-05 15:06:53 -07:00
CJ Cullen
04cd9b3c75
Make sshproxy use a hostmount on master PD (don't spam sshKeys on upgrade/reboot).
...
Add comment describing what SSHTunnelList.Close() does.
Simplify util.FileExists.
2015-06-05 15:03:03 -07:00
Quinton Hoole
1d50e97305
Merge pull request #9333 from krousey/v1_docs
...
Updating docs/ to v1
2015-06-05 14:58:28 -07:00
CJ Cullen
cb317604ab
Some refactoring. Only selectively use ssh proxy.
...
Add NetworkName to gce.Config.
Add locking to uses of master.tunnels.
2015-06-05 14:55:16 -07:00
CJ Cullen
1ae8801387
Fix transport creation logic.
...
Refactor loadTunnels to allow one path for load, another for refresh.
Make SSHTunnelList.Close sleep for a minute before actually closing each tunnel.
2015-06-05 14:55:16 -07:00
Brendan Burns
7ea533d871
Add the SSHTunnel transport to the kubelet client.
2015-06-05 14:55:15 -07:00
CJ Cullen
de9a5f43bc
Specify sshUser, sshKeyfile in kube-apiserver manifest.
...
Trim space on ssh key so GCE doesn't treat it as 2 lines.
A couple other minor fixes.
2015-06-05 14:55:15 -07:00
Brendan Burns
5115fd5703
Add key generation.
2015-06-05 14:55:15 -07:00
Brendan Burns
30a89968a4
Initial proxy tunnelling.
2015-06-05 14:54:20 -07:00
Brendan Burns
631cf34d40
Add tunnelling to the proxy API handler.
2015-06-05 14:54:20 -07:00
Kris Rousey
6e83eb2636
Updating docs/ to v1
2015-06-05 14:09:49 -07:00
Prashanth Balasubramanian
50eb9ad598
Use https only for the kubelet port
2015-06-05 14:06:38 -07:00
Chao Xu
e6ffa5bf67
make the meaning of a test in get_test.go clearer
2015-06-05 13:59:30 -07:00
Anastasis Andronidis
68d9313d69
Refactor get pods layout
2015-06-05 22:28:17 +02:00
Justin Santa Barbara
48e8a8b0ec
AWS: Set up security groups, to mirror GCE firewalling
...
Some slightly fussy code to enable load-balancers to talk to
instances, but otherwise relatively simple.
2015-06-05 16:10:08 -04:00
Justin Santa Barbara
33a3d884f2
AWS: Filter by Cluster tag, rationalize EC2 abstraction
...
Whenever we do a list we now filter on tags so we only see resources relating
to our cluster.
Also, rationalize all the DescribeX calls:
* They all take a request object (so that we can pass filters)
* They do paging if that is required (and return the underlying resources)
* They wrap any error with a "error while listing X: %v" message
2015-06-05 16:09:01 -04:00
Prashanth Balasubramanian
99f8ddf304
Enable profiling endpoints for kubelet
2015-06-05 12:50:57 -07:00
Prashanth Balasubramanian
b678e2ff9e
Nodes returns transport and scheme in spite of port requirements
2015-06-05 12:50:57 -07:00
Quinton Hoole
2c54be808e
Merge pull request #9302 from brendandburns/fix
...
Add messages to indicate that opening an external firewall may be necessary.
2015-06-05 12:37:19 -07:00
Quinton Hoole
f048d0dff7
Merge pull request #9105 from anguslees/openstack-provider
...
Openstack LB improvements
2015-06-05 12:06:12 -07:00
Quinton Hoole
a715fdef95
Merge pull request #9291 from dchen1107/podstatus
...
Filtered out unfriendly error from docker when registry is not reachable.
2015-06-05 12:01:51 -07:00
Quinton Hoole
bc59e69ff0
Merge pull request #9159 from csrwng/remove_cors_headers
...
Remove CORS headers from pod proxy responses
2015-06-05 11:40:09 -07:00
Quinton Hoole
8b01ecb53a
Merge pull request #9024 from markturansky/recyc_controllers
...
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
Dawn Chen
636b40ffa1
Filtered out unfriendly error from docker when registry is not reachable(code: 502, 503, 504)
2015-06-05 11:29:35 -07:00
Quinton Hoole
988a413acf
Merge pull request #9058 from deads2k/serialize-with-auth
...
serialize dockercfg with matching auth field
2015-06-05 11:26:14 -07:00
Quinton Hoole
8f55d9e619
Merge pull request #9317 from nikhiljindal/podnodeName
...
Updating StatusDetails.ID to Name in internal API
2015-06-05 11:23:09 -07:00
Quinton Hoole
b40ecc4fbc
Merge pull request #9282 from markturansky/pv_index_fix
...
Add available volumes to binder index when not present
2015-06-05 11:06:48 -07:00
deads2k
ac2c43fc87
serialize dockercfg with matching auth field
2015-06-05 11:14:10 -04:00
nikhiljindal
7cc50448e3
Updating StatusDetails.ID to Name in internal API
2015-06-05 07:17:02 -07:00
Angus Lees
75f49b331a
Ignore "unspecified" externalIP during LB create
...
Previously we always passed `Address: externalIP.String()` while
creating a loadbalancer VIP. This passed "0.0.0.0" when externalIP was
unspecified, effectively making it mandatory to specify an externalIP.
This change correctly leaves `Address` unspecified when externalIP is
unspecified (has a zero value).
(Thanks to @justinsb for the report)
2015-06-05 16:27:45 +10:00
Brendan Burns
380790a8e2
Add messages to indicate that opening an external firewall may be necessary.
2015-06-04 22:31:52 -07:00
Jason Sommer
cea5aaa9d1
Show resource limits with describe
...
Signed-off-by: Jason Sommer <jsdirv@gmail.com>
2015-06-04 23:49:28 -05:00
Quinton Hoole
d6004a1ced
Merge pull request #9279 from yifan-gu/refactor
...
kubelet: Minor refactors.
2015-06-04 21:47:04 -07:00
Quinton Hoole
502a8d75cc
Merge pull request #9000 from jackgr/ui_build_js
...
Javascript only UI build cleanup
2015-06-04 21:40:03 -07:00
Chao Xu
8a4dffdcee
fix
2015-06-04 17:19:41 -07:00
Chao Xu
5a54a0118d
fix
2015-06-04 16:35:24 -07:00
Quinton Hoole
fc80fd6860
Merge pull request #9233 from lavalamp/no-ro-nonbreaking
...
Allow kubectl proxy to proxy everything
2015-06-04 16:22:07 -07:00
Yifan Gu
f197a9db4e
kubelet: Minor refactors.
...
Remove some TODOs.
Unexport DockerManager.Puller and DockerManager.PodInfraContainerImage.
Add "docker" for all "go-dockerclient" imports.
2015-06-04 16:08:45 -07:00
markturansky
627dd86b95
Added available volumes to volumeIndex in binder when not present
2015-06-04 18:29:14 -04:00
Chao Xu
1605fc7347
fix unit tests
2015-06-04 15:09:47 -07:00
Chao Xu
dfc77f7883
make v1 the preferred api version
2015-06-04 15:08:56 -07:00
jackgr
cff5bed70d
Clean up ui build and generated files.
2015-06-04 14:54:15 -07:00
Cesar Wong
e8af67c180
Remove CORS headers from pod proxy responses
...
The API server sends its own CORS headers in its response, and if the
proxied pod response also includes its own headers, it confuses clients.
2015-06-04 16:49:04 -04:00
Quinton Hoole
521446503a
Merge pull request #9269 from caesarxuchao/make-v1-enabled-by-default
...
Make v1 enabled by default
2015-06-04 13:29:48 -07:00
James DeFelice
4b8995f009
parse apiserver prefix from client config host spec, with unit test
2015-06-04 20:20:19 +00:00
Quinton Hoole
44f2c8f003
Merge pull request #9263 from caesarxuchao/add-v1-tests-fix
...
Fix some v1 tests issues
2015-06-04 13:15:43 -07:00
Quinton Hoole
b5251de193
Merge pull request #9261 from justinsb/aws_d2_instance_types
...
AWS: Add d2 instance types
2015-06-04 13:11:43 -07:00
markturansky
deec5f26cd
Recycler controller
2015-06-04 15:47:36 -04:00
markturansky
986cbb56d4
Recycling HostPath and NFS impls
2015-06-04 15:46:03 -04:00
markturansky
cb547f4b5c
RecyclableVolumePlugin interfaces
2015-06-04 15:40:52 -04:00
markturansky
2829fadfad
PV Recycling API
2015-06-04 15:39:34 -04:00
Quinton Hoole
70f78aa5bf
Merge pull request #9266 from yujuhong/err_msg
...
Kubelet: fix the warning message
2015-06-04 11:55:46 -07:00
Quinton Hoole
ce2b46d0ae
Merge pull request #9240 from tpounds/update-aws-sdk-go
...
Update AWS Go SDK (v0.6.0)
2015-06-04 11:54:42 -07:00
Chao Xu
ef61b031f5
make v1 enabled by default
2015-06-04 11:37:44 -07:00
Yu-Ju Hong
46e29cfb70
Kubelet: fix the warning message
2015-06-04 11:07:08 -07:00
Brendan Burns
02f3142f41
Merge pull request #9196 from brendandburns/merge-release-0.18-to-master
...
Merge release 0.18 to master
2015-06-04 10:50:26 -07:00
Chao Xu
080da97e1c
fix a comment
2015-06-04 10:35:10 -07:00
Trevor Pounds
6eea271656
Guard against non AWS errors.
2015-06-04 10:33:36 -07:00
Chao Xu
854b8034ab
use testapi.Codec() in etcd_test.go
2015-06-04 10:23:15 -07:00
Chao Xu
0a7dc87b05
address nikhiljindal's comments in #9225
2015-06-04 10:20:29 -07:00
Justin Santa Barbara
41f52546bc
AWS: Add d2 instance types
...
Another family of instance types, I think the next-gen of hs1
2015-06-04 12:57:33 -04:00
Chao Xu
c2e21fe5d7
use c.EtcdHelper in master.go
2015-06-04 09:39:05 -07:00
Chao Xu
c1ba3f21d5
remove outdated test from latest_test.go
2015-06-04 09:39:05 -07:00
Quinton Hoole
64d361fb74
Merge pull request #9249 from bcbroussard/remove-v1beta2
...
Remove deprecated v1beta2 api from the web ui
2015-06-04 09:36:44 -07:00
Quinton Hoole
d97199c091
Merge pull request #9245 from bcbroussard/cadvisor-update
...
cAdvisor updates for v1beta3
2015-06-04 08:25:50 -07:00
Quinton Hoole
da2267914a
Merge pull request #9200 from rhcarvalho/patch-2
...
Fix typo
2015-06-04 08:21:41 -07:00
Rodolfo Carvalho
b216d09a8d
Fix typo
2015-06-04 11:44:10 +02:00
BC Broussard
0ec8b9b665
Remove unused v1beta2 references from web ui
2015-06-04 00:19:06 -07:00
BC Broussard
1590403949
cAdvisor updates for v1beta3
2015-06-03 23:31:15 -07:00
Trevor Pounds
7cdf573015
Update aws-sdk-go dependency from awslabs to aws.
2015-06-03 23:07:42 -07:00
Brian Grant
a161edb396
Merge pull request #9235 from derekwaynecarr/fix_namespace_delete_race
...
Fix namespace controller on delete to not care if item not found
2015-06-03 22:18:34 -07:00
Brian Grant
656fa7bea1
Merge pull request #9225 from caesarxuchao/add-v1-tests-general
...
Add v1 tests
2015-06-03 22:18:21 -07:00
Brian Grant
c92b4255b3
Merge pull request #9217 from caesarxuchao/add-v1-tests-to-pkg/kubectl/cmd
...
add v1 tests to kubectl/cmd/*
2015-06-03 22:16:44 -07:00
Brian Grant
ab1e3cc789
Merge pull request #9215 from RichieEscarez/8977_restartpolicy
...
Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" …
2015-06-03 22:16:11 -07:00
Brian Grant
d3aed0cd18
Merge pull request #9195 from caesarxuchao/serialization_test
...
add v1 to serialization_test.go
2015-06-03 22:15:23 -07:00
Brian Grant
a5959d7b6f
Merge pull request #8155 from lavalamp/no-ro
...
Remove ro service
2015-06-03 21:15:28 -07:00
Brian Grant
e7788771d6
Merge pull request #9030 from brendandburns/kubectl
...
Add a custom timeout flag for stop/delete.
2015-06-03 21:14:50 -07:00
Chao Xu
ca72165b20
remove most references to api.PreV1Beta3
2015-06-03 20:09:03 -07:00
derekwaynecarr
14d2128238
Fix namespace controller on delete to not care if item not found
2015-06-03 22:59:07 -04:00
Daniel Smith
1bab36f772
Fix 'kubectl proxy' to allow the /metrics page to be proxied, without breaking the previous proxy behavior
2015-06-03 18:31:45 -07:00
Brian Grant
f72fa67924
Revert "Use Node IP Address instead of Node.Name in minion.ResourceLocation."
2015-06-03 18:19:22 -07:00
Chao Xu
6b81c064ed
change v1beta3 to v1 in test cases
2015-06-03 17:50:22 -07:00
Max Forbes
a6c47a07de
E2E test node upgrade (to same version)
2015-06-03 17:05:45 -07:00
Chao Xu
2ee8eb67a9
remove import of v1beta3 package in api/conversion_test.go
2015-06-03 16:50:40 -07:00
Chao Xu
cb123dc957
in api/testapi/testapt_test.go, remove tests for v1beta1, add tests for v1
2015-06-03 16:48:05 -07:00
Daniel Smith
1690617ee6
remove ro service
2015-06-03 16:45:54 -07:00
Brian Grant
f8bf996000
Merge pull request #9211 from lavalamp/no-ro-nonbreaking
...
Nonbreaking pieces of #8155
2015-06-03 16:44:24 -07:00
Chao Xu
97b29c7fe6
in pkg/kubelet/config/commont_test.go, remove check for v1beta1, add test cases for all registered version
2015-06-03 16:07:00 -07:00
Chao Xu
b61658d064
add v1 item in pkg/runtime/helper_test.go
2015-06-03 16:05:40 -07:00
Daniel Smith
3f454b7599
remove ro refs from more places
2015-06-03 15:41:09 -07:00
Chao Xu
0d81f5901b
add v1 items to runtime/unstructured_test.go
2015-06-03 15:09:49 -07:00
Chao Xu
8885025d25
add v1 tests to tests in kubectl/cmd/*
2015-06-03 13:57:54 -07:00
RichieEscarez
91907f66a7
Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" "RestartPolicyNever" with "Always" "OnFailure" "Never"
2015-06-03 13:35:35 -07:00
Chao Xu
115823ff1b
add v1 to serialization_test.go
2015-06-03 13:22:01 -07:00
Brian Grant
be4a501e25
Merge pull request #9099 from derekwaynecarr/improve_quota_describe_output
...
Fix bug in quota describe output
2015-06-03 13:14:30 -07:00
Daniel Smith
67f53d2eff
Make kubectl work inside a container in k8s
2015-06-03 12:48:07 -07:00
Brian Grant
d6d52b41c6
Merge pull request #9189 from justinsb/fix_9123
...
Avoid nil-pointer dereference panics in AWS
2015-06-03 12:34:34 -07:00
derekwaynecarr
6968a4e0df
Improve quota describe output
2015-06-03 15:16:24 -04:00
Tim Hockin
1aa9b0b86a
Don't allow link-local Endpoints
2015-06-03 11:40:04 -07:00
Brendan Burns
ab0c9b8e1e
Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.
2015-06-03 11:21:30 -07:00
Brian Grant
895ad68422
Merge pull request #9145 from caesarxuchao/hack/test-integration
...
enable v1 in hack/test-integration.go
2015-06-03 11:19:41 -07:00
Brendan Burns
75fe41b622
Manually fix up 0.18.1 (not sure what went wrong)
2015-06-03 10:46:08 -07:00
Chao Xu
d52cef11a4
add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil
2015-06-03 09:50:41 -07:00
Brian Grant
9740c7c3ad
Merge pull request #9163 from mikedanese/ui-path
...
redirect /ui to the ui dashboard
2015-06-03 09:49:41 -07:00
Brian Grant
3d4d38d378
Merge pull request #9177 from feihujiang/eventToLog
...
get Events to be logged
2015-06-03 09:32:42 -07:00
Brian Grant
2742469874
Merge pull request #9104 from liggitt/token_cleanup
...
Clean up token on service account update failure
2015-06-03 09:32:07 -07:00
Brian Grant
4e2d295046
Merge pull request #8964 from bprashanth/apiserver_cmd
...
Extend read/write connection timeout of apiserver
2015-06-03 09:31:37 -07:00
Eric Tune
6e3ff01fa7
Merge pull request #9092 from lavalamp/no-ro-nonbreaking
...
Nonbreaking changes working towards removing the RO port
2015-06-03 09:25:46 -07:00
Justin Santa Barbara
e3eb23f464
Avoid nil-pointer dereference panics in AWS
...
These were introduced because the new official AWS SDK uses *string
where the old library used strings. We now use the helpers much
more (orEmpty and isNilOrEmpty).
Fixes #9123
2015-06-03 12:24:23 -04:00
Prashanth Balasubramanian
0162529ea5
Default minRequestTimeout to 1800s
2015-06-03 08:47:45 -07:00
Prashanth Balasubramanian
448867073d
Pipe minRequestTimeout as an arg to the apiserver
2015-06-03 08:44:14 -07:00
Angus Lees
9394635cc0
Make EnsureTCPLoadBalancerDeleted idempotent
...
This change allows EnsureTCPLoadBalancerDeleted to be called repeatedly
to reattempt deleting objects that may have failed on a previous run.
Specifically, if the VIP is already deleted, then an attempt is made to
lookup the pool by name. Returns success when both the VIP and pool are
not found.
Fixes #8352
2015-06-03 17:21:31 +10:00
feihujiang
ebc8eab590
get Events to be logged
2015-06-03 15:05:07 +08:00
Brian Grant
36a4ece87a
Merge pull request #9080 from thockin/dns-new-search-kubelet
...
Insert 'svc' into the DNS search paths
2015-06-02 22:54:07 -07:00
Brian Grant
e9ccec4c35
Merge pull request #8915 from fgrzadkowski/fix_reflector
...
Reduce number of list requests in watch-based cache
2015-06-02 22:52:54 -07:00
Brian Grant
d4acb1d676
Merge pull request #9155 from cjcullen/mig
...
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
2015-06-02 22:51:20 -07:00
Brian Grant
be2547bc39
Merge pull request #9149 from vmarmol/docker-errors
...
Kubelet: Add metric for tracking Docker error count
2015-06-02 22:50:50 -07:00
Michael Danese
a1ea672c63
redirect /ui and /index.html to the ui dashboard at /static/app/#/dashboard/
2015-06-02 21:16:43 -07:00
Brian Grant
08e20d3bc8
Merge pull request #9081 from yujuhong/kubelet_unittest4
...
Kubelet unit test cleanup
2015-06-02 20:36:54 -07:00
Brendan Burns
3e5707be5b
Kubernetes version v0.18.1-dev
2015-06-02 20:30:49 -07:00
Brendan Burns
befd1385e5
Kubernetes version v0.18.1
2015-06-02 20:30:14 -07:00
Brendan Burns
deb907180b
Fix a bug in kubectl exec handling.
...
(cherry picked from commit 911e3e9594
)
2015-06-02 20:29:53 -07:00
Brian Grant
785740a0f8
Merge pull request #9164 from brendandburns/fix
...
Fix a bug in kubectl exec handling.
2015-06-02 20:24:55 -07:00
Victor Marmol
220570dfc1
Make system container name configurable.
...
(cherry picked from commit 9a2630ac6e
)
2015-06-02 20:03:57 -07:00
Victor Marmol
39c308012a
Have the ContainerManager create a system container.
...
The system container is a resource-only container which contains all
non-kernel processes that are not already part of a container. This will
allow monitoring of their resource usage and limiting it (eventually).
(cherry picked from commit ddec34a000
)
2015-06-02 20:03:43 -07:00
derekwaynecarr
ad7b10bf21
Name is a required parameter for kubectl run, default-name is not
...
(cherry picked from commit b69f1ff5bd
)
Conflicts:
pkg/kubectl/run.go
2015-06-02 20:03:02 -07:00
CJ Cullen
4e5d0da839
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
...
Refactor GetNodeHostIP into pkg/util/node (instead of pkg/util to break import cycle).
Include internalIP in gce NodeAddresses. Remove NodeLegacyHostIP
2015-06-02 20:01:49 -07:00
Brian Grant
5115f0e6bc
Merge pull request #8888 from smarterclayton/add_new_allocators
...
Add a new contiguous allocator strategy option
2015-06-02 19:54:44 -07:00
Brian Grant
e77ded1e84
Merge pull request #8649 from cjcullen/servicefix
...
Add an advertise-address flag
2015-06-02 19:54:28 -07:00
Brendan Burns
911e3e9594
Fix a bug in kubectl exec handling.
2015-06-02 19:45:51 -07:00
Daniel Smith
e3c0e38f1b
Move cluster client creation to client.NewInCluster()
...
Built & pushed nettest:1.4.
2015-06-02 18:47:06 -07:00
Victor Marmol
6b0d3d8df0
Add DockerErrors metric in the Kubelet.
...
Allows the tracking of errors by Docker operation.
2015-06-02 17:38:09 -07:00
Victor Marmol
1a805c711a
Refactoring handling of latency recording.
2015-06-02 17:29:13 -07:00
Chao Xu
3358f37871
remove imports of v1 in latest_test.go
2015-06-02 17:27:57 -07:00
Filip Grzadkowski
7cdfb2ac7f
Reduce number of list requests in watch-based cache
2015-06-03 00:55:49 +02:00
CJ Cullen
934c553c04
Clarify description/usage of --advertise-address, Master.PublicAddress
2015-06-02 15:23:32 -07:00
Yu-Ju Hong
64aa958efb
Make PodList span multiple lines for readability
2015-06-02 15:03:38 -07:00
Yu-Ju Hong
55f7b9b9b1
Adapt most CommandRunner tests to use FakeRuntime
2015-06-02 15:03:38 -07:00
Yu-Ju Hong
b3197bb49b
Switch more tests from newTestKubelet to newTestKubeletWithFakeRuntime
2015-06-02 15:03:38 -07:00
Yu-Ju Hong
d4034f9c43
Move more docker-specific tests to dockertools/manager_test.go
2015-06-02 15:03:33 -07:00
Chao Xu
89c8949e78
add v1 to hack/test-integration.sh
2015-06-02 14:55:45 -07:00
Chao Xu
48d3d604af
fix
2015-06-02 14:55:45 -07:00
Chao Xu
ff6947625d
add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil
2015-06-02 14:55:45 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
CJ Cullen
085a48a70e
Add an advertise-address flag. This allows the address that the apiserver binds
...
to (possibly 0.0.0.0) to be different than the address on which members of the cluster
can reach the apiserver (possibly not a local interface).
2015-06-02 14:33:15 -07:00
Brian Grant
0cb0a56895
Merge pull request #8417 from jdef/proxy_port_allocator
...
proxy port range allocation
2015-06-02 14:17:41 -07:00
Brian Grant
8a9700b2ba
Merge pull request #8864 from ncdc/pluggable-docker-exec
...
Add support for pluggable Docker exec handlers
2015-06-02 14:13:06 -07:00
Brian Grant
6508c04f24
Merge pull request #9112 from kargakis/expose-nits
...
expose: Better error formatting and generic flag message
2015-06-02 13:10:52 -07:00
Brian Grant
0a28edf6e7
Merge pull request #8698 from vmarmol/with-limits
...
Reserve node resources for node services
2015-06-02 13:05:29 -07:00
Brian Grant
3f07503cea
Merge pull request #9103 from liggitt/omitempty_service_account
...
fix omitempty on PodSpec.ServiceAccount in v1beta3
2015-06-02 10:41:11 -07:00
Brian Grant
b8a7527cb3
Merge pull request #9069 from markturansky/pv_panic_fix
...
Fixes panic/nil pointer in PV
2015-06-02 10:39:40 -07:00
Brian Grant
55529d9256
Merge pull request #7153 from xiang90/apiserver
...
minor cleanup for apiserver/errors.go
2015-06-02 10:37:36 -07:00
markturansky
b1464437de
fixed test
2015-06-02 09:19:28 -04:00
Jan Safranek
d2b4ae4df4
Fix persistent volumes.
...
Check Spec.PersistentVolumeSource in NFS, RBD, Gluster and iSCSI volume
plugins.
2015-06-02 09:19:28 -04:00
James DeFelice
4abcf7449c
implementation of proxy port allocation
2015-06-02 12:28:25 +00:00
kargakis
0fba4820f5
expose: Better error formatting and generic flag message
...
Re error formatting:
$ osc expose svc frontend --port=5432 --generator='service/v2' --name=test
Before:
error: generator %!!(MISSING)q(<nil>) not found.
see 'osc expose -h' for help.
Now:
error: generator "services/v2" not found.
see 'openshift cli expose -h' for help.
2015-06-02 13:06:21 +02:00
Jordan Liggitt
a837771b27
Clean up token on service account update failure
2015-06-02 01:35:51 -04:00
Jordan Liggitt
870be9768a
fix omitempty on service account in v1beta3
2015-06-02 01:31:06 -04:00
Angus Lees
785a775777
Actually delete LBaaS monitors after disassociating
...
Partially addresses issue #8352
2015-06-02 15:25:51 +10:00
Angus Lees
6491922562
Catch 404 and return exists=false from GetTCPLoadBalancer
...
Previouly getVipByName treated 404 like any other unexpected error
return and passed it up the chain. This caused the "if ErrNotFound then
exists=false" logic in GetTCPLoadBalancer to never fire.
This change teaches getVipByName to return ErrNotFound on a 404 server
response.
2015-06-02 15:25:40 +10:00
Tim Hockin
a826529573
Insert 'svc' into the DNS search paths
...
Fixes #8569 .
This requires the DNS server to be running kube2sky v1.6 or higher (part of
release 0.18). Users with older kube2sky MUST NOT update to this kubelet until
they upgrade DNS. Versions of kube2sky >= 1.6 support both old and new style
names. Old style names are deprectaed and will be removed around the time of
kubernetes v1.0 release.
2015-06-01 17:02:17 -07:00
Clayton Coleman
e89d551817
Add a new contiguous allocator strategy option
...
Also fix an error in port allocator
2015-06-01 19:59:17 -04:00
Clayton Coleman
5f06138798
Namespace controller must wait for terminating resources
2015-06-01 19:24:02 -04:00
Clayton Coleman
ce3a6a666d
Show terminating pods in get/describe
2015-06-01 19:24:01 -04:00
Clayton Coleman
9d3631e3de
Handle deleted pods in replication and endpoint controllers
...
Pods that are slated for deletion should be excluded from
replication and endpoints immediately.
2015-06-01 19:24:01 -04:00
Clayton Coleman
72ee028cab
Gracefully delete pods from the Kubelet
...
This commit wires together the graceful delete option for pods
on the Kubelet. When a pod is deleted on the API server, a
grace period is calculated that is based on the
Pod.Spec.TerminationGracePeriodInSeconds, the user's provided grace
period, or a default. The grace period can only shrink once set.
The value provided by the user (or the default) is set onto metadata
as DeletionGracePeriod.
When the Kubelet sees a pod with DeletionTimestamp set, it uses the
value of ObjectMeta.GracePeriodSeconds as the grace period
sent to Docker. When updating status, if the pod has DeletionTimestamp
set and all containers are terminated, the Kubelet will update the
status one last time and then invoke Delete(pod, grace: 0) to
clean up the pod immediately.
2015-06-01 19:23:59 -04:00
Clayton Coleman
da7c612bb6
Expire is a new type of watch action
2015-06-01 17:26:48 -04:00
Clayton Coleman
3368e12a6c
Ensure TTL is not cleared in possible edge cases
2015-06-01 17:26:47 -04:00
Andy Goldstein
2a0d7ebb11
Add support for pluggable Docker exec handlers
...
Add support for pluggable Docker exec handlers. The default handler is
now Docker's native exec API call. The previous default, nsenter, can be
selected by passing --docker-exec-handler=nsenter when starting the
kubelet.
2015-06-01 16:59:59 -04:00
derekwaynecarr
b69f1ff5bd
Name is a required parameter for kubectl run, default-name is not
2015-06-01 14:05:05 -04:00
Eric Tune
8b498aee4a
Merge pull request #8495 from gmarek/fix_ratelimit
...
Move evicting pods to separate thread to allow for correct ratelimitting.
2015-06-01 10:29:37 -07:00
Eric Tune
760caea187
Merge pull request #8863 from mfojtik/fix-default-registry-matcher
...
Add 'docker.io' and 'index.docker.io' to default registry matcher
2015-06-01 10:28:34 -07:00
Eric Tune
1f526a5f89
Merge pull request #9027 from jlowdermilk/kubectl-deprecate-minion
...
Stop supporting the minion alias for nodes in kubectl
2015-06-01 10:26:51 -07:00
Eric Tune
936c6842e0
Merge pull request #8733 from justinsb/nodeport_aws
...
Enable support for AWS LB
2015-06-01 09:25:15 -07:00
Eric Tune
c1d0a48075
Merge pull request #8912 from justinsb/volumes_kubelet_root_not_symlink
...
Ensure kubelet root is not a symlink
2015-06-01 09:24:32 -07:00
gmarek
1490543d54
Move evicting pods to separate thread to allow for correct ratelimitting.
2015-06-01 11:39:20 +02:00
Michal Fojtik
9a94f7cc38
Add 'docker.io' and 'index.docker.io' to default registry matcher
...
Signed-off-by: Michal Fojtik <mfojtik@redhat.com>
2015-05-30 12:59:18 +02:00
Victor Marmol
7283e662b5
Introduce SystemContainer to Kubelet ContainerManager.
...
This generalizes the handling of containers in the
ContainerManager.
Also introduces the ability to determine how much
resources are reserved for those system containers.
2015-05-29 17:32:34 -07:00
Kris
f4e2c738f6
Delete deprecated API versions
...
pkg/service:
There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.
pkg/apiserver:
The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.
pkg/kubectl:
Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Justin Santa Barbara
c4a2631593
Mount logic breaks if /var/lib/kubelet is a symlink
...
Pass the correct kubelet root-dir on AWS
2015-05-29 20:13:09 -04:00
Justin Santa Barbara
9839253233
Add logging to volume tear-down to help understand mount behaviour
2015-05-29 20:11:13 -04:00
Rohit Jnagal
25e63e737a
Merge pull request #9014 from caesarxuchao/image-omitempty
...
make the Container.Image field optional in v1
2015-05-29 16:32:30 -07:00
Rohit Jnagal
99c9c54c05
Merge pull request #8983 from jlowdermilk/update-patch
...
Disable --patch for kubectl update
2015-05-29 16:30:16 -07:00
Rohit Jnagal
0cbd4beb63
Merge pull request #8886 from csrwng/fix_proxy_url_slash
...
Fix proxying of URLs that end in "/" in the pod proxy subresource
2015-05-29 16:28:41 -07:00
Justin Santa Barbara
1e99426d5b
Support for AWS ELB
2015-05-29 18:53:35 -04:00
Rohit Jnagal
fd4a0c5966
Merge pull request #8823 from jlowdermilk/release-0.18
...
Release 0.18.0
2015-05-29 15:49:46 -07:00
Justin Santa Barbara
c741b8f3ae
Pass ports as []*api.ServicePort into LoadBalancer provider
...
Because AWS needs the NodePort; this also paves the way for e.g. UDP balancing
2015-05-29 18:47:05 -04:00
Jeff Lowdermilk
0c44be833d
Stop supporting the minion alias for nodes in kubectl
2015-05-29 15:40:47 -07:00
Rohit Jnagal
9184ccf24d
Merge pull request #8960 from erictune/nodectrlevent
...
Add event about Node when cannot assign CIDR.
2015-05-29 14:54:16 -07:00
Rohit Jnagal
fdefd120c1
Merge pull request #8980 from caesarxuchao/Remove_TemplateRef
...
remove ReplicationControllerSpec.TemplateRef
2015-05-29 14:53:25 -07:00
Rohit Jnagal
233ce46b83
Merge pull request #8923 from caesarxuchao/TerminationToTerminated
...
Update ContainerState.Termination to ContainerState.Terminated
2015-05-29 14:51:09 -07:00
Rohit Jnagal
d34d00c288
Merge pull request #8898 from brendandburns/tunnel
...
Move SSH code into a common util package. Add support for SSH tunnels.
2015-05-29 14:48:37 -07:00
Rohit Jnagal
ae8bc2c47b
Merge pull request #8887 from brendandburns/balancer
...
Add event generation when create/delete of balancers fails.
2015-05-29 13:32:11 -07:00
Rohit Jnagal
3e98919a63
Merge pull request #8857 from andronat/fix_TestGetEtcdVersion_NotListening
...
fix TestGetEtcdVersion_NotListening
2015-05-29 13:25:02 -07:00
Rohit Jnagal
7813fb6e58
Merge pull request #8438 from tcnghia/master
...
Support glob wildcards for gcr.io credentials
2015-05-29 13:22:58 -07:00
Chao Xu
74f66b3c96
make the Container.Image field optional
2015-05-29 13:12:35 -07:00
Rohit Jnagal
11268baa92
Merge pull request #8804 from kargakis/expose-default-name-param
...
expose: Use separate parameters for default and custom name
2015-05-29 11:21:09 -07:00
Rohit Jnagal
51750a4680
Merge pull request #8724 from smarterclayton/preserve_ttl
...
TTL is not preserved automatically during edit
2015-05-29 11:12:00 -07:00
Rohit Jnagal
38c1fe112f
Merge pull request #9006 from GoogleCloudPlatform/revert-8927-revert-8822-fifo_rc
...
Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown t…
2015-05-29 11:11:38 -07:00
Nghia Tran
8b57b6fea6
Support glob wildcards for gcr.io credentials
2015-05-29 10:44:59 -07:00
Jeff Lowdermilk
754d3ce99e
Kubernetes version v0.18.0
2015-05-29 09:41:41 -07:00
Jeff Lowdermilk
24712e8170
Kubernetes version v0.18.0-dev
2015-05-29 09:41:41 -07:00
Rohit Jnagal
50b9d6284a
Merge pull request #8681 from vmarmol/system-container
...
Create a system container
2015-05-29 09:41:06 -07:00
Jeff Lowdermilk
90a5b8c845
Disable --patch for kubectl update
2015-05-29 09:31:49 -07:00
Prashanth B
6c209ec193
Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones""
2015-05-29 09:24:39 -07:00
Anastasis Andronidis
bb9fb19cc2
TestGetEtcdVersion_NotListening is looking for a closed port first
2015-05-29 11:32:05 +02:00
Anastasis Andronidis
9cb0eaf01a
Fixed get's help message
2015-05-29 11:31:16 +02:00
Filip Grzadkowski
ce7a3ea34d
Merge pull request #8916 from fgrzadkowski/limit_tracing
...
Improve tracing information in apiserver
2015-05-29 01:29:34 -07:00
Chao Xu
0798ea9ff7
remove ReplicationControllerSpec.TemplateRef from v1beta3/types.go and v1/types.go for now
2015-05-28 17:41:47 -07:00
Chao Xu
2f6e5e2e08
Update ContainerState.Termination to ContainerState.Terminated in pkg/api/types.go and pkg/api/v1/types.go
2015-05-28 17:18:24 -07:00
Clayton Coleman
2b8e918ed9
TTL is not preserved automatically during edit
...
Change the signature of GuaranteedUpdate so that TTL can
be more easily preserved. Allow a simpler (no ttl) and
more complex (response and node directly available, set ttl)
path for GuaranteedUpdate. Add some tests to ensure this
doesn't blow up again.
2015-05-28 19:58:17 -04:00
Tim Hockin
9e486be743
Merge pull request #8795 from a-robinson/latency
...
Remove the clientID field from the apiserver request latency metric
2015-05-28 16:55:11 -07:00
Tim Hockin
bade36c7dd
Merge pull request #8826 from markturansky/b2d_fix
...
Fixed setNodeStatus to allow running on pods on OS X
2015-05-28 16:54:42 -07:00
Tim Hockin
da78ab6b63
Merge pull request #8740 from thockin/nix-portal
...
Rename "portalIP" to "clusterIP"
2015-05-28 16:52:02 -07:00
Kris Rousey
22b2c68c02
Update go-restful to get stable sorting in spec
...
This reverts commit 4a7071e7f7
.
2015-05-28 16:43:13 -07:00
Tim Hockin
9a49e8155f
Update generated code
2015-05-28 16:28:18 -07:00
Tim Hockin
ac3cc3c518
Rename PORTAL_NET all over
2015-05-28 16:10:44 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
4a7071e7f7
Revert "Update go-restful to get stable sorting in spec"
2015-05-28 16:04:11 -07:00
Tim Hockin
d355154181
Merge pull request #8556 from kargakis/label-parsing-fix
...
label: Invalidate empty or invalid value labels
2015-05-28 15:54:14 -07:00
Tim Hockin
32bb3ae8f1
Merge pull request #7775 from simon3z/cloud-provider-id
...
api: add the ProviderID attribute to NodeSpec
2015-05-28 15:54:00 -07:00
Tim Hockin
081ab3abac
Merge pull request #8853 from caesarxuchao/HostToNodeName
...
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Tim Hockin
2cadd4c86e
Merge pull request #8906 from justinsb/aws_volume_fixes
...
Fix AWS volumes
2015-05-28 15:30:33 -07:00
Tim Hockin
72c2e3b8a1
Merge pull request #8944 from krousey/go-restful_update
...
Update go-restful to get stable sorting in spec
2015-05-28 15:29:43 -07:00
Tim Hockin
0dab399b6a
Merge pull request #8948 from jlowdermilk/proxy-help
...
update/fix kubectl proxy example in help string
2015-05-28 15:29:11 -07:00
Tim Hockin
1087c12e63
Merge pull request #8909 from wojtek-t/fix_example_selflinks
...
Fix selfLinks in test examples to v1beta3
2015-05-28 15:01:02 -07:00
Tim Hockin
6fbaefdced
Merge pull request #8897 from pweil-/reduce-merge-logging
...
reduce merge logging
2015-05-28 15:00:45 -07:00
Tim Hockin
3830c068b9
Merge pull request #8883 from yujuhong/kubelet_unittest2
...
Kubelet: clean up more unit tests
2015-05-28 15:00:02 -07:00
Tim Hockin
32859c3954
Merge pull request #8778 from kargakis/show-pod-number
...
Show pods number when describing services
2015-05-28 14:59:02 -07:00
Tim Hockin
6d5ccf75dd
Merge pull request #8939 from bcbroussard/describe-nodeport
...
Update NodePort in kubectl describe service
2015-05-28 14:52:47 -07:00
Eric Tune
a271b306b0
Add event about Node when cannot assign CIDR.
2015-05-28 14:51:48 -07:00
Tim Hockin
8da79e1dd5
Merge pull request #8612 from bcbroussard/v1beta3-rc
...
Update replication controller pages to v1beta3 in web ui
2015-05-28 14:51:31 -07:00
Tim Hockin
f53b4a1104
Merge pull request #8611 from bcbroussard/v1beta3-services
...
Update service pages to v1beta3 in web ui
2015-05-28 14:50:57 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Jeff Lowdermilk
75314718eb
update/fix kubectl proxy example in help string
2015-05-28 13:59:39 -07:00
Brendan Burns
9ccd349a7d
Add event generation when create/delete of balancers fails.
2015-05-28 13:51:39 -07:00
Kris Rousey
05eaaa99e1
Update go-restful to get stable sorting in spec
2015-05-28 13:40:23 -07:00
BC Broussard
581f4613c8
Fix NodePort in kubectl describe service
2015-05-28 12:09:31 -07:00
Tim Hockin
b69fad211e
Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones"
2015-05-28 10:23:55 -07:00
BC Broussard
f8762ccd12
Update replication controllers for v1beta3 api
2015-05-28 10:18:03 -07:00
BC Broussard
1fd4050450
Update services for v1beta3 api
2015-05-28 10:03:01 -07:00
Federico Simoncelli
1a41082ca8
cloudprovider: vagrant InstanceID implementation
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 13:02:11 -04:00
Federico Simoncelli
154eccefe2
cloudprovider: openstack InstanceID implementation
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 13:02:11 -04:00
Federico Simoncelli
afcda70190
cloudprovider: gce InstanceID implementation
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 13:02:11 -04:00
Federico Simoncelli
185d0e19d5
cloudprovider: aws InstanceID implementation
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 13:02:11 -04:00
Federico Simoncelli
466a7daaa8
cloudprovider: ovirt InstanceID implementation
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 13:02:11 -04:00
Federico Simoncelli
2a89428d44
api: add the ProviderID attribute to NodeSpec
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 13:01:58 -04:00
Federico Simoncelli
faba12951a
cloudprovider: add support for InstanceID method
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 12:47:50 -04:00
Federico Simoncelli
194343267d
cloudprovider: add the ProviderName method
...
This patch adds the ProviderName method used to identify the cloud
provider.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 12:47:47 -04:00
Quinton Hoole
9b67435cf3
Merge pull request #8899 from roberthbailey/ip-from-metadata
...
For GCE, compute the external IP by using the local metadata server
2015-05-28 08:29:38 -07:00
markturansky
8aa3cb22b5
added pod capacity to node.Status when cadvisor unavailable. defaults to kubelet's pod list length
2015-05-28 10:53:08 -04:00
Wojciech Tyczynski
22f7f05135
Fix selfLinks in examples
2015-05-28 16:47:53 +02:00
Filip Grzadkowski
eb14b68a9c
Improve tracing information by deleting traces from etcd cache and adding information to traces from generic registry.
2015-05-28 16:34:35 +02:00
Justin Santa Barbara
97a312f72c
Fix AWS volume detach
2015-05-28 06:48:19 -04:00
kargakis
93669a6bb5
Show pods number when describing services
2015-05-28 11:24:47 +02:00
kargakis
6c85040cef
expose: Use separate parameters for default and custom name
2015-05-28 11:03:16 +02:00
Wojciech Tyczynski
6ffe46a9e0
Merge pull request #8822 from bprashanth/fifo_rc
...
Wake up rcs when pods get DeletionFinalStateUnknown tombstones
2015-05-28 10:50:28 +02:00
kargakis
fb63ab63bb
label: Invalidate empty or invalid value labels
2015-05-28 10:47:36 +02:00
Wojciech Tyczynski
33318f0162
Use generated DeepCopy methods.
2015-05-28 09:03:27 +02:00
Cesar Wong
684dcd4307
Fix proxying of URLs that end in "/" in the pod proxy subresource
...
Also handles proxying of URLs that have an empty path and don't end in a slash "/" by redirecting to the same location with a slash appended.
2015-05-27 22:12:55 -04:00
Robert Bailey
1dfaa93ccd
For GCE, compute the external IP by using the local metadata
...
server. This is in many ways a revert of #7530 but after auditing
the code I found that this function is now only used to determine
an address of the node where it is currently running.
2015-05-27 17:41:41 -07:00
Brendan Burns
a51747f941
Move SSH code into a common util package. Add support for SSH tunnels.
2015-05-27 16:58:52 -07:00
Prashanth Balasubramanian
8fa66bd962
Delta fifo includes objects in DeleteFinalStateUnknow, rcs stop faster
2015-05-27 16:45:51 -07:00
Tim Hockin
eab1ceccd4
Merge pull request #8628 from jlowdermilk/delete-not-found
...
Delete fails on notfound errors.
2015-05-27 16:26:41 -07:00
Tim Hockin
78621f93aa
Merge pull request #8600 from bcbroussard/v1beta3-pods
...
Update pod pages to v1beta3 in web ui
2015-05-27 16:26:00 -07:00
Tim Hockin
c40dd59130
Merge pull request #8885 from lavalamp/no-ro-kubelettest
...
remove RO port from kubelet test
2015-05-27 16:25:33 -07:00
Tim Hockin
ffabf17ed4
Merge pull request #8604 from brendandburns/kubectl
...
Make exec more consistent with the rest of the kubectl commands.
2015-05-27 16:23:59 -07:00
BC Broussard
040a4cfa8c
Update pods for v1beta3 api
2015-05-27 16:23:57 -07:00
Paul Weil
ae981b73a3
reduce merge logging
2015-05-27 19:12:04 -04:00
Jeff Lowdermilk
3cf4d9b2e6
Delete fails on notfound errors.
...
If deleting multiple resources, command will continue on error and
report not found resources at the end.
2015-05-27 16:02:54 -07:00
BC Broussard
b4ab5eddf0
Update events for v1beta3 api
2015-05-27 15:58:15 -07:00
Tim Hockin
0bea034edb
Merge pull request #8614 from bcbroussard/v1beta3-nodes
...
Update node pages to v1beta3 in web ui
2015-05-27 15:55:44 -07:00
Brendan Burns
2ec4b409e1
Make exec more consistent with the rest of the kubectl commands.
2015-05-27 15:47:32 -07:00
Tim Hockin
d88444cace
Merge pull request #8846 from thockin/session-affinity
...
Fix session affinity in kube-proxy
2015-05-27 15:40:11 -07:00
BC Broussard
69160f3464
Update nodes for v1beta3 api
2015-05-27 15:39:48 -07:00
Tim Hockin
fc8aa104ae
Merge pull request #8670 from jbdalido/nilparameters
...
Quick fix for listPods with nil parameters
2015-05-27 15:39:23 -07:00
Tim Hockin
0721377646
Merge pull request #8596 from andronat/fix_8319
...
Kubectl command renaming (run-container to run and resize to scale)
2015-05-27 15:37:54 -07:00
Tim Hockin
06ed1f8480
Merge pull request #8788 from markturansky/volume_types_recon
...
Fixed json tags for volumes
2015-05-27 15:36:28 -07:00
Tim Hockin
19c6347920
Merge pull request #8616 from bcbroussard/v1beta3-groups
...
Update groups page to v1beta3 in web ui
2015-05-27 15:34:52 -07:00
Daniel Smith
ddcd2c89de
remove RO port from kubelet test
2015-05-27 13:46:32 -07:00
Yu-Ju Hong
d9339fedbe
Modify more tests to use FakeRuntime in kubelet_test.go
2015-05-27 13:01:45 -07:00
Tim Hockin
7b9dbbf29f
Merge pull request #8224 from cjcullen/nodenames
...
Remove /Validate endpoint
2015-05-27 12:43:33 -07:00
Yu-Ju Hong
697312bcd7
Migrate more docker-specific tests to dockertools/manager_test.go
2015-05-27 12:42:59 -07:00
Tim Hockin
f69eb0af67
Merge pull request #8831 from a-robinson/tp
...
Adjust the sleep time before tearing down e2e clusters and add a rough formula
2015-05-27 12:42:49 -07:00
Tim Hockin
b74786c1b6
Merge pull request #8865 from derekwaynecarr/fix_kube_push
...
Fix Vagrant node registration and kube-push
2015-05-27 12:42:13 -07:00
markturansky
60b9652500
added generated deep copy funcs
2015-05-27 13:58:29 -04:00
BC Broussard
5f53f34931
Update groups for v1beta3 api
2015-05-27 10:27:31 -07:00
markturansky
d338a7eaea
rebased and added 'omitempty' to new volumes
2015-05-27 13:21:48 -04:00
markturansky
e15fd2b0e7
normalized omitempty across volumes for all versions
2015-05-27 13:13:19 -04:00
markturansky
f7ede60045
normalized json tags across volumes
2015-05-27 13:12:40 -04:00
Anastasis Andronidis
9e3a540940
rename resize to scale
2015-05-27 19:08:06 +02:00
Anastasis Andronidis
d4a47bdb9e
rename run-container to run in kubectl
2015-05-27 19:07:17 +02:00
markturansky
ce840a3dd8
generated deepy copy funcs
2015-05-27 13:05:24 -04:00
Yu-Ju Hong
044894665d
Delete TestSyncPodsDeletes in kubelet_test.go
...
This test verifies that kubelet doesn't kill non-kubelet-managed containers.
This is obsolete now since container runtime provides only the KillPod
function, and has no support for killing a container.
2015-05-27 10:02:52 -07:00
Yu-Ju Hong
ef5bef914f
Kubelet: switch cadvisor-related unit tests to use FakeRuntime
2015-05-27 09:58:50 -07:00
Tim Hockin
b8a808b1ae
Merge pull request #8592 from RichieEscarez/5057_restartpolicy_default
...
5057 restartpolicy default
2015-05-27 09:40:34 -07:00
Tim Hockin
b9bfce432c
Merge pull request #8026 from andronat/fix_7478
...
Warns the user for deprecated flags that use _ separators
2015-05-27 09:30:18 -07:00
Tim Hockin
0bbba1c3d1
Merge pull request #8732 from markturansky/missing_pv_support
...
Fixed CanSupport func across all volumes (for PV)
2015-05-27 08:45:47 -07:00
Tim Hockin
a15c69798b
Merge pull request #8582 from deads2k/add-pull-secrets-to-service-account
...
add pull secrets to service accounts
2015-05-27 08:40:46 -07:00
Tim Hockin
d10e1ab474
Merge pull request #8548 from bcbroussard/web-ui-menu
...
Added Hover to Views Menu in Web UI
2015-05-27 08:39:09 -07:00
Tim Hockin
57df04ed72
Merge pull request #8149 from pmorie/container-env-resolution
...
Expand variables in containers' env, cmd, args
2015-05-27 08:37:02 -07:00
Tim Hockin
d0249aac75
Merge pull request #8133 from markturansky/iscsi_pv2
...
added ISCSI volume plugin to PersistentVolumeSource
2015-05-27 08:36:37 -07:00
derekwaynecarr
2f1dd9228f
Fix Vagrant node registration and kube-push
2015-05-27 10:50:57 -04:00
Piotr Szczesniak
cd2c7e16d7
Merge pull request #8320 from wojtek-t/generated_deep_copy
...
Code to automatically generate functions for DeepCopy
2015-05-27 13:14:07 +02:00
Anastasis Andronidis
5eae2378d6
Warn for every _ flag user or cmd defined
...
also renames all global _ flags to -
2015-05-27 11:23:52 +02:00
Paul Morie
8b338860aa
Make kubelet expand var refs in cmd, args, env
2015-05-27 00:13:57 -04:00
Victor Marmol
9a2630ac6e
Make system container name configurable.
2015-05-26 20:49:55 -07:00
Victor Marmol
ddec34a000
Have the ContainerManager create a system container.
...
The system container is a resource-only container which contains all
non-kernel processes that are not already part of a container. This will
allow monitoring of their resource usage and limiting it (eventually).
2015-05-26 20:49:55 -07:00
Saad Ali
ee82d469c6
Merge pull request #8679 from jlowdermilk/rolling-update-stdin
...
Make rolling-update actually parse filenames from stdin
2015-05-26 18:55:12 -07:00
Saad Ali
8e25670c07
Merge pull request #8688 from markturansky/nfs_missing_pv
...
Fixed NFS CanSupport func for PVs
2015-05-26 18:48:31 -07:00
Saad Ali
9ca4fb40dc
Merge pull request #8844 from yujuhong/kubelet_unittest
...
Kubelet: clean up unit tests
2015-05-26 18:29:48 -07:00
Tim Hockin
bd2314fa78
Fix session affinity in kube-proxy
2015-05-26 17:19:29 -07:00
Yu-Ju Hong
9a71fb9373
Kubelet: clean up kubelet_test.go
...
* Start using FakeRuntime to replace FakeDockerClient in unit tests.
* Move and adapt docker-specific tests (e.g. creating/deleting infra
containers) to manager_test.go in dockertools.
2015-05-26 17:11:24 -07:00
Yu-Ju Hong
8ea88d58d4
Kubelet: make FakeRuntime implement Runtime
...
We should start using FakeRuntime in kubelet_test.go. First, make it implement
Runtime correctly.
2015-05-26 16:49:46 -07:00
Saad Ali
c8d2026fa4
Merge pull request #8737 from pmorie/volume-doc
...
Add doc.go files for all volume plugins
2015-05-26 14:53:35 -07:00
Alex Robinson
9d61a95464
Adjust the sleep time before tearing down e2e clusters and add a rough formula
...
for determining how long the sleep should be.
2015-05-26 21:09:05 +00:00
BC Broussard
edc6c02960
Add hover state to views dropdown in web ui
2015-05-26 13:47:24 -07:00
Wojciech Tyczynski
e7dbac53cb
Generate DeepCopy methods
2015-05-26 21:17:11 +02:00
Wojciech Tyczynski
b2280db724
Deep-copy functions autogeneration.
2015-05-26 21:16:26 +02:00
Saad Ali
caf5b5f059
Merge pull request #8819 from cjcullen/notready
...
Report node.Ready == false until cbr0 is configured correctly
2015-05-26 11:44:39 -07:00
Saad Ali
c8b7fe33c6
Merge pull request #8787 from BenTheElder/fix_proxysocket_year
...
Correct copyright in proxysocket.go
2015-05-26 11:05:26 -07:00
CJ Cullen
36d54b2094
Remove /Validate endpoint
2015-05-26 10:49:18 -07:00
CJ Cullen
197115853e
Report node.Ready == false until cbr0 is configured correctly
2015-05-26 10:48:29 -07:00
Saad Ali
7493ed0fca
Merge pull request #8786 from pmorie/secret-tests
...
Add tests for secret volume plugin reboot/idempotency
2015-05-26 09:57:31 -07:00
Saad Ali
b7e0cc4105
Merge pull request #8634 from csrwng/rename_pod_log
...
Rename 'kubectl log' to 'kubectl logs'
2015-05-26 09:55:42 -07:00
Saad Ali
c5525ecfdc
Merge pull request #8704 from roberthbailey/dead-flags
...
Deprecate flags for nodecontroller
2015-05-26 09:54:01 -07:00
Filip Grzadkowski
967b1b95ba
Add very simple tracing mechanism for easier debugging of slow requests.
2015-05-26 16:17:18 +02:00
Cesar Wong
cb872e9243
Rename 'kubectl log' to 'kubectl logs'
2015-05-26 08:28:16 -04:00
Filip Grzadkowski
39483ffa90
Merge pull request #8779 from wojtek-t/failing_rc_delete
...
Increase timeout for deleting RC in e2e tests.
2015-05-26 01:43:34 -07:00
Alex Robinson
0339f68273
Remove the clientID field from the apiserver request latency metric.
2015-05-25 20:31:25 -07:00
Paul Morie
feb0880b1e
Add tests for secret volume plugin reboot/idempotency
2015-05-25 13:34:07 -04:00
BenTheElder
d223b795f3
Correct copyright in proxysocket.go
...
I created this file earlier this year. It should say 2015 not 2014.
2015-05-25 12:00:50 -04:00
Wojciech Tyczynski
ff8c772fe0
Increase timeout for deleting RC in e2e tests.
2015-05-25 11:51:11 +02:00
Marek Grabowski
f5a3f7d17f
Merge pull request #8721 from smarterclayton/incorrect_description
...
Description of ImagePullPolicy wrong in v1(beta3)
2015-05-25 10:50:44 +02:00
Paul Morie
38c96725c0
Add doc.go files for all volume plugins
2015-05-23 16:59:12 -04:00
Justin Santa Barbara
4b9b7ec2f9
Continue to support (deprecated) publicIPs
...
Not doing so breaks e2e tests and people that may be using them,
even though we will eventually want to stop supporting this now
that we have better alternatives for typical use cases (NodePort)
2015-05-23 16:37:27 -04:00
markturansky
3ad583cf2d
Fixed spotty CanSupport for PV and added more unit tests for same
2015-05-23 09:59:05 -04:00
Dawn Chen
8d6d03b4a4
Merge pull request #8707 from justinsb/nodeport
...
WIP: ServiceType & NodePort work
2015-05-22 16:46:59 -07:00
Clayton Coleman
3db9f0528a
Description of ImagePullPolicy wrong in v1(beta3)
2015-05-22 19:35:26 -04:00
Justin Santa Barbara
ada6882373
Add conversions for CreateExternalLoadBalancer for v1beta1 and v1beta2
2015-05-22 19:26:54 -04:00
Justin Santa Barbara
19c0d82edc
Include the actual failing value in a validation error message
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
bb697cee7e
Clear LoadBalancerStatus both on LB delete and on update in the API
...
Although it takes some time to destroy a load balancer, we hide this complexity
from the user.
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
a271771341
Richer errors for validation
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
9255770068
Fix a few occurences of old language (e.g. visibility -> ServiceType)
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
7346cc8042
Add ServiceType = NodePort; wire everything up
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
03cdc077c3
Wire up the portallocator to service NodePorts
...
We still don't actually enable this though!
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
3bb2fe2425
Create port allocator, based on IP allocator mechanism
...
Including some refactoring of IP allocator
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
e49ad95462
Mark PublicIPs as deprecated & rename to DeprecatedPublicIPs in the latest API
...
We need to keep them in the API so that we can round-trip between versions.
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
2197c8da5a
Add NodePort to ServicePort
...
We prevent it from being set by validation
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00
Dawn Chen
e58674b3cc
Merge pull request #8579 from roberthbailey/kubelet-unit-tests
...
Fix kubelet tests for systems without functional dns to look up localhost
2015-05-22 15:50:39 -07:00
Justin Santa Barbara
3884d5fc59
Add LoadBalancer status to ServiceStatus
...
This will replace publicIPs
2015-05-22 18:27:05 -04:00
Robert Bailey
d0bcf953e9
Deprecate the following flags for node-controller:
...
--node-milli-cpu
--node-memory
--machines
--minion-regexp
--sync-nodes
Remove the following flags from the standalon kubernetes binary:
--node-milli-cpu
--node-memory
2015-05-22 15:18:36 -07:00
Dawn Chen
b31505bfba
Merge pull request #8646 from andronat/failed_test_TestCreateMissingContext
...
Test fails when arbitrary kubernetes master is set
2015-05-22 14:56:53 -07:00
Dawn Chen
5c8db5a76a
Merge pull request #8629 from jlowdermilk/clientcmd-api
...
Remove pkg/api dependency from pkg/client/clientcmd/api
2015-05-22 14:50:51 -07:00
Robert Bailey
3302628db3
Fix kubelet tests for systems without functional dns to look up localhost.
2015-05-22 14:32:51 -07:00
Justin Santa Barbara
1ad4549f5f
Proxy infrastructure for NodePorts
...
A service with a NodePort set will listen on that port, on every node.
This is both handy for some load balancers (AWS ELB) and for people
that want to expose a service without using a load balancer.
2015-05-22 17:21:49 -04:00
Dawn Chen
97727267c6
Merge pull request #8574 from bprashanth/apiserver_rand
...
Randomize apiserver timeout
2015-05-22 13:13:59 -07:00
Dawn Chen
1131ac9ae8
Merge pull request #8332 from preillyme/fix_breadcrumbs
...
Restore missing WebUI breadcrumbs after refactor
2015-05-22 13:10:34 -07:00
Dawn Chen
17ac4b1dfc
Merge pull request #8297 from iterion/switch-to-aws-sdk-go
...
AWS: Switch to aws-sdk-go
2015-05-22 12:31:07 -07:00
Dawn Chen
cc6a31354e
Merge pull request #8169 from kargakis/expose-use-resource-builder
...
expose: Use resource builder
2015-05-22 12:29:24 -07:00
Dawn Chen
677a4aa1a7
Merge pull request #8164 from cjcullen/cloudprovider
...
Route creation reconciler loop.
2015-05-22 12:27:50 -07:00
markturansky
63ddfa537e
fixed missing PV check in CanSupport
2015-05-22 15:23:34 -04:00
markturansky
77c39edcc9
rebased and regenerated conversions
2015-05-22 15:18:48 -04:00
markturansky
5b23fc39b2
added ISCSI volume plugin to PersistentVolumeSource
2015-05-22 15:18:20 -04:00
markturansky
4f88d418c8
Added missing PV support to NFS
2015-05-22 15:10:40 -04:00
Dawn Chen
e0092a1c23
Merge pull request #8633 from thockin/probe-logs
...
reduce verbosity of log line
2015-05-22 11:10:33 -07:00
Dawn Chen
434a9ff57b
Merge pull request #8552 from thockin/rc-default-1
...
Change v1 API to default RC replicas to 1
2015-05-22 11:10:01 -07:00
deads2k
590bd048a5
add pull secrets to service accounts
2015-05-22 14:05:19 -04:00
Dawn Chen
967495659b
Merge pull request #8304 from bcbroussard/web-ui-v1beta3
...
Web UI v1beta3 conversion
2015-05-22 10:36:14 -07:00
Dawn Chen
ddbf851b6e
Merge pull request #8000 from bprashanth/rc_ttl_cleanup
...
Delete expectations of a deleted rc instead of letting them expire
2015-05-22 10:33:09 -07:00
Dawn Chen
8a14296145
Merge pull request #7024 from kazegusuri/all_namespace
...
Allow kubectl to handle all namespace
2015-05-22 10:15:30 -07:00
Quinton Hoole
6d8eaa924e
Merge pull request #7852 from a-robinson/tp
...
Prevent stranding of partial load balancers resources
2015-05-22 10:12:30 -07:00
Clayton Coleman
3f66321e13
Merge pull request #8618 from kargakis/resize-enable-slash-syntax
...
resize: Enable resource type/name syntax
2015-05-22 13:05:25 -04:00
RichieEscarez
0076c181c7
Edited to add the default restart policy (always) to clarify value if RestartPolicy is not set.
...
Generated new .json output for Swagger UI
Added the api/v1/v1.json file to the hack/update-swagger-spec.sh script so it gets updated and built.
Fixes #5057
Reverting last change: Deleted line for building v1 api from the build file update-swagger-ui.sh and deleted the output file from build (v1.json).
2015-05-22 10:03:12 -07:00
Clayton Coleman
dcbe815825
Merge pull request #8671 from kargakis/bump-timeout-back
...
bump timeout back to previous time
2015-05-22 12:57:55 -04:00
Jeff Lowdermilk
e1936d57f8
Make rolling-update actually parse filenames from stdin
2015-05-22 09:44:00 -07:00
kargakis
d2d1e5bf48
bump timeout back to previous time
2015-05-22 17:05:24 +02:00
Masahiro Sano
c2514a7524
print namespace with name in single column if withNamespace specified
2015-05-22 23:25:12 +09:00
Masahiro Sano
8ce64ec69e
add --all-namespaces flag to request across all namespaces
2015-05-22 23:25:12 +09:00
jbdalido
6ea63e69ce
fix for listPods with nil parameters
2015-05-22 16:21:13 +02:00
markturansky
bcd3c5a80f
fixed PV describe
2015-05-22 08:40:43 -04:00
Prashanth Balasubramanian
8a5445d3db
Randomize apiserver watch timeouts
2015-05-21 20:52:33 -07:00
CJ Cullen
e6da5b9601
Make routecontroller_test less hacky.
...
Rename reconcilePodCIDRs to reconcileNodeCIDRs.
Add comments and TODOs about using controller framework.
2015-05-21 18:05:11 -07:00
Anastasis Andronidis
66a758b85d
Test fails when env variables are set
2015-05-22 01:12:55 +02:00
Clayton Coleman
f3dd404bc6
Merge pull request #6578 from rootfs/wip-rbd
...
add Ceph rados block device (rbd) volume plugin
2015-05-21 18:17:54 -04:00
BC Broussard
90d22c48b4
Add v1beta3 api call to web ui
...
Update mocks to v1beta3
2015-05-21 13:51:59 -07:00
Zach Loafman
7196ace711
Merge remote-tracking branch 'upstream/release-0.17' into merge-release-0.17-to-master
2015-05-21 13:26:42 -07:00
Tim Hockin
a29240f2c5
reduce verbosity of log line
2015-05-21 13:09:18 -07:00
David Oppenheimer
6b428ef1a8
Merge pull request #7170 from simon3z/node-events
...
Node events recording fixes
2015-05-21 12:54:38 -07:00
Tim Hockin
fd07de6ed6
Change v1 API to default RC replicas to 1
2015-05-21 12:40:59 -07:00
Huamin Chen
4a800fd10e
add rados block device(rbd) volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-05-21 14:51:31 -04:00
Jeff Lowdermilk
4ef79733b6
Remove pkg/api dependency from pkg/client/clientcmd/api
2015-05-21 11:47:50 -07:00
Derek Carr
9b1fb6dca1
Merge pull request #8233 from csrwng/connect_adm_ctrl
...
Admission control to prevent exec on privileged pods
2015-05-21 14:35:28 -04:00
Dawn Chen
eaba2c1ab4
Merge pull request #8599 from caesarxuchao/minions-to-nodes
...
in docs, update "minions" to "nodes"
2015-05-21 11:34:36 -07:00
Dawn Chen
bd335aa57d
Merge pull request #8577 from wojtek-t/fix_conversion_order
...
Fix ordering of conversion methods so that it's deterministic
2015-05-21 11:31:19 -07:00
Cesar Wong
328b1d0817
Add admission control to the Connect method in the API Server
...
The resource passed to admission control is a ConnectRequest object
which includes additional information about the current request.
2015-05-21 13:54:45 -04:00
Cesar Wong
68ad63b5e2
Add operation checking to admission control handlers
...
Adds a new method to the handler interface that returns true only if the
admission control handler handles that operation.
2015-05-21 13:51:43 -04:00
Wojciech Tyczynski
de0a1d179f
Fix ordering of conversion methods.
2015-05-21 19:41:48 +02:00
Daniel Smith
80c3506484
Merge pull request #8494 from liggitt/gate_tokens_controller
...
Wait until stores are filled before processing service account token events
2015-05-21 10:29:53 -07:00
Zach Loafman
6e65b9613c
Kubernetes version v0.17.1-dev
2015-05-21 10:19:15 -07:00
Zach Loafman
7565d411c4
Kubernetes version v0.17.1
2015-05-21 10:19:06 -07:00
Tim Hockin
2fb5472e19
Revert "Introduce an 'svc' segment for DNS search"
2015-05-21 10:16:44 -07:00
Chao Xu
bda5e4376e
in docs, update "minions" to "nodes"
2015-05-21 09:59:40 -07:00
Dawn Chen
fdb44a9ad2
Merge pull request #8602 from caesarxuchao/rC-to-rc
...
in docs, update replicationController to replicationcontroller
2015-05-21 09:49:35 -07:00
Dawn Chen
8fe43514ea
Merge pull request #8591 from GoogleCloudPlatform/revert-8564-revert-8404-messageEmptyKind
...
Revert "Revert "Enhance error message from kubectl when 'kind' is emp…
2015-05-21 09:47:34 -07:00
Dawn Chen
475709a59c
Merge pull request #8583 from markturansky/pv_search_bug
...
Fixed PersistentVolume search bug
2015-05-21 09:45:55 -07:00
Dawn Chen
b5c1098cb6
Merge pull request #8576 from a-robinson/svc
...
Fix misordered assignment in service controller
2015-05-21 09:38:08 -07:00
Dawn Chen
017fb6a818
Merge pull request #8575 from yifan-gu/kube_refactor
...
Minor kubelet/rkt refactors
2015-05-21 09:37:31 -07:00
Dawn Chen
49bf1ec0a1
Merge pull request #8573 from deads2k/fix-check-err
...
tolerate fatals without newlines
2015-05-21 09:34:58 -07:00
Dawn Chen
77da4f761f
Merge pull request #8562 from kargakis/replica-sorting
...
Skip sorting if all pods will be deleted
2015-05-21 09:32:13 -07:00
Dawn Chen
220208942e
Merge pull request #8560 from kargakis/reduce-poll-interval-for-stop
...
Reduce reaper poll interval and wait while resizing
2015-05-21 09:30:10 -07:00
Dawn Chen
0710976d43
Merge pull request #8490 from thockin/diff-proto
...
Allow same-hostport-different-protocol
2015-05-21 09:16:16 -07:00
Dawn Chen
ad47b2d29d
Merge pull request #8483 from liggitt/etcd_test
...
Update generic etcd tests for cluster-scoped objects
2015-05-21 09:13:44 -07:00
Dawn Chen
9f4fb35c16
Merge pull request #8472 from nikhiljindal/statusName
...
v1: Updating StatusDetails.ID to Name
2015-05-21 09:12:42 -07:00
Dawn Chen
9a5b05312f
Merge pull request #8238 from thockin/probe-logs
...
Better kubelet logging for probes
2015-05-21 09:11:11 -07:00
kargakis
6424a2bc63
resize: Enable resource type/name syntax
...
Also don't allow more than one objects in commands it makes sense
2015-05-21 17:39:01 +02:00
Jordan Liggitt
49ceb82179
Wait until stores are filled before processing service account token events
2015-05-20 22:19:42 -04:00
Chao Xu
5b8b5a0844
in docs, update replicationController to replicationcontroller
2015-05-20 17:31:15 -07:00
Federico Simoncelli
fefc65164a
kubelet: fix node ready condition logic
...
Fixes #8585
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-20 20:03:57 -04:00
Federico Simoncelli
2f503c57a5
nodecontroller: improve node status event recording
...
This patch substitutes the misleading reason "unknown" for the event
recording. For symmetry with kubelet's message "online" the conditions
Unknown and False are reported as "offline".
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-20 18:46:01 -04:00
Federico Simoncelli
21c57a5633
nodecontroller: remove unused ready event recording
...
It's not nodecontroller setting the node to Ready so it's impossible to
reach this condition.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-20 18:45:58 -04:00
kargakis
30958f892d
expose: Use resource builder
...
Plus:
* Rename flag --service-name to --name
* Some refactoring
2015-05-20 23:55:07 +02:00
Clayton Coleman
0a28e50511
Revert "Revert "Enhance error message from kubectl when 'kind' is empty""
2015-05-20 17:32:23 -04:00
CJ Cullen
0d12a15971
Route creation reconciler loop.
2015-05-20 14:21:30 -07:00
CJ Cullen
bf646abf8d
Revert "Revert "Modify nodes to register directly with the master.""
...
This reverts commit c53786ab31
.
2015-05-20 14:21:03 -07:00
Quinton Hoole
c53786ab31
Revert "Modify nodes to register directly with the master."
2015-05-20 13:47:51 -07:00
markturansky
1433aee88d
fixed search bug by making an explicit pass to filter bound volumes
2015-05-20 15:27:41 -04:00
Yifan Gu
6a5681e0fe
kubelet: Move HashContainer to kubelet/container package.
2015-05-20 12:08:32 -07:00
kargakis
99655b342f
Reduce reaper poll interval and wait while resizing
...
When reaping a replication controller that handles an arbitrary amount of replicas, missing an interval means that `kubectl stop|delete` have to wait 3 more seconds to finish which seems more expensive from a user pov than a GET per 100ms.
Also I think `kubectl resize` should wait for all replicas to spin up before exiting. Feels more safe to know that your replication controller status is up to date.
2015-05-20 20:49:29 +02:00
nikhiljindal
e92a42b57f
Renaming StatusDetails.ID to Name
2015-05-20 11:35:38 -07:00
Alex Robinson
4214b76924
Fix misordered assignment in service controller
2015-05-20 11:51:48 -06:00
deads2k
cd817aebd8
tolerate fatals without newlines
2015-05-20 13:15:49 -04:00
Tim Hockin
9117a757e2
Revert "Introduce an 'svc' segment for DNS search"
2015-05-20 09:04:15 -07:00
Tim Hockin
75617e8760
Better kubelet logging for probes
...
Log when we actually run probes and event when they fail. Print the output of
a probe, too.
2015-05-20 08:56:45 -07:00
Adam Sunderland
ad9f2d7a56
Fix Some AWS Issues
2015-05-20 10:42:27 -05:00
Clayton Coleman
633c56f8c0
Revert "Enhance error message from kubectl when 'kind' is empty"
2015-05-20 10:32:56 -04:00
kargakis
b4c3318efd
Skip sorting if all pods will be deleted
2015-05-20 15:20:25 +02:00
feihujiang
6c8a1cdb17
Enhance error message from kubectl when 'kind' is empty
...
Enhance error message from kubectl when 'kind' is empty
Enhance error message
2015-05-20 15:23:47 +08:00
Yu-Ju Hong
8f62dd2451
Merge pull request #8482 from smarterclayton/serialization_wrong
...
Serialization of 'IP' in endpoints should be 'ip'
2015-05-19 12:02:19 -07:00
Tim Hockin
97abc19810
Merge pull request #8299 from thockin/import-names
...
rename imported pkgs for readability
2015-05-19 12:01:57 -07:00
Eric Tune
1f4172d23c
Merge pull request #6949 from roberthbailey/node-register
...
Modify nodes to register directly with the master.
2015-05-19 11:29:43 -07:00
Dawn Chen
349d8b1a67
Merge pull request #8491 from vmarmol/fix-isolation
...
Fix setting resource isolation in Docker 1.6+
2015-05-19 11:26:27 -07:00
Tim Hockin
cb49843ccb
Merge pull request #8140 from vishh/namespace
...
Update Namespace names to follow DNS label format
2015-05-19 11:25:32 -07:00
Tim Hockin
270c031bec
Merge pull request #8484 from thockin/proxier-old-iptables
...
Clean up old iptables (pre-ip-per-service) legacy
2015-05-19 11:21:46 -07:00
Tim Hockin
70c94fad6d
Don't rename api imports in conversions
2015-05-19 11:21:21 -07:00
Tim Hockin
d689ba9b01
Rename versioned pkg imports in defaults tests
2015-05-19 11:18:55 -07:00
Vishnu Kannan
d10af89493
Updating namespaces to be DNS labels instead of DNS names.
2015-05-19 11:09:09 -07:00
Prashanth Balasubramanian
c0a8981b74
Delete expectations of a deleted rc instead of letting them expire
2015-05-19 11:01:45 -07:00
Daniel Smith
181124bc9b
Merge pull request #7974 from deads2k/attach-pull-secrets-to-pods
...
Attach pull secrets to pods
2015-05-19 10:26:39 -07:00
Tim Hockin
711fa2f2c6
fix
2015-05-19 10:17:53 -07:00
Alex Robinson
dbf224475d
Require DeleteTCPLoadBalancer to be idempotent and change the service
...
controller to rely on that, so that we won't strand partial resources
from them anymore (target pools in GCE, pools in OpenStack, etc.).
2015-05-19 17:06:54 +00:00
Alex Robinson
dc2f10d51b
Make openstack's impl of DeleteTCPLoadBalancer idempotent with respect
...
to load balancers having already been deleted.
2015-05-19 17:06:50 +00:00
Tim Hockin
c7bf373d98
Allow same-hostport-different-protocol
2015-05-19 10:00:35 -07:00
Robert Bailey
01467e0bb8
Modify nodes to register directly with the master.
...
- Delete nodes when they are no longer ready and don't exist in the
cloud provider.
- Label each node with it's hostname.
- Add flag to skip node registration.
- Add a test for registering an existing node.
2015-05-19 09:55:07 -07:00
Tim Hockin
9f808d8e16
Merge pull request #8498 from justinsb/proxier_lock_cleanupstalestickysessions
...
Add mutex lock to cleanupStaleStickySessions
2015-05-19 09:51:37 -07:00
deads2k
72c0709f18
reduce scope of DockerConfigEntryWithAuth
2015-05-19 12:41:03 -04:00
Victor Marmol
deaa0e569d
Set CPU and memory in Create() and Start().
...
This allows for backwards and forwards compatability since old Docker
versions expect it in Create() and newer ones do so in Start().
Fixes #8358
2015-05-19 09:26:15 -07:00
Brian Grant
2c81050e6f
Merge pull request #8457 from davidopp/master
...
Fix stylistic isues with #5547 . Closes #4910 .
2015-05-19 07:43:21 -07:00
Justin Santa Barbara
2473a81412
Add mutex lock to cleanupStaleStickySessions
...
Proxier.serviceMap is supposed to be guarded by the mutex
2015-05-19 09:11:05 -04:00
deads2k
5458f05679
create LocalObjectReference
2015-05-19 08:39:46 -04:00
David Oppenheimer
44b1e1ca0c
Fix stylistic isues with #5547 . Closes #4910 .
2015-05-18 23:32:06 -07:00
Tim Hockin
b64868f23b
Clean up old iptables (pre-ip-per-service) legacy
2015-05-18 20:27:40 -07:00
Jordan Liggitt
a6401fa433
Update generic etcd tests for cluster-scoped objects
2015-05-18 23:17:51 -04:00
Clayton Coleman
2e8b7f9797
Serialization of 'IP' should be 'ip'
...
CamelCase rules are "initialsUpperCase"
2015-05-18 22:56:12 -04:00
Brian Grant
03535478a2
Merge pull request #8440 from thockin/api-type-names
...
Rename a few API types (non-breaking change)
2015-05-18 18:48:16 -07:00
Victor Marmol
c5da035d51
Merge pull request #8421 from yujuhong/active_deadline
...
Kubelet: move active deadline check to per pod worker
2015-05-18 17:42:21 -07:00
Tim Hockin
2307350d1b
Merge pull request #8443 from wojtek-t/conversion_improvements
...
Script for regenerate auto-generated conversions.
2015-05-18 17:24:08 -07:00
Tim Hockin
65833e42c4
rename CapabilityType Capability
2015-05-18 17:21:30 -07:00
Tim Hockin
fd22f48f5b
rename StorageType StorageMedium
2015-05-18 17:21:30 -07:00
Tim Hockin
f66ca25d9f
Rename AccessMode to PersistentVolumeAccessMode
2015-05-18 17:21:30 -07:00
Tim Hockin
a548d542db
Rename AffinityType to ServiceAffinity
2015-05-18 17:21:30 -07:00
Wojciech Tyczynski
9a93206774
Script for automatically generate conversions.
2015-05-19 02:17:58 +02:00
Victor Marmol
1e1092ddbc
Merge pull request #8461 from pmorie/rkt
...
rename rkt makeruntimePod
2015-05-18 17:12:05 -07:00
Nikhil Jindal
fadc76422a
Merge pull request #8437 from caesarxuchao/kubectl_run-container-doc
...
update the docs for kubectl-run-container to v1beta3
2015-05-18 16:41:14 -07:00
Paul Morie
a58c7a0de7
rename rkt makeruntimePod
2015-05-18 19:24:10 -04:00
Daniel Smith
c72eedf50a
Merge pull request #8138 from bprashanth/rc_race
...
Check expectations before filtering through active pods.
2015-05-18 15:36:21 -07:00
Daniel Smith
5e056f119d
Merge pull request #6694 from bprashanth/bench
...
Add a simple master benchmark and a wrapper to run it.
2015-05-18 14:42:24 -07:00
Vish Kannan
c5f7ee6f96
Merge pull request #8430 from vmarmol/logging
...
Don't run OOM watcher is cAdvisor is not available.
2015-05-18 14:41:24 -07:00
Victor Marmol
832842a22e
Merge pull request #8436 from yujuhong/rm_poddirs
...
Kubelet: do not remove directories of terminated pods
2015-05-18 14:21:58 -07:00
Chao Xu
013130f150
update the docs for kubectl-run-container to v1beta3
2015-05-18 13:29:24 -07:00
Yu-Ju Hong
2bf0646c76
Kubelet: do not remove directories of terminated pods
...
We recently changed `SyncPods` to filter out terminated pods at the beginning
for two reasons:
* performance: kubelet no longer keeps goroutines to checks containers for
terminated pods.
* correctness: kubelet relies on inspecting dead containers to generate
pod status. Because dead containers may get garbage collected and
kubelet does not have checkpoints yet, syncing terminated pod could
lead to modifying the status of a terminated pod.
However, even though kubelet should not *sync* the terminated pods, it
should not attempt to remove the directories and volumes for such
pods as long as they have not been deleted. This change fixes aggresive
directory removal by passing all pods (including terminated pods) to the
cleanup functions.
2015-05-18 13:23:49 -07:00
deads2k
0c14e0cbdb
add pull secret references to pods
2015-05-18 16:18:16 -04:00
Brendan Burns
c4ab34f7f9
Merge pull request #8368 from bcbroussard/web-ui-updates
...
Update web ui listing pages
2015-05-18 13:16:54 -07:00
Wojciech Tyczynski
d7834f5033
Merge pull request #8414 from pweil-/dedupe-sc
...
remove deprecated fields from v1 types
2015-05-18 12:57:38 -07:00
Victor Marmol
4a1100bb66
Don't run OOM watcher is cAdvisor is not available.
...
Fixes #8424 .
2015-05-18 12:18:12 -07:00
Victor Marmol
a7341cfb77
Merge pull request #8386 from smarterclayton/make_kubelet_consumable
...
Make it easier to reuse kubelet server code
2015-05-18 11:26:55 -07:00
Daniel Smith
6dbecc2a33
Merge pull request #8165 from feihujiang/checkjsonformat
...
Check json format firstly
2015-05-18 11:24:56 -07:00
Daniel Smith
c27999da07
Merge pull request #7966 from deads2k/add-dockercfg-secrets
...
add dockercfg secret types
2015-05-18 11:24:02 -07:00
Victor Marmol
45874d5f76
Merge pull request #5547 from gmarek/client3
...
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-18 11:11:43 -07:00
Paul Weil
ad4e4c90ce
remove deprecated fields from v1 types
2015-05-18 14:07:36 -04:00
Yu-Ju Hong
050b8ba60b
Kubelet: move active deadline check to per pod worker
...
Per-pod workers have sufficient knowledge to determine whether a pod has
exceeded the active deadline, and they set the status at the end of each sync.
Move the active deadline check to generatePodStatus so that per pod workers
can update the pod status directly. This eliminates the possibility of a race
condition where both SyncPods and the pod worker are updating the status, which
could lead to temporary erratic pod status behavior (pod phase: failed ->
running -> failed).
2015-05-18 10:52:41 -07:00
Yu-Ju Hong
25668ccc11
Kubelet: remove the getPodstatus method
...
Pod statuses are periodically writtien to the status manager, and status
manager sets the start time of the pod. All non-status-modifying code should
perform cache lookup and should not attempt to generate pod status on its own.
2015-05-18 10:52:36 -07:00
Vish Kannan
969023f3ec
Merge pull request #8389 from smarterclayton/chatty_endpoints_controller
...
Endpoints controller is logging too much
2015-05-18 09:40:57 -07:00
Satnam Singh
26b27b5e0f
Merge pull request #8374 from jimmidyson/docker-log-symlink-separator
...
Docker log symlinks should use underscore separator
2015-05-18 08:59:07 -07:00
Victor Marmol
0e804b03a4
Merge pull request #8220 from thockin/label-validation
...
Add test case for qname validation, fix impl
2015-05-18 08:40:56 -07:00
Victor Marmol
4ba22e713a
Merge pull request #8296 from jlowdermilk/gen-analytics
...
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Victor Marmol
bf912e0d82
Merge pull request #8338 from nikhiljindal/omitEmpty
...
Fixing the omitempty tag
2015-05-18 08:39:47 -07:00
Victor Marmol
fa716a1b48
Merge pull request #8344 from jlowdermilk/clientcmd-api
...
Remove dependency on pkg/api from pkg/client/clientcmd/api
2015-05-18 08:39:18 -07:00
Victor Marmol
315d9a32a7
Merge pull request #8380 from justinsb/visibility_1_util_portrange
...
Add util.PortRange, so that a port range can be a flag. Format: lo-hi
2015-05-18 08:37:57 -07:00
Victor Marmol
90d6080fe8
Merge pull request #8392 from liggitt/ttlfunc
...
Pass correct update flag to TTLFunc
2015-05-18 08:36:19 -07:00
Victor Marmol
618c5c567f
Merge pull request #8400 from a-robinson/bug
...
Properly handle nil cached services in the service controller's node reconciler
2015-05-18 08:35:50 -07:00
Clayton Coleman
3b10d82864
Merge pull request #8391 from liggitt/etcd_token_lookup
...
Make serviceaccount/token lookup more flexible
2015-05-18 11:08:30 -04:00
Clayton Coleman
485a420326
Merge pull request #8257 from liggitt/multi_user_controller
...
Allow ServiceAccountsController to manage multiple named service accounts
2015-05-18 10:39:50 -04:00
Clayton Coleman
a2e4f95e32
Merge pull request #8269 from smarterclayton/add_proxier_error
...
Proxier should return typed errors
2015-05-18 10:00:44 -04:00
Clayton Coleman
4a47e89e8a
Merge pull request #8407 from mfojtik/double-timestamps
...
Disable 'Timestamps' in Docker logs to prevent double-timestamps
2015-05-18 09:59:50 -04:00
deads2k
be0f2d2930
add dockercfg secret types
2015-05-18 08:25:27 -04:00
Derek Carr
eb12565960
Merge pull request #8203 from pweil-/expose-context-to-admission
...
Expose user info to admission controllers
2015-05-18 08:25:10 -04:00
deads2k
d404a17f0a
allow leading dots in secret keys
2015-05-18 08:17:58 -04:00
Michal Fojtik
7d11e226b7
Disable 'Timestamps' in Docker logs to prevent double-timestamps
2015-05-18 12:27:19 +02:00
Alex Robinson
3cf80e76c8
Properly handle nil cached services in the service controller's node reconciler.
...
Add a test that catches the former bug.
2015-05-17 22:36:48 -07:00
feihujiang
d36173e855
Check json format firstly
...
Check json format firstly
check json format firstly
check json format firstly
2015-05-18 10:44:29 +08:00
BC Broussard
f62aa79cd5
Only show more button on list pages if scope.moreClick defined
...
Remove placeholder thumbnails from pod listing page of web ui
Show pods when there are no labels
2015-05-17 15:59:53 -07:00
Jordan Liggitt
a2d6dd0467
Pass correct update flag to TTLFunc
2015-05-17 00:42:30 -04:00
Jordan Liggitt
d90e7409e4
Prevent auth recursion for service account tokens
2015-05-16 23:39:07 -04:00
Clayton Coleman
78ad32a538
Endpoints controller is logging too much
...
Pods not having an IP yet or pods that don't have a port aren't v(0)
log items, since the former is usually temporary and the latter has
nothing actionable for an admit.
2015-05-16 19:37:13 -04:00
Clayton Coleman
c54097d96c
DefaultMux should only register the first time
2015-05-16 16:11:24 -04:00
Clayton Coleman
1f628f2340
Bump fake docker version to emulate Docker 1.6
2015-05-16 16:10:49 -04:00
Justin Santa Barbara
2457c284ed
Add util.PortRange, so that a port range can be a flag. Format: lo-hi
2015-05-16 15:52:57 -04:00
Jimmi Dyson
2d4067f1fd
Fixes #8374 : Underscore separator in docker log symlink
2015-05-16 19:19:27 +01:00
Jordan Liggitt
7e9281fc39
Allow ServiceAccountsController to manage multiple named service accounts
2015-05-15 23:42:00 -04:00
Patrick Reilly
4c4e7b2dd5
Update dashboard breadcrumbs
...
- Update back buttons
- Ignore duplicated README.md
- Rename /minions to /nodes
- Deactivate more buttons
- Updates to list selection and node detail page
2015-05-15 20:38:15 -07:00
Patrick Reilly
75d062b89d
Restore WebUI breadcrumbs
...
- Update paths to svg images
- Restore sections concept
- Tested with local cluster
2015-05-15 20:35:13 -07:00
nikhiljindal
0ce0150bde
Fixing the omitempty tag
2015-05-15 19:29:14 -07:00
Jeff Lowdermilk
db09ceae25
Remove dependency on pkg/api from pkg/client/clientcmd/api
2015-05-15 19:03:34 -07:00
Jeff Lowdermilk
553f9f822b
Add ga-beacon analytics to gendocs scripts
...
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Daniel Smith
cf337051e0
Merge pull request #7819 from nikhiljindal/etcdTranslation
...
Adding a script to update etcd objects as per the latest API Version
2015-05-15 18:28:36 -07:00
Brian Grant
c4b20672f2
Merge pull request #8302 from bcbroussard/web-ui-links
...
Fix misdirected links in Web UI from pod conversion
2015-05-15 17:37:15 -07:00
Prashanth Balasubramanian
4200033c0a
Add a simple master benchmark and a wrapper to run it.
2015-05-15 17:30:17 -07:00
Prashanth B
6144b49139
Merge pull request #8336 from brendandburns/kubectl
...
Add a test for status message generation.
2015-05-15 17:06:21 -07:00
nikhiljindal
fa9f864782
Adding a script to update etcd objects
2015-05-15 16:20:35 -07:00
Alex Robinson
edf5a78604
Don't try deleting a target pool if we failed to delete its forwarding rule.
2015-05-15 22:05:23 +00:00
Tim Hockin
71d375e22f
Add test case for qname validation, fix impl
2015-05-15 14:45:36 -07:00
Yu-Ju Hong
e1a153e841
Merge pull request #8340 from dchen1107/clean
...
Wait for docker to start cadvisor.
2015-05-15 14:36:10 -07:00
Yu-Ju Hong
b8dd790ca1
Merge pull request #8284 from yifan-gu/rkt_fix
...
kubelet/rkt: Fix rkt status parsing, and resource requirement convert…
2015-05-15 14:30:48 -07:00
Yifan Gu
aa7393b55e
kubelet/rkt: Fix rkt status parsing, and resource requirement convertion.
2015-05-15 13:42:36 -07:00
derekwaynecarr
8216332611
Kubelet kills a pod that exceeds ActiveDeadlineSeconds
2015-05-15 16:33:37 -04:00
Dawn Chen
85ca8506bb
Wait for docker to start cadvisor.
2015-05-15 13:24:24 -07:00
Jeff Lowdermilk
46bd6f298a
Merge pull request #8237 from smarterclayton/continue_on_error
...
Make ContinueOnError actually work
2015-05-15 12:57:29 -07:00
Brendan Burns
a197b24fb7
Add a test for status message generation. Fix a bug in reason message handling.
2015-05-15 20:45:16 +01:00
Jeff Lowdermilk
a5bc6bdaf3
Merge pull request #8166 from kargakis/labels-for-object
...
expose: Re-use labels in case none was specified
2015-05-15 11:35:52 -07:00
Prashanth B
0f98a1dd78
Merge pull request #8312 from wojtek-t/remove_gob
...
Remove gob reference as they are no longer needed after #8188
2015-05-15 11:26:20 -07:00
Clayton Coleman
a47716e66d
Make ContinueOnError actually work
...
In resource.Builder ContinueOnError() should actually do so.
Reorganized util.CheckErr() to make it display bulk errors more
effectively and be more reusable. Clarified that CheckErr is not
specific to kubectl in Godoc. Changed the "Error: " prefix to
"error: " to more closely match Unix conventions.
2015-05-15 14:26:14 -04:00
Clayton Coleman
de36967c7e
Proxier should return typed errors
2015-05-15 13:50:05 -04:00
Victor Marmol
43e4654333
Merge pull request #8292 from yujuhong/rm_podinfo
...
Remove /podInfo endpoint on kubelet
2015-05-15 08:42:02 -07:00
Victor Marmol
e7750fa0c7
Merge pull request #8274 from yujuhong/filter_terminated
...
kubelet: filter out terminated pods before rejecting pods
2015-05-15 08:02:44 -07:00
Filip Grzadkowski
1970e24bad
Merge pull request #8310 from wojtek-t/rename_conversion_generator
...
Refactor conversion generator
2015-05-15 15:51:12 +02:00
Wojciech Tyczynski
108615d081
Refactor conversion generator
2015-05-15 15:11:18 +02:00
Wojciech Tyczynski
e1d9694558
Remove gob
2015-05-15 13:44:37 +02:00
kargakis
ac652d16e6
expose: Re-use labels in case none was specified
2015-05-15 11:54:41 +02:00
gmarek
27d660d0ac
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-15 10:57:46 +02:00
Lv Lv
433a249610
Fix a potential bug in TestControllerBurstReplicas: manager.podStore.Store.Add(&pod) actually adds a pointer to a local copy of pod
2015-05-15 13:41:34 +08:00
BC Broussard
789364354a
Fix misdirected links in Web UI
2015-05-14 21:16:36 -07:00
Victor Marmol
b00d844868
Merge pull request #8293 from BenTheElder/break_up_proxier
...
Move proxySocket out of proxier.go to proxysocket.go in pkg/proxy
2015-05-14 18:27:03 -07:00
Victor Marmol
296152ec6d
Merge pull request #8281 from dchen1107/cleanup
...
OOM protected docker processes (-900)
2015-05-14 18:26:30 -07:00
Victor Marmol
8bc3e5121f
Merge pull request #8188 from krousey/deep_copy
...
Changing the implementation of DeepCopy to use reflection
2015-05-14 18:25:30 -07:00
Yu-Ju Hong
4b40db3367
Remove /podInfo endpoint on kubelet
...
Kubelet sends pod status updates to the API server now. This endpoint is no
longer needed.
2015-05-14 17:51:26 -07:00
Adam Sunderland
6f6ca0433f
Fixing Tests
2015-05-14 19:24:27 -05:00
Adam Sunderland
9849db7fdf
Fixing Many Issues
2015-05-14 18:53:47 -05:00
BenTheElder
78d2fda480
Move proxySocket out of proxier.go to proxysocket.go
...
Moves proxySocket out of proxier.go to new proxysocket.go in proxy
package in order to start separating proxy logic and implementation and
make proxier more manageable to review.
2015-05-14 19:08:35 -04:00
Dawn Chen
ebbb130af8
OOM protected docker processes (-900)
2015-05-14 15:49:12 -07:00
Victor Marmol
c50f906170
Merge pull request #8264 from thockin/proxier-retry
...
Unexport a symbol in proxier
2015-05-14 14:29:10 -07:00
David Oppenheimer
7a21d7ab1f
Merge pull request #8053 from jdef/upstream_mesos_cloud
...
integrate mesos cloud provider with k8s proper
2015-05-14 13:57:39 -07:00
Kris Rousey
4d031abc16
Changing the implementation of DeepCopy to use reflection instead of Gob encode/decode.
2015-05-14 13:46:31 -07:00
Victor Marmol
353f304433
Merge pull request #8228 from yifan-gu/rkt_image_cat
...
kubelet/rkt: Add getImageManifest()
2015-05-14 13:32:52 -07:00
Yu-Ju Hong
a2d04a84de
kubelet: filter out terminated pods before rejecting pods
...
Currently, kubelet doesn't filter out terminated pods before determining whether
a pod fits. This could lead to duplicated events for rejecting the pods. This
change fixes that.
This change also groups all related pod fitness checking functions into one
function to improve readability.
2015-05-14 13:02:36 -07:00
Victor Marmol
75c9228ea2
Merge pull request #8249 from kargakis/stop-fix
...
stop: Check for error when resizing rcs
2015-05-14 12:56:14 -07:00
Adam Sunderland
ff9996c100
Use aws-sdk-go
2015-05-14 14:18:25 -05:00
Yifan Gu
daf7c8d686
kubelet/rkt: Use RunContainerOptions to get the arguments.
2015-05-14 12:03:11 -07:00
Yifan Gu
2a87d56171
kubelet/rkt: Add getImageManifest() to retrive the image manifest for container.
2015-05-14 12:03:11 -07:00
Tim Hockin
667dd81905
un-export CreateProxier
2015-05-14 11:37:25 -07:00
Filip Grzadkowski
61b1c975af
Merge pull request #8172 from wojtek-t/deep_copy_generator
...
Create DeepCopy benchmarks
2015-05-14 20:07:49 +02:00
Clayton Coleman
41ab23b8bf
Merge pull request #8245 from kazegusuri/pod_template_client
...
add client for podTemplate resource
2015-05-14 13:46:41 -04:00
Victor Marmol
07b8b79696
Merge pull request #8247 from kazegusuri/fix-struct-field-tag
...
Fix struct field tag
2015-05-14 10:36:34 -07:00
Rohit Jnagal
532f6fdcef
Merge pull request #7955 from hurf/refactor_scheduler
...
Move pkg/scheduler to plugin/pkg/scheduler
2015-05-14 10:28:52 -07:00
Victor Marmol
5e7a7b9206
Merge pull request #8241 from gmarek/remove_name
...
Remove unused ClusterName from NodeController
2015-05-14 09:49:34 -07:00
Tim Hockin
2c28c6d99f
Merge pull request #8191 from pmorie/secrets-reboot
...
Make secret volumes function correctly across reboot
2015-05-14 09:31:02 -07:00
Victor Marmol
aa744f92da
Merge pull request #7847 from swagiaal/fix-gce-pd-on-atomic-host
...
Support default udev GCE PD device path
2015-05-14 09:10:06 -07:00
Victor Marmol
af36d02e58
Merge pull request #8244 from wojtek-t/non_compatible_fields
...
Fix convertion generator for manually written ones
2015-05-14 09:04:51 -07:00
gmarek
8a4717d3f5
Remove unused ClusterName from NodeController
2015-05-14 18:01:23 +02:00
kargakis
1c5309cc16
stop: Check for error when resizing rcs
2015-05-14 16:49:43 +02:00
Clayton Coleman
aec4196741
Merge pull request #8173 from brendandburns/kubectl
...
Fix a bug where IgnoreErrors was inverted.
2015-05-14 10:18:12 -04:00
Masahiro Sano
bccafcb97b
fix struct field tag
2015-05-14 22:29:11 +09:00
Masahiro Sano
3b27e73726
add client for podTemplate resource
2015-05-14 22:05:03 +09:00
Wojciech Tyczynski
b52a4e60fc
Fix convertion generator for manually written ones
2015-05-14 13:51:34 +02:00
Wojciech Tyczynski
b00020884c
DeepCopy benchmarks
2015-05-14 09:43:21 +02:00
Paul Morie
bea1c05057
Make secret volumes function correctly across reboot
2015-05-14 01:51:14 -04:00
Paul Weil
aaeb1dad93
expose user info to admission controllers
2015-05-13 21:31:51 -04:00
Dawn Chen
309a157665
Merge pull request #7984 from cjcullen/kubelet
...
Kubelet configure cbr0 instead of configure-vm.sh
2015-05-13 17:32:52 -07:00
Tim Hockin
2f59aa4f25
Somewhat better error messages for common formats
...
Clearer strings with examples.
2015-05-13 13:59:16 -07:00
Tim Hockin
b429e89251
Spec qualified names (label keys) more tightly
...
It can be a (DNS_SUBDOMAIN/)?label, but we were validating it
incorrectly before.
2015-05-13 13:59:16 -07:00
Daniel Smith
25d32ee513
Merge pull request #7939 from nikhiljindal/latest
...
Adding an env variable to specify the list of supported API versions
2015-05-13 13:36:43 -07:00
Tim Hockin
9aa9260295
Merge pull request #7529 from markturansky/yoko_pv_mgr
...
Changed binding from volume.Spec.ClaimRef to claim.Spec.VolumeName
2015-05-13 12:40:57 -07:00
markturansky
6b29c569ff
regen again
2015-05-13 14:46:47 -04:00
Victor Marmol
67eab52b9e
Merge pull request #8146 from yifan-gu/runtime_opt
...
kubelet/container: Refactor RunContainerOptions.
2015-05-13 11:09:56 -07:00
markturansky
fd3f7b2a98
rebased and regen conversions
2015-05-13 14:09:48 -04:00
Jeff Lowdermilk
f8ebc4e21e
Merge pull request #8104 from roberthbailey/kubelet-using-kubeconfig
...
Replace the auth config file with a kubeconfig file when starting the kubelet on GCE.
2015-05-13 11:09:27 -07:00
markturansky
0191574f7e
Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName
2015-05-13 14:05:21 -04:00
Derek Carr
f3835c1f7e
Merge pull request #8123 from deads2k/expose-flag-bind
...
expose FlagInfo binding methods
2015-05-13 13:56:24 -04:00
nikhiljindal
8b278202fe
Updating the code to set the latest version based on KUBE_LATEST_API_VERSION env flag
2015-05-13 10:53:00 -07:00
Yifan Gu
2617cb26b8
kubelet/container: Add tests for kubelet.makePortMappings().
2015-05-13 10:01:01 -07:00
Yifan Gu
d164ac0ba0
kubelet/container: Refactor RunContainerOptions.
...
Make Envs, Mounts, PortMappings more generic.
Also add default name for PortMapping if it's not specified.
2015-05-13 10:01:00 -07:00
Rohit Jnagal
d85d7de444
Merge pull request #8056 from wojtek-t/generate_conversions_for_v1
...
Generate conversion methods for v1 api.
2015-05-13 09:25:54 -07:00
Brendan Burns
ea3852ec69
Fix a bug where IgnoreErrors was inverted.
...
Also make an error message a little more verbose.
2015-05-13 16:26:01 +01:00
Victor Marmol
67d576cf48
Merge pull request #8161 from rjnagal/rc
...
Use non-root available space to trigger out-of-disk events.
2015-05-13 08:07:37 -07:00
Victor Marmol
2c00d9f07c
Merge pull request #7421 from brendandburns/prestop
...
Implement PreStop hooks.
2015-05-13 08:06:43 -07:00
Wojciech Tyczynski
c2f2faeb07
Generate conversion methods for v1 api.
2015-05-13 14:20:59 +02:00
Robert Bailey
c47b9178b4
Replace the auth config file with a kubeconfig file when
...
starting the kubelet on GCE.
2015-05-13 01:03:28 -07:00
hurf
6203ce9f85
Move pkg/scheduler to plugin/pkg/scheduler
...
As the TODO in plugin/pkg/scheduler/scheduler.go described:
move everything from pkg/scheduler into this package. Remove
references from registry.
2015-05-13 14:03:25 +08:00
CJ Cullen
31ea7d1295
Put cbr0-modifying stuff behind a flag. Address some other comments.
2015-05-12 23:00:28 -07:00
CJ Cullen
5e3d2b9138
Kubelet configure cbr0 instead of configure-vm.sh
2015-05-12 23:00:12 -07:00
Rohit Jnagal
7a2add5e0a
Use non-root available space to trigger out-of-disk events.
2015-05-13 05:46:03 +00:00
Brendan Burns
3f49c556e6
Second try at implementing prestop.
2015-05-12 17:17:03 -07:00
Nikhil Jindal
c2fecff3d5
Merge pull request #8067 from piosz/kubectl
...
Added label kubernetes.io/name to cluster services
2015-05-12 17:09:22 -07:00
Victor Marmol
40ec627cd4
Merge pull request #8108 from rjnagal/kubelet
...
Handle out of disk situation on kubelet.
2015-05-12 15:49:31 -07:00
Prashanth Balasubramanian
54b6501349
Check expectations before filtering through active pods.
2015-05-12 14:42:08 -07:00
Victor Marmol
3481db8aee
Merge pull request #8136 from yifan-gu/runtime_opt
...
kubelet/container: Remove ipcMode and netMode from RunContainerOptions.
2015-05-12 14:41:49 -07:00
Yifan Gu
a2dac158c2
kubelet/container: Remove ipcMode and netMode from RunContainerOptions.
...
Since createPodInfraContainer() is moved into dockertools. There is no
need to pass the ipcMode or netMode via RunContainerOptions.
2015-05-12 14:18:00 -07:00
Paul Morie
6ac55002d8
Improve kubelet test for env vars
2015-05-12 17:14:32 -04:00
Rohit Jnagal
fab980598a
Merge pull request #8122 from vmarmol/docker-container
...
Run Docker Daemon in a Resource-only Container
2015-05-12 13:16:05 -07:00
Vish Kannan
a74522a738
Merge pull request #8011 from brendandburns/exec
...
Switch exec to look at exit code not output status.
2015-05-12 12:43:11 -07:00
Rohit Jnagal
2cf0dfb79d
Handle out of disk situation on kubelets.
...
Kubelet will stop accepting new pods if it detects low disk space on root fs or fs holding docker images.
Running pods are not affected. low-diskspace-threshold-mb is used to configure the low diskspace threshold.
2015-05-12 18:23:09 +00:00
Quinton Hoole
2f2816368f
Merge pull request #8062 from smarterclayton/fix_service_flake
...
ServiceIP allocation test is flaky
2015-05-12 11:18:47 -07:00
Brian Grant
572b819944
Merge pull request #8052 from dkorn/PodConditions
...
Inconsistency in api terminology of pod conditions
2015-05-12 11:03:59 -07:00
deads2k
bd66e9011d
expose FlagInfo binding methods
2015-05-12 13:33:11 -04:00
Nikhil Jindal
d75bd8bf2a
Merge pull request #7101 from liggitt/service_account
...
ServiceAccounts
2015-05-12 10:23:41 -07:00
Victor Marmol
e1447618f4
Integrating ContainerManager into Kubelet
2015-05-12 10:13:23 -07:00
James DeFelice
7387a2d0cd
address review comments of @davidopp
2015-05-12 17:05:34 +00:00
Victor Marmol
a9db69ecfa
Implementation of ContainerManager
...
Implementation maintains a thread which ensures that the Docker daemon
is in a container.
2015-05-12 09:59:47 -07:00
Victor Marmol
0570480242
Kubelet: Add ContainerManager interface.
...
This component will manage containers on the machine not managed by the
runtime.
2015-05-12 09:58:21 -07:00
Tim Hockin
81aab06e3d
Merge pull request #7486 from feihujiang/master
...
Duplicate service port name can't be validated
2015-05-12 09:12:01 -07:00
James DeFelice
eca9fd58c7
mesos cloud provider implementation
2015-05-12 16:02:26 +00:00
Victor Marmol
1880f73658
Merge pull request #8106 from rjnagal/podinfo
...
Make SyncPodSync as the default SyncPodType.
2015-05-12 08:20:19 -07:00
Derek Carr
c1158fa696
Merge pull request #7969 from smarterclayton/rest_fixes
...
Fixes to apiserver for subresources and naming
2015-05-12 10:57:34 -04:00
Derek Carr
3e4713787a
Merge pull request #7436 from akram/fix_port_forward_listens_ipv_and_ipv4
...
Port forward now listens on IPv4 and IPv6 localhost address
2015-05-12 10:27:56 -04:00
Eric Paris
d80b43838c
Merge pull request #8059 from pmorie/volume-cleanup
...
NFS plugin should use correct mounter
2015-05-12 09:24:00 -05:00
Derek Carr
a11819e4a6
Merge pull request #8057 from kargakis/rework-resize
...
resize: Use Resize method
2015-05-12 10:17:31 -04:00
dkorn
25ada0e118
Inconsistency in api terminology of pod conditions
...
While nodes returns the "conditions" key in api requests, pods returns
"Condition". Also, from pods states docs it seems that the right
terminology should be "conditions".
Fixes #8038
2015-05-12 10:52:52 +03:00
Piotr Szczesniak
962f10ee58
Merge pull request #7771 from piosz/load_generator
...
Implemented first version of load test
2015-05-12 09:24:19 +02:00
feihujiang
4bb594b34d
Duplicate service port name can't be validated
...
Duplicate service port name can't be validated
Duplicate service port name can't be validated
Duplicate service port name can't be validated
2015-05-12 15:18:27 +08:00
Rohit Jnagal
9eb01a6da1
Make SyncPodSync as the default SyncPodType.
...
We would like the default to be sync instead of create to easily differentiate
create operations in empty metrics map.
2015-05-12 06:25:48 +00:00
Brendan Burns
be15e84e83
Kubernetes version v0.17.0-dev
2015-05-11 21:43:34 -07:00
Brendan Burns
82f8bdac06
Kubernetes version v0.17.0
2015-05-11 21:43:34 -07:00
Nikhil Jindal
442412e3ad
Merge pull request #8089 from thockin/dns
...
Introduce an 'svc' segment for DNS search
2015-05-11 17:39:12 -07:00
Nikhil Jindal
3d31883829
Merge pull request #8083 from brendandburns/kubectl
...
Add a flag to disable legacy APIs
2015-05-11 17:35:28 -07:00
Tim Hockin
41033af256
Introduce an 'svc' segment for DNS search
2015-05-11 17:20:44 -07:00
Victor Marmol
43029345f9
Merge pull request #7973 from dchen1107/podstatus
...
Add kubectl log --previous support to view last terminated container log
2015-05-11 17:08:45 -07:00
Brendan Burns
fbd0143fa8
Merge pull request #7971 from deads2k/make-docker-keyring-handle-multiple-hits
...
make the dockerkeyring handle mutiple matching credentials
2015-05-11 17:01:37 -07:00
Daniel Smith
5a6b079515
Merge pull request #8085 from smarterclayton/read_only_port_wrong
...
Public read only port is incorrect in master
2015-05-11 16:35:12 -07:00
Clayton Coleman
0617951ead
Public read only port is incorrect in master
2015-05-11 19:20:38 -04:00
Brendan Burns
d8f48290e9
Add a flag to disable legacy APIs
2015-05-11 16:09:25 -07:00
Victor Marmol
1465475401
Merge pull request #8079 from yifan-gu/rm_command_runner
...
kubelet/container: Move prober.ContainerCommandRunner to container.
2015-05-11 16:05:25 -07:00
Jeff Lowdermilk
ac87ed6516
Merge pull request #8064 from deads2k/death-to-auth-path
...
eliminate auth-path
2015-05-11 15:41:41 -07:00
Yifan Gu
7831b7da72
kubelet/container: Move prober.ContainerCommandRunner to container.
...
Also include the ContainerCommandRunner in Runtime interface, but
still keep the ContainerCommandRunner interface for testability.
2015-05-11 15:32:51 -07:00
Yu-Ju Hong
3f791db886
Kubelet: remove unused getHostFieldLabel function
2015-05-11 14:39:22 -07:00
Jordan Liggitt
92bd58ede6
ServiceAccount e2e/integration tests
2015-05-11 17:18:06 -04:00
Jordan Liggitt
db1f0dc906
JWT token generation/verification
2015-05-11 17:18:06 -04:00
Jordan Liggitt
6e570732f5
ServiceAccounts controller
2015-05-11 17:18:05 -04:00
Jordan Liggitt
0955808668
ServiceAccountTokens controller
2015-05-11 17:18:05 -04:00
Jordan Liggitt
53d55f4192
Add ServiceAccount API type, client
2015-05-11 17:18:05 -04:00
Jordan Liggitt
6e1e7dbb24
Add ServiceAccountToken SecretType
2015-05-11 17:18:05 -04:00
Yu-Ju Hong
8b3130b112
Merge pull request #7980 from yifan-gu/fix_kubelet_tests
...
kubelet: Fix racy kubelet tests.
2015-05-11 14:09:44 -07:00
Dawn Chen
86479cc56c
Add support to pull log for last terminated container
2015-05-11 12:54:04 -07:00
Clayton Coleman
ecbca9eb17
Allow v1beta3 to POST events to all namespaces
...
A namespaced resource that supports ALL may allow creation
on the root (all namespaces) collection, thus adding POST
here.
We need to better formalize the definition of calls on namespaced
resources at the root scope, so Storage objects that do not support
that call pattern can do so at definition time and reject those
calls.
2015-05-11 15:51:05 -04:00
Clayton Coleman
84d1f19016
Subresources should be in their parent rest scope
...
A subresource like "Binding" does not necessarily have
to have a namespace. The RESTScope of a subresource
should always be its parent resource.
2015-05-11 15:51:05 -04:00
Clayton Coleman
b2a2ce0bb3
Legacy scope naming should NEVER set namespace for root
...
... resources.
2015-05-11 15:51:04 -04:00
Clayton Coleman
964bc8afda
Verify namespace is not set on root objects
2015-05-11 15:51:04 -04:00
Yifan Gu
85b453091b
kubelet: Add tests for fakePodWorkders.
2015-05-11 12:50:33 -07:00
Yifan Gu
52af792852
kubelet: Fix racy kubelet tests.
...
Add fakePodWorkders to run syncPod() in serial for testing.
2015-05-11 12:50:33 -07:00
Victor Marmol
65cf37ab6d
Merge pull request #8069 from yujuhong/runcontainer
...
Kubelet: minor cleanups
2015-05-11 12:34:33 -07:00
kargakis
69a96f3ea1
resize: Use Resize method
2015-05-11 21:12:49 +02:00
Nikhil Jindal
0da12c1ba9
Merge pull request #7869 from bprashanth/rc_rl
...
Rate limit replica creation
2015-05-11 11:24:02 -07:00
Yu-Ju Hong
a9c9505206
Use VirtualSize of the docker image as the image size
2015-05-11 11:03:47 -07:00
Yu-Ju Hong
3599d81ef1
Remove some docker references
2015-05-11 11:03:47 -07:00
Yu-Ju Hong
3487a165b8
Unexport DockerManager.RunContainer
2015-05-11 11:03:41 -07:00
Paul Morie
e2dd95a8b3
Make nfs volume plugin use injected mounter
2015-05-11 13:36:36 -04:00
Piotr Szczesniak
12e44ff8a9
Added label kubernetes.io/name to cluster services
...
The label specifies service name which is displayed in kubectl cluster-info
2015-05-11 19:35:53 +02:00
Nikhil Jindal
2cc8696425
Merge pull request #7919 from brendandburns/kubectl
...
Fix validation by moving it into the resource builder.
2015-05-11 10:20:14 -07:00
Nikhil Jindal
48dfad6701
Merge pull request #8050 from fgrzadkowski/cache
...
Add cache with multiple shards to decrease lock contention
2015-05-11 10:18:34 -07:00
Dawn Chen
ffa5947010
Introduce Previous as PodLogOptions
2015-05-11 10:14:22 -07:00
Dawn Chen
ecaf0874b2
Introduce --previous option to kubectl log
2015-05-11 10:14:22 -07:00
Nikhil Jindal
9c0fdc7afd
Merge pull request #8039 from nak3/delete-status
...
Delete status from displayable resources
2015-05-11 10:11:42 -07:00
Nikhil Jindal
6bf5acd109
Merge pull request #8044 from pmorie/pod-volume-injection
...
Refactor volume interfaces to receive pod instead of ObjectReference
2015-05-11 10:11:00 -07:00
Clayton Coleman
6ba6af2d1c
ServiceIP allocation test is flaky
...
Choose a possible IP out of a list, instead of assuming it
can't be chosen randomly.
2015-05-11 13:05:56 -04:00
Vish Kannan
b7289b606e
Merge pull request #7786 from thockin/ports
...
Service port names are required for multi-port
2015-05-11 09:46:02 -07:00
Victor Marmol
307d677e06
Merge pull request #8022 from ddysher/kubelet-privilege
...
Check Pod privileged container
2015-05-11 09:01:58 -07:00
Paul Morie
14243d3bd6
Fix typo in nsenter_mount.go
2015-05-11 11:41:01 -04:00
Eric Paris
630aed6db1
Merge pull request #8016 from nak3/delete-empty-first-column-lines
...
Use template to get first column in __kubectl_parse_get()
2015-05-11 10:01:13 -05:00
Piotr Szczesniak
aa116e2033
Implemented first version of load test
...
As for now it creates a bunch of Replication Controllers and play with them
Partially addresses #3139
2015-05-11 16:40:59 +02:00
deads2k
19784dbc4f
remove auth-path from kubeconfig
2015-05-11 10:40:23 -04:00
Clayton Coleman
2e3c40b5c2
Merge pull request #7774 from kargakis/load-object-for-more-safety
...
expose: Load input object for increased safety
2015-05-11 10:16:20 -04:00
Clayton Coleman
382623f3fa
Merge pull request #7896 from wojtek-t/generated_calling_manual
...
Improments to conversion methods generator
2015-05-11 10:15:32 -04:00
Clayton Coleman
8755ea8ec9
Merge pull request #7704 from smarterclayton/parallel_allocator
...
Use etcd to allocate PortalIPs instead of in-mem
2015-05-11 09:56:10 -04:00
deads2k
2ecb0ebd73
make the dockerkeyring handle mutiple matching credentials
2015-05-11 09:54:03 -04:00
Filip Grzadkowski
50de4d0081
Add cache with multiple shards to decrease lock contention
2015-05-11 15:07:50 +02:00
Marek Grabowski
16a76f1bd3
Merge pull request #8028 from shawnps/patch-1
...
Fix struct tag
2015-05-11 14:00:18 +02:00
Marek Grabowski
141e6977d6
Merge pull request #8029 from shawnps/patch-2
...
Fix struct tag
2015-05-11 13:59:56 +02:00
Marek Grabowski
a0a68b0581
Merge pull request #8031 from shawnps/patch-4
...
Fix struct tag
2015-05-11 13:58:48 +02:00
Marek Grabowski
c28a83f264
Merge pull request #8032 from shawnps/patch-5
...
Use Fprintf
2015-05-11 13:57:46 +02:00
Marek Grabowski
01457a92af
Merge pull request #8033 from shawnps/patch-6
...
Fix unused fmt.Errorf result
2015-05-11 13:55:07 +02:00
Marek Grabowski
035daa7fbf
Merge pull request #8034 from shawnps/patch-7
...
Fix printf verb
2015-05-11 13:54:16 +02:00
Wojciech Tyczynski
5578dc99e3
Improvements for conversions generator
2015-05-11 12:21:11 +02:00
Jerzy Szczepkowski
36ab4b4c2f
Merge pull request #8036 from shawnps/patch-10
...
Use Errorf in persistent_volume_claim_binder_test.
2015-05-11 11:17:04 +02:00
Paul Morie
cd359ffa73
Refactor volume interfaces to receive pod instead of ObjectReference
2015-05-10 20:12:57 -04:00
Kenjiro Nakayama
c13f457885
Use template to get first column in __kubectl_parse_get()
2015-05-10 23:32:24 +09:00
Kenjiro Nakayama
5a0acecc54
Delete status from displayable resources
2015-05-10 19:28:02 +09:00
Shawn Smith
50f34d013e
Use Errorf
2015-05-10 13:23:03 +09:00
Shawn Smith
295286cdc8
Fix printf verb
2015-05-10 13:18:26 +09:00
Shawn Smith
02d136173a
Fix unused fmt.Errorf result
2015-05-10 13:17:00 +09:00
Shawn Smith
555ff0d1bc
Use Fprintf
2015-05-10 13:14:05 +09:00
Shawn Smith
48927cb209
Fix struct tag
2015-05-10 13:09:13 +09:00
Shawn Smith
97cdd064c8
Fix struct tag
2015-05-10 13:08:25 +09:00
Shawn Smith
8105ac5346
Fix struct tag
2015-05-10 13:06:20 +09:00
Tim Hockin
3aa39d54b6
Service port names are required for multi-port
...
There is no provision for the first port to be unnamed. I think I
initially allowed that, but then the Subset struct became a sorted
struct, so the first-ness of the port got lost. If you have a Service
with one named and one unnamed port, what happens is that the
EndpointController fails to create Endpoints (validation error).
2015-05-09 20:11:48 -07:00
Deyuan Deng
2f7183cba5
Check Pod privileged container
2015-05-09 17:30:35 -04:00
Deyuan Deng
72a563f618
Use error type from docker go-client instead of string
2015-05-09 15:20:45 -04:00
Victor Marmol
9ded52ac79
Merge pull request #7981 from yujuhong/reasons
...
Record failure reasons for image pulling
2015-05-08 18:00:46 -07:00
Yu-Ju Hong
d185bfd56a
Record failure reason for image pulling
2015-05-08 17:37:11 -07:00
Brendan Burns
c9324e6e38
Switch exec to look at exit code not output status.
2015-05-08 16:51:37 -07:00
Prashanth Balasubramanian
4fdd5bc3f3
Ratelimit replica creation
2015-05-08 14:24:25 -07:00
Daniel Smith
b02149d3d2
Merge pull request #7950 from satnam6502/head2
...
Make the API server deal with HEAD requests via the service proxy
2015-05-08 14:13:21 -07:00
Brendan Burns
7f11585972
Fix validation by moving it into the resource builder.
...
Also always print an error for unknown field.
2015-05-08 14:00:33 -07:00
Abhi Shah
1014831a4f
Merge pull request #7959 from eparis/bash-completions-fun-if-crap
...
Remove useless bash conditional
2015-05-08 13:33:40 -07:00
deads2k
6498fc1fda
remove cmd respect for auth-path
2015-05-08 16:33:33 -04:00
Clayton Coleman
8bbb64cd8b
Generated conversion functions
2015-05-08 16:04:03 -04:00
Clayton Coleman
5bcb96dae1
Separate out the master's control loops
...
These are "Bootstrap Controllers" as distinct from
the controllers in the controller-manager binary - they
are necessary for the cluster to start running.
2015-05-08 16:04:03 -04:00
Abhi Shah
87e85e25f1
Revert "Added ISCSI to PV structs"
2015-05-08 11:31:35 -07:00
Abhi Shah
9b2a0df811
Merge pull request #7734 from markturansky/iscsi_pv2
...
Added ISCSI to PV structs
2015-05-08 10:55:41 -07:00
Clayton Coleman
e200d5a317
Make PortalIP alloc HA
...
* Add an allocator which saves state in etcd
* Perform PortalIP allocation check on startup and periodically afterwards
Also expose methods in master for downstream components to handle IP allocation
/ master registration themselves.
2015-05-08 13:34:16 -04:00
Satnam Singh
220e754f3e
Make the API server deal with HEAD requests
2015-05-08 10:33:51 -07:00
Yu-Ju Hong
170f426fb6
Don't use the first token uname -n
as the hostname
...
This change partially reverts the change made in #7910 , which takes only the
first token of `uname -n` as the hostname.
2015-05-08 10:09:06 -07:00
Eric Paris
d28660ae49
Remove useless bash conditional
...
bash just returns the last return code, why are we testing and then
doing the same?
2015-05-08 12:22:07 -04:00
Yifan Gu
7e9ba26103
kubelet: Add container runtime option for rkt.
2015-05-07 23:39:37 -07:00
Yifan Gu
8b1174a3a7
kubelet/container: Move pty*.go to container runtime package.
...
This makes the labeld pty wrapper available for both container runtime.
2015-05-07 23:36:47 -07:00
kargakis
93dc839b19
Load input object for increased safety
2015-05-08 03:17:54 +02:00
markturansky
6cdec4c093
rebased and updated
2015-05-07 20:54:35 -04:00
Abhi Shah
589154a557
Merge pull request #7821 from lavalamp/deleteEndpoints
...
Add old endpoint cleanup function
2015-05-07 16:54:41 -07:00
Victor Marmol
65bd04fc51
Merge pull request #7916 from yifan-gu/rkt_rm_label
...
kubelet/rkt: Remove build label.
2015-05-07 16:24:32 -07:00
Abhi Shah
7b1e9adb47
Merge pull request #7620 from brendandburns/fix
...
Support recovery from in the middle of a rename.
2015-05-07 16:04:26 -07:00
Clayton Coleman
f2b6c41345
Merge pull request #7715 from csrwng/exec_portfw_client
...
Update Exec and Portforward client to use pod subresource
2015-05-07 18:57:10 -04:00
markturansky
4c9eac6c3d
Added ISCSI to PV structs
2015-05-07 18:13:03 -04:00
Victor Marmol
5074e98ee9
Merge pull request #7910 from yujuhong/hostname
...
Use the full hostname for mirror pod name.
2015-05-07 14:43:16 -07:00
Abhi Shah
42aa4ead7e
Merge pull request #7564 from markturansky/nfs_pv
...
Added NFS to PV structs
2015-05-07 13:51:40 -07:00
Yifan Gu
41f8c79490
kubelet/rkt: Remove build label.
...
As we removed the linux specific dependency, now rkt can be built
on other platforms as well.
2015-05-07 13:42:05 -07:00
Victor Marmol
ecf8348609
Revert "kubelet: Add container runtime option for rkt."
2015-05-07 13:01:37 -07:00
Yu-Ju Hong
ab5e0e0b5c
Use the full hostname for mirror pod name.
...
This change appends the full hostname to the mirror pod name (instead of taking
the first token) so that if the hostname is overriden, we'd not be creating
unncessary name conflicts. An example would be that a user overrides the
hostnames to be "127.0.0.1" and "127.0.0.2", and both of them were resolved to
"127" for the mirror pod name suffix.
Also, because `uname -n` could return a FQDN or not, this change takes only
the first token of it as the hostname for consistency.
2015-05-07 12:59:49 -07:00
Victor Marmol
3d0f54f1f6
Merge pull request #7900 from yifan-gu/rkt_switch
...
kubelet: Add container runtime option for rkt.
2015-05-07 12:22:31 -07:00
Cesar Wong
d954c31b22
Update Exec and Portforward client to use pod subresource
2015-05-07 14:25:14 -04:00
Cesar Wong
619332d58e
Utility to convert versioned runtime objects to a set query parameters
...
JSON struct tags are used as parameter names, fields that do not have
the omitempty marker are always included.
2015-05-07 14:25:14 -04:00
Daniel Smith
6ab51f3bc0
Merge pull request #7668 from bprashanth/scheduling_minions
...
Scheduler ignores nodes that are in a bad state
2015-05-07 10:58:02 -07:00
Brendan Burns
63cbc715dd
Support recovery from in the middle of a rename.
2015-05-07 10:39:15 -07:00
markturansky
dc0b49d960
rebased and updated
2015-05-07 13:33:52 -04:00
Yifan Gu
4f6535ed8a
kubelet: Add container runtime option for rkt.
2015-05-07 10:31:58 -07:00
Brendan Burns
5461231c1c
Merge pull request #7567 from endocode/kbeecher/wip_etcd_migrate_keys
...
WIP: Add startup code to apiserver to migrate etcd keys
2015-05-07 10:05:41 -07:00
markturansky
68ce264a6d
Added NFS to PV structs
2015-05-07 12:38:27 -04:00
Victor Marmol
35c644a45f
Merge pull request #7870 from yifan-gu/rkt_volume
...
Add volumeGetter to rkt.
2015-05-07 08:58:00 -07:00
Victor Marmol
581821da23
Merge pull request #7763 from wojtek-t/kubelet_removing_nodes
...
Set NodeReady=False when docker is dead
2015-05-07 08:56:44 -07:00
Clayton Coleman
b6fb8c861e
Merge pull request #7556 from wojtek-t/conversions_with_defaulting
...
Auto-generated conversion methods calling one another
2015-05-07 11:28:35 -04:00
Wojciech Tyczynski
9ab167981f
Merge pull request #7833 from fgrzadkowski/etcd_metrics
...
Add latency metrics for etcd operations
2015-05-07 10:32:26 +02:00
Wojciech Tyczynski
128835ec40
Merge pull request #7885 from hurf/master
...
Update errors_test.go
2015-05-07 10:06:26 +02:00
Wojciech Tyczynski
e26da316dc
Set NodeReady=False when docker is dead
2015-05-07 09:30:25 +02:00
Wojciech Tyczynski
156795f298
Update conversion functions
2015-05-07 09:27:58 +02:00
Wojciech Tyczynski
5173ee07e1
Chain conversion functions while generation
2015-05-07 09:27:58 +02:00
Victor HU
f42a18d3c2
Update errors_test.go
...
minor change in log message
2015-05-07 15:06:15 +08:00
Filip Grzadkowski
970e972cd8
Add latency metrics for etcd operations
2015-05-07 08:58:28 +02:00
Yifan Gu
a8f86da35b
kubelet/rkt: Add volumeGetter to rkt.
...
This enable rkt to fetch the volume mounts by the kubelet.
2015-05-06 19:30:33 -07:00
Prashanth Balasubramanian
4b0607cf0b
Scheduler ignored nodes with unknown condition status
2015-05-06 18:32:52 -07:00
Victor Marmol
f6b7029475
Merge pull request #7859 from yifan-gu/rkt_remove_store
...
kubelet/rkt: Remove dependencies on rkt.store
2015-05-06 17:45:29 -07:00
Daniel Smith
1177adfdc8
Merge pull request #7867 from bprashanth/testWatchControllers
...
Fix controller unittests
2015-05-06 17:18:15 -07:00
Yifan Gu
8715c54bd3
kubelet/container: Move kubelet.volumeMap to container.VolumeMap.
...
This is a quick fix to solve circular dependency problem when
rkt references volume maps.
2015-05-06 16:50:57 -07:00
Prashanth Balasubramanian
8bf0adf147
Add a getter to pod expectations and use it in unittests
2015-05-06 16:01:03 -07:00
Victor Marmol
d6ea33fbb5
Merge pull request #7849 from yifan-gu/rkt_components
...
kubelet/rkt: Inject dependencies to rkt.
2015-05-06 16:00:02 -07:00
Yifan Gu
8cbe8938c9
kubelet/rkt: Remove getImageID().
...
Replace getImageID() with getImageByName(), this can remove the
dependency on rkt.store.
2015-05-06 15:59:31 -07:00
Victor Marmol
d46a2b1349
Merge pull request #7861 from pmorie/pull-secrets
...
Change signature of container runtime PullImage to allow pull w/ secret
2015-05-06 15:56:56 -07:00
CJ Cullen
fbd125e4e2
Remove restriction that cluster-cidr be a class-b
2015-05-06 15:01:13 -07:00
Paul Morie
df08b15121
Change signature of container runtime PullImage to allow pull w/ secret
2015-05-06 17:42:03 -04:00
Daniel Smith
b49dd0ad1e
Add old endpoint cleanup function
2015-05-06 13:03:18 -07:00
Clayton Coleman
b60a90c3f4
Merge pull request #7718 from csrwng/create_sub_name
...
API Server - pass path name in context of create request for subresource
2015-05-06 15:42:03 -04:00
Sami Wagiaalla
a85451addc
Support default udev GCE PD device path
...
The expected GCE PD device name is google-{name of disk}. This is
because standard GCE images contain a udev rules file which renames
the GCE PD device to google-{name of disk} https://github.com/GoogleCloudPlatform/compute-image-packages/blob/master/google-startup-scripts/lib/udev/rules.d/65-gce-disk-naming.rules . In custome images which do not have that udev rules file
the device gets the default rules apply http://cgit.freedesktop.org/systemd/systemd/tree/rules/60-persistent-storage.rules
and the GCE PD device ends up with a name which looks like scsi-0Google_PersistentDisk_{name of disk}
This patch adds support for that scenario.
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-05-06 15:09:15 -04:00
Brian Grant
32b4b1cdd7
Merge pull request #7575 from brendandburns/kubectl
...
Rolling Updates: Add support for --rollback.
2015-05-06 11:35:57 -07:00
Yifan Gu
dee060c8fd
kubelet/rkt: Inject dependencies to rkt.
...
Add necessary components rkt.
2015-05-06 11:28:01 -07:00
Cesar Wong
fd65427e28
API Server - pass path name in context of create request for subresource
...
Allows a REST storage for a subresource to obtain name in path from
request.
2015-05-06 13:40:18 -04:00
Brendan Burns
c9e33e197d
Add support for --rollback.
2015-05-06 10:21:35 -07:00
Clayton Coleman
800de8cb7e
Merge pull request #7832 from wojtek-t/separate_generated_conversion
...
Support manually-created and generated conversion functions
2015-05-06 12:53:46 -04:00
Prashanth B
da42f13941
Merge pull request #7749 from yujuhong/stale_cache
...
Kubelet: record the timestamp correctly in the runtime cache
2015-05-06 09:20:30 -07:00
Victor Marmol
b4ae750e5d
Merge pull request #7830 from rhcarvalho/fix-metric-label
...
Fix metric label
2015-05-06 09:08:29 -07:00
Paul Morie
5bcdecbb6b
Fix v1beta1 typos in v1beta2 conversions
2015-05-06 11:21:39 -04:00
Wojciech Tyczynski
458fec6c99
Generate conversion functions for v1beta3
2015-05-06 16:43:15 +02:00
Wojciech Tyczynski
d4b32a8371
Support both manual and generate conversions
2015-05-06 16:43:15 +02:00
Rodolfo Carvalho
075ae79826
Fix metric label
...
Signed-off-by: Rodolfo Carvalho <rcarvalh@redhat.com>
2015-05-06 10:29:50 +02:00
Jerzy Szczepkowski
4d655e3fcf
Merge pull request #7803 from yifan-gu/rkt_docker_image
...
kubelet/rkt: Add docker prefix to image string.
2015-05-06 09:22:50 +02:00