Chao Xu
ef61b031f5
make v1 enabled by default
2015-06-04 11:37:44 -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
f72fa67924
Revert "Use Node IP Address instead of Node.Name in minion.ResourceLocation."
2015-06-03 18:19:22 -07:00
Daniel Smith
1690617ee6
remove ro service
2015-06-03 16:45:54 -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
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
3d4d38d378
Merge pull request #9177 from feihujiang/eventToLog
...
get Events to be logged
2015-06-03 09:32:42 -07: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
feihujiang
ebc8eab590
get Events to be logged
2015-06-03 15:05:07 +08: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
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
e77ded1e84
Merge pull request #8649 from cjcullen/servicefix
...
Add an advertise-address flag
2015-06-02 19:54:28 -07:00
CJ Cullen
934c553c04
Clarify description/usage of --advertise-address, Master.PublicAddress
2015-06-02 15:23:32 -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
James DeFelice
4abcf7449c
implementation of proxy port allocation
2015-06-02 12:28:25 +00:00
Clayton Coleman
984692d205
Verify in hack/test-cmd
2015-06-01 19:24:01 -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
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
3db1f69eea
Merge pull request #8764 from eparis/sd_notify
...
API server explicitly notify systemd of successful startup
2015-06-01 10:28:49 -07:00
gmarek
1490543d54
Move evicting pods to separate thread to allow for correct ratelimitting.
2015-06-01 11:39:20 +02: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
Rohit Jnagal
0579c19a55
Merge pull request #9015 from jlowdermilk/integration-flake
...
Increase timeout on biggest contributor to hack/test-integration flakes
2015-05-29 13:14:20 -07:00
Jeff Lowdermilk
d5b24fdb69
Increase timeout on biggest contributor to hack/test-integration flakes
2015-05-29 11:46:43 -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
Tim Hockin
3005471100
Add new apiserver flags for clusterIP (nee portal)
...
Leave old flags but marked as deprecated
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
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
Eric Paris
9d304774d4
report glog error if unable to tell systemd things worked
2015-05-28 16:01:27 -04:00
Eric Paris
28ac1b3395
API server explicitly notify systemd of successful startup
...
Use the systemd $NOTIFY_SOCKET convention for kube-apiserver
startup. This allows it to be part of dependency trees and for
consumers to wait until it is listening on its ports.
The $NOTIFY_SOCKET protocol is described here:
http://www.freedesktop.org/software/systemd/man/sd_notify.html
Currently this is limited to the kube-apiserver process. Other
kube processes are internal kubernetes moving points. The API
server is the entry point relied on by callers.
100% stolen from Stef Walter from:
https://github.com/GoogleCloudPlatform/kubernetes/pull/8316
2015-05-28 15:59:26 -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
Victor Marmol
9a2630ac6e
Make system container name configurable.
2015-05-26 20:49:55 -07:00
Wojciech Tyczynski
b2280db724
Deep-copy functions autogeneration.
2015-05-26 21:16:26 +02:00
Saad Ali
c5525ecfdc
Merge pull request #8704 from roberthbailey/dead-flags
...
Deprecate flags for nodecontroller
2015-05-26 09:54:01 -07:00
Zach Loafman
4292866c03
Merge pull request #8720 from cjcullen/clusterName
...
Re-add the cluster-name flag to ControllerManager
2015-05-22 16:53:57 -07:00
CJ Cullen
d6e0aedec1
Re-add the cluster_name flag that the ServiceController and RouteController need.
2015-05-22 16:31:22 -07: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
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
97727267c6
Merge pull request #8574 from bprashanth/apiserver_rand
...
Randomize apiserver timeout
2015-05-22 13:13:59 -07:00
Dawn Chen
677a4aa1a7
Merge pull request #8164 from cjcullen/cloudprovider
...
Route creation reconciler loop.
2015-05-22 12:27:50 -07:00
Prashanth Balasubramanian
8a5445d3db
Randomize apiserver watch timeouts
2015-05-21 20:52:33 -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
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
Cesar Wong
e95d9c416d
Admission control to prevent exec on privileged pods
2015-05-21 13:56:51 -04:00
Dawn Chen
3c38abe6b0
Merge pull request #8545 from dchen1107/cleanup
...
Change the default value of maximum-dead-containers-per-container to 2
2015-05-21 09:26:14 -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
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
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
Dawn Chen
d46bb117af
Change the default value of maximum-dead-containers-per-container to 2
2015-05-19 17:30:16 -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
Tim Hockin
70c94fad6d
Don't rename api imports in conversions
2015-05-19 11:21:21 -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
Jeff Grafton
bf1de72f4a
Revert "Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)""
...
This reverts commit f4bb6aa37d
.
2015-05-19 09:13:08 -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
David Oppenheimer
44b1e1ca0c
Fix stylistic isues with #5547 . Closes #4910 .
2015-05-18 23:32:06 -07:00
Quinton Hoole
f4bb6aa37d
Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)"
2015-05-18 21:04:26 -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
Wojciech Tyczynski
9a93206774
Script for automatically generate conversions.
2015-05-19 02:17:58 +02:00
Jeff Grafton
b79fae5d71
Revert "Revert "Once again, use native Ginkgo test runner instead of cmd/e2e.""
...
This reverts commit 67da1ac0c8
.
2015-05-18 11:39:21 -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
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
Clayton Coleman
dc0e3dd0a4
Make it easier to reuse kubelet server code
...
Ensure that RunKubelet() returns errors consistently,
and make info output match Kube conventions.
Allows OpenShift to more easily reuse the Kubelet.
2015-05-18 13:38:23 -04: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
Jordan Liggitt
d90e7409e4
Prevent auth recursion for service account tokens
2015-05-16 23:39:07 -04:00
Jordan Liggitt
7e9281fc39
Allow ServiceAccountsController to manage multiple named service accounts
2015-05-15 23:42:00 -04: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
Jeff Grafton
67da1ac0c8
Revert "Once again, use native Ginkgo test runner instead of cmd/e2e."
...
This change broke compilation on go 1.3 and running e2e tests on OS X.
This reverts commit 86b023fdd6
.
2015-05-15 16:41:55 -07:00
nikhiljindal
fa9f864782
Adding a script to update etcd objects
2015-05-15 16:20:35 -07:00
Jeff Grafton
86b023fdd6
Once again, use native Ginkgo test runner instead of cmd/e2e.
...
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.
The test tarball now includes a built version of the test/e2e test
binary, which includes all tests under test/e2e. This was accomplished
by updating the build scripts to use 'go test -c' when a target name
ended with '.test', and adding a dependency on test/e2e/e2e.test.
This prebuilt test binary is passed to the Ginkgo runner in
hack/ginkgo-e2e.sh. In a future change, we can add support to run
Ginkgo against the source tree if it is available.
This change is generally intended to have no externally visible changes,
aside from the following caveats:
- The -t/--tests flag has been removed
- Calling cmd/e2e/e2e directly obviously won't work, but that was never
intended to be supported anyway
- If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
will run test specs in parallel. (Currently defaults to n, since some
tests are broken in this mode.)
Additionally, several tests which made poor assumptions about cwd or
used testContext before it had been set have been fixed.
2015-05-15 11:54:53 -07: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
Wojciech Tyczynski
108615d081
Refactor conversion generator
2015-05-15 15:11:18 +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
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
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
Rohit Jnagal
bd0156c65a
Merge pull request #8204 from jlowdermilk/gke-todos
...
Cleanup some todos for gke + rip out dead code
2015-05-14 10:30:24 -07:00
gmarek
8a4717d3f5
Remove unused ClusterName from NodeController
2015-05-14 18:01:23 +02: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
Victor Marmol
2aaa4e08eb
Revert "Change default CgroupRoot to /."
2015-05-13 15:50:23 -07:00
Jeff Lowdermilk
3f3760a14a
Cleanup some todos for gke + rip out dead AuthConfig code
2015-05-13 13:54:02 -07:00
derekwaynecarr
3e503f5040
Conversion tool was not able to build v1 conversions
2015-05-13 16:23:22 -04: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
0191574f7e
Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName
2015-05-13 14:05:21 -04: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
CJ Cullen
31ea7d1295
Put cbr0-modifying stuff behind a flag. Address some other comments.
2015-05-12 23:00:28 -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
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
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