Dawn Chen
69a8dc64c7
Merge pull request #15247 from spiffxp/kube-api-limits
...
Expose kube-api burst/qps settings for kube components
2015-10-12 15:19:46 -07:00
Dawn Chen
9766f25902
Merge pull request #14946 from aveshagarwal/master-proxy-changes
...
Adds new tests to improve coverage and removes unused params passed to proxy server.
2015-10-12 14:53:03 -07:00
Aaron Crickenberger
69351e3e88
Expose kube-api burst/qps settings for kube components
...
Default to hardcodes for components that had them, and 5.0 qps, 10 burst
for those that relied on client defaults
Unclear if maybe it'd be better to just assume these are set as part of
the incoming kubeconfig. For now just exposing them as flags since it's
easier for me to manually tweak.
2015-10-12 11:56:15 -04:00
Jordan Liggitt
1043126135
Refactor SSH tunneling, fix proxy transport TLS/Dial extraction
2015-10-12 11:17:01 -04:00
gmarek
fb56afe4b4
HollowNode refactoring
2015-10-12 12:13:10 +02:00
k8s-merge-robot
632e32d8f6
Merge pull request #14487 from zhengguoyong/update-minion2
...
Auto commit by PR queue bot
2015-10-12 02:58:29 -07:00
eulerzgy
4ed5f9d240
adjust package name for pkg/controller directory
2015-10-12 09:51:27 +08:00
k8s-merge-robot
95b265390e
Merge pull request #14900 from mqliang/log
...
Auto commit by PR queue bot
2015-10-10 09:29:53 -07:00
k8s-merge-robot
fa557f6101
Merge pull request #15409 from caesarxuchao/extension/v1beta1
...
Auto commit by PR queue bot
2015-10-10 09:03:43 -07:00
Mike Danese
392f33e417
Merge pull request #14054 from mikedanese/register-master
...
register master kubelet with the apiserver
2015-10-09 17:12:37 -07:00
Chao Xu
53eab7ef1e
gofmt
2015-10-09 16:04:43 -07:00
Chao Xu
4342e1d789
net.extensions.kubernetes -> net.experimental.kubernetes
2015-10-09 15:49:42 -07:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
f3caff2a79
testapi.Experimental -> testapi.Extensions
2015-10-09 15:15:35 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Chao Xu
0b7e3c7dd1
experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:01:33 -07:00
Yu-Ju Hong
a3e60cc32e
Rename imported package local name kubeletTypes to kubetypes
...
According to the naming guidelines, package name should not include mixedCaps.
2015-10-09 10:24:31 -07:00
k8s-merge-robot
b793c3edf1
Merge pull request #14700 from liggitt/kubelet_authz
...
Auto commit by PR queue bot
2015-10-09 03:01:43 -07:00
k8s-merge-robot
538cf72208
Merge pull request #15051 from feiskyer/kubelet/garbage-collection
...
Auto commit by PR queue bot
2015-10-09 02:11:47 -07:00
Jordan Liggitt
9d6b52881d
Add authentication/authorization interfaces to kubelet, always include /metrics with /stats
2015-10-09 03:10:00 -04:00
Mike Danese
fa60bbe8e6
add flag to kubelet to ignore the cidr passed down by the apiserver on the master
2015-10-08 21:21:19 -07:00
feisky
d624c7de51
Pass the ContainerGCPolicy in Runtime.GarbageCollect
2015-10-09 06:57:10 +08:00
Yu-Ju Hong
098ab05997
kubelet: move common types to kubelet/types
...
This would faciliate tasks such as moving code in pkg/kubelet to sub packages.
2015-10-08 14:38:01 -07:00
Wojciech Tyczynski
df79026b79
Extend resyncPeriods in controllers in production.
2015-10-08 09:10:09 +02:00
eulerzgy
7399bfe8e8
change minion to node
2015-10-08 11:55:50 +08:00
Paul Morie
123a5bd465
Merge pull request #13978 from jayunit100/api_server_append_13152
...
NodePort option: Allowing for apiservers behind load-balanced endpoint.
2015-10-06 20:09:03 -04:00
Avesh Agarwal
888a488162
Adds new tests and increases code coverage.
2015-10-06 18:24:08 -04:00
Avesh Agarwal
8fb96afff4
This removes unused params passed to proxy server.
2015-10-06 18:21:16 -04:00
Mike Danese
df1a3d3fdf
enable pod gc by default with terminated pod gc threshold of 12500
2015-10-06 14:53:16 -07:00
Janet Kuo
f4bbb32bd9
Merge pull request #15024 from mikedanese/expcontroller
...
enable all experimental controllers in controller-manager with one flag
2015-10-06 14:20:11 -07:00
mqliang
5a349aeb58
capitalize the first letter of log files in module cmd
2015-10-06 13:56:37 +08:00
jayvyas
be2a2ec3cd
NodePort apiserver option for exposing KubernetesMasterService NodePort on startup.
2015-10-05 20:34:25 -04:00
Alex Robinson
99936383b0
Merge pull request #15079 from gmarek/fix-kubemark
...
Turn on smarter FakeDockerClient in HollowNode.
2015-10-05 17:00:49 -07:00
Alex Robinson
32b9d8aad0
Merge pull request #14823 from wojtek-t/move_events_to_separate_etcd
...
Move events to a separate etcd instance
2015-10-05 16:28:04 -07:00
Mike Danese
833be48d61
enable all experimental flags with one controller
2015-10-05 14:54:19 -07:00
Alex Robinson
fe185f5ea7
Merge pull request #14415 from mesosphere/sttts-code-dedup-kubelet-init
...
Preparation for Mesos kubelet code-deduplication
2015-10-05 14:43:06 -07:00
gmarek
22b318fc5c
Turn on smarter FakeDockerClient in HollowNode.
2015-10-05 21:36:54 +02:00
Abhi Shah
9d4fc34571
Merge pull request #15021 from ArtfulCoder/admission
...
allow hostNetwork, hostPID and hostIPC by default
2015-10-05 11:37:21 -07:00
Wojciech Tyczynski
0f1cbe37a4
Events in separate etcd
2015-10-05 10:54:24 +02:00
k8s-merge-robot
bd58984844
Merge pull request #14736 from aveshagarwal/master-proxy-crash
...
Auto commit by PR queue bot
2015-10-02 18:37:38 -07:00
Tim Hockin
6260759c51
Merge pull request #14328 from agonzalezro/flocker
...
Add flocker volume plugin
2015-10-02 16:02:18 -07:00
Abhishek Shah
37692d498c
allow hostNetwork, hostPID and hostIPC by default
2015-10-02 15:26:17 -07:00
k8s-merge-robot
7007481f00
Merge pull request #14917 from nikhiljindal/deploymentController
...
Auto commit by PR queue bot
2015-10-02 13:18:49 -07:00
Dr. Stefan Schimanski
df5e9f8a4d
Allow to override the pod config in CreateAndInitKubelet
2015-10-02 19:38:03 +02:00
Dr. Stefan Schimanski
2c03c04879
Make createAndInitKubelet public to be reusable
2015-10-02 19:38:02 +02:00
Dr. Stefan Schimanski
cd760cc4ea
Make kubelet builder customizable
...
This is the preparation to remove a lot of duplicated code for kubelet
initialization in https://github.com/kubernetes/kubernetes/pull/13036 .
2015-10-02 19:38:02 +02:00
k8s-merge-robot
6ca515c312
Merge pull request #14820 from gmarek/playground
...
Auto commit by PR queue bot
2015-10-02 07:37:45 -07:00
k8s-merge-robot
b42942c8f4
Merge pull request #14660 from mesosphere/sttts-fix-broken-km-after-kubeproxy-refactoring
...
Auto commit by PR queue bot
2015-10-02 03:48:21 -07:00
gmarek
bc76b1616f
Add SSL to communication in Kubemark
2015-10-02 10:39:24 +02:00
k8s-merge-robot
4e63cafde1
Merge pull request #14748 from gmarek/nodecontroller
...
Auto commit by PR queue bot
2015-10-01 17:38:53 -07:00
nikhiljindal
c6deb442f9
Adding events to deployment
2015-10-01 16:38:08 -07:00
gmarek
fc79ce347e
Allow usining FakeOOMAdjuster in Kubelet
2015-10-01 10:55:08 +02:00
Wojciech Tyczynski
7f9df8c062
Merge pull request #14721 from zhengguoyong/err_value
...
add log err value
2015-10-01 09:37:36 +02:00
k8s-merge-robot
698441cad3
Merge pull request #14655 from aveshagarwal/master-proxy-issue
...
Auto commit by PR queue bot
2015-09-30 22:51:20 -07:00
Avesh Agarwal
af90318222
Fixes crash when proxy is run with --cleanup-iptables=true.
2015-09-30 23:13:13 -04:00
k8s-merge-robot
7f13cc4392
Merge pull request #14704 from aveshagarwal/master-proxy-issues-2
...
Auto commit by PR queue bot
2015-09-30 19:40:46 -07:00
Álex González
fa39c2b032
Add flocker volume plugin
...
Flocker [1] is an open-source container data volume manager for
Dockerized applications.
This PR adds a volume plugin for Flocker.
The plugin interfaces the Flocker Control Service REST API [2] to
attachment attach the volume to the pod.
Each kubelet host should run Flocker agents (Container Agent and Dataset
Agent).
The kubelet will also require environment variables that contain the
host and port of the Flocker Control Service. (see Flocker architecture
[3] for more).
- `FLOCKER_CONTROL_SERVICE_HOST`
- `FLOCKER_CONTROL_SERVICE_PORT`
The contribution introduces a new 'flocker' volume type to the API with
fields:
- `datasetName`: which indicates the name of the dataset in Flocker
added to metadata;
- `size`: a human-readable number that indicates the maximum size of the
requested dataset.
Full documentation can be found docs/user-guide/volumes.md and examples
can be found at the examples/ folder
[1] https://clusterhq.com/flocker/introduction/
[2] https://docs.clusterhq.com/en/1.3.1/reference/api.html
[3] https://docs.clusterhq.com/en/1.3.1/concepts/architecture.html
2015-10-01 01:10:00 +01:00
Brendan Burns
7328301cf3
Extend the timeout for the total integration test.
2015-09-30 10:17:36 -07:00
gmarek
a3723e2045
Separate deletion and termination evictors in NodeController, and fix rate_limited_queue.go
2015-09-30 09:42:01 +02:00
Tim Hockin
5fbcb72241
Merge pull request #14525 from dcbw/cni
...
CNI network plugin
2015-09-29 21:13:26 -07:00
Avesh Agarwal
310d4f48e6
Fixes erroneous declaration of oomAdjuster.
...
Fixes duplication of execer, dbus, iptInterface.
Fixes default assignment of SyncPeriod.
2015-09-29 23:00:14 -04:00
Brendan Burns
a227cce20a
Merge pull request #14681 from brendandburns/fix2
...
Increase the timeout for integration tests.
2015-09-29 19:27:58 -07:00
k8s-merge-robot
b661cfd21e
Merge pull request #14643 from liguangbo/change_Oom_to_OOM
...
Auto commit by PR queue bot
2015-09-29 18:54:22 -07:00
eulerzgy
b1be6bc8ea
add log err value
2015-09-29 17:09:25 +08:00
gmarek
7cfb3479e0
Small fixes to Kubemark scripts
2015-09-29 10:24:46 +02:00
Tim Hockin
abe5a7d5ad
Merge pull request #14527 from thockin/lower-udp-timeout
...
Changes to make kube-proxy userspace scale better
2015-09-28 23:32:40 -07:00
Brendan Burns
6163b3f545
Increase the timeout for integration tests.
2015-09-28 16:16:18 -07:00
Dr. Stefan Schimanski
fd5ee2a9ea
Fix broken hypercube due to too early proxy intitialization
...
This was introduced in 1c25c2cd99
.
2015-09-28 18:54:41 +02:00
Avesh Agarwal
7c1ff97e39
execer is already created earliler, and so there is no need to create it
...
again.
2015-09-28 09:56:57 -04:00
liguangbo
12299087da
Change Oom to OOM
2015-09-28 18:18:04 +08:00
gmarek
dd3bd73948
Initial Kubemark commit
2015-09-28 11:39:05 +02:00
Rajat Chopra
01dd813ce3
CNI network plugin
...
Add an experimental network plugin implementation named "cni" that
uses the Container Networking Interface (CNI) specification for
configuring networking for pods.
https://github.com/appc/cni/blob/master/SPEC.md
2015-09-25 22:30:37 -05:00
Brian Grant
49154c09db
Merge pull request #14583 from thockin/mungedocs-preformat-imbalance
...
Add a munger check for files that end in preformat
2015-09-25 17:14:14 -07:00
Tim Hockin
026054f73e
Set iptables refresh to 30s
2015-09-25 14:02:24 -07:00
Tim Hockin
15e2c62a3e
Add a munger check for files that end in preformat
2015-09-25 13:56:50 -07:00
Brian Grant
a0872fbdaa
Merge pull request #14287 from gmarek/mock-proxy
...
Refactor KubeProxy to allow mocking of all moving parts.
2015-09-25 13:28:44 -07:00
Brian Grant
44b0bb1ae7
Merge pull request #14325 from mikedanese/podgc
...
add pod garbage collection
2015-09-25 11:24:01 -07:00
Brian Grant
bd3a3f1443
Revert "cni network plugin"
2015-09-24 23:24:21 -07:00
Mike Danese
376faea1cf
add pod garbage collection
2015-09-24 22:47:53 -07:00
Brian Grant
17ecefe9f7
Merge pull request #13766 from rajatchopra/cni
...
cni network plugin
2015-09-24 22:42:31 -07:00
Chao Xu
c449baea46
Remove ExpStorageVersion and Add StorageVersions to APIServer struct
2015-09-24 17:44:59 -07:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Jerzy Szczepkowski
c8238c079a
E2E tests for horizontal pod autoscaler.
...
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
Eric Tune
d3beca6f06
Merge pull request #14381 from dchen1107/fix
...
Flag controlled RLIMIT_NOFILE for kubelet.
2015-09-23 16:30:11 -07:00
gmarek
1c25c2cd99
Refactor KubeProxy to allow mocking of all moving parts.
2015-09-23 18:47:05 +02:00
Dawn Chen
38583307ca
flag controlled RLIMIT_NOFILE for kubelet.
2015-09-22 15:18:34 -07:00
Chao Xu
6dc61f1bea
fix the package in cmd/kube-version-change/import_known_versions.go
2015-09-22 11:23:55 -07:00
Rajat Chopra
4dc7485d94
cni network plugin
2015-09-22 11:16:41 -07:00
k8s-merge-robot
b747697000
Merge pull request #14310 from thockin/kube-proxy-mode-annotation
...
Auto commit by PR queue bot
2015-09-21 23:07:27 -07:00
k8s-merge-robot
65c8629247
Merge pull request #14239 from caesarxuchao/import-versions-in-kube-version-change
...
Auto commit by PR queue bot
2015-09-21 19:47:12 -07:00
Tim Hockin
bd3cd82a12
Change kube-proxy flag: annotation for proxy-mode
...
This changes the --legacy-userspace-proxy flag to be a string flag
--proxy-mode. If specified, the flag will be respected ('userspace' and
'iptables' being valid values). If left blank (default) we will choose the
"best". best means userspace for now UNLESS the user adds an annotation
(net.experimental.kubernetes.io/proxy-mode) to their node, in which case we
will try to use that.
This allows people to try it on a single machine without fear of global failure
and without it getting rolled back on reboots. It is a poor-man's config blob.
2015-09-21 18:06:24 -07:00
k8s-merge-robot
6c30a0e170
Merge pull request #13955 from caesarxuchao/API-discovery
...
Auto commit by PR queue bot
2015-09-21 14:01:36 -07:00
Chao Xu
1278771b34
let apiserver support api discovery
2015-09-21 12:20:24 -07:00
k8s-merge-robot
843134885e
Merge pull request #12470 from simon3z/add-host-ipc
...
Auto commit by PR queue bot
2015-09-21 09:15:01 -07:00
k8s-merge-robot
6dad530a1f
Merge pull request #12599 from rootfs/fc_volume
...
Auto commit by PR queue bot
2015-09-20 17:20:26 -07:00
Chao Xu
1eea47ce89
import known versions in kube-version-change tool
2015-09-19 22:33:21 -07:00
Huamin Chen
ed9a1bbd3a
support fibre channel volume
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-18 19:15:31 -04:00
Federico Simoncelli
f21d9ac9e4
Support pods with containers using host ipc
...
Add a HostIPC field to the Pod Spec to create containers sharing
the same ipc of the host.
This feature must be explicitly enabled in apiserver using the
option host-ipc-sources.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-09-18 21:13:39 +02:00
Mike Danese
22072af90d
rename jobmanager to jobcontroller
2015-09-18 11:48:47 -07:00
Alex Mohr
bdfd469a85
Merge pull request #14137 from caesarxuchao/13823
...
rebase 13823
2015-09-17 15:25:52 -07:00
k8s-merge-robot
c1eb1a1b2f
Merge pull request #13791 from fgrzadkowski/fix_secrets_in_docker
...
Auto commit by PR queue bot
2015-09-17 15:13:29 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
k8s-merge-robot
9cb1477662
Merge pull request #14123 from Huawei-PaaS/issue/missing_parameter
...
Auto commit by PR queue bot
2015-09-17 14:08:53 -07:00
Jian Huang
1e9b8de56c
Fix the issue where output paramters not matched golog string format
2015-09-18 00:45:01 +08:00
Filip Grzadkowski
7fe34f2050
Introduce nsenter writer for volume plugins
2015-09-17 16:40:29 +02:00
Maciej Szulik
8cefa2ee55
Job controller logic
2015-09-17 10:05:33 +02:00
k8s-merge-robot
445fde3dc5
Merge pull request #13447 from pweil-/pid-mode
...
Auto commit by PR queue bot
2015-09-16 23:34:35 -07:00
k8s-merge-robot
426d4a2477
Merge pull request #13945 from caesarxuchao/kube-api-prefix
...
Auto commit by PR queue bot
2015-09-16 18:43:55 -07:00
Jeff Lowdermilk
9ed2d842bc
Merge pull request #12655 from gmarek/api_ports
...
Add information about ports opened by Kubelet to API
2015-09-15 17:54:31 -07:00
Jeff Lowdermilk
20e127028f
Merge pull request #12396 from danwinship/iptables
...
Update util/iptables to deal with firewalld
2015-09-15 17:54:16 -07:00
Chao Xu
9bef5ff99d
register experimental apis as apis/experimental/..
...
mark --api-version as deprecated
2015-09-15 11:25:01 -07:00
gmarek
4b8ddf3d7e
Add information about ports opened by Kubelet to API
2015-09-15 14:24:55 -04:00
Paul Weil
ed80c2b940
pid mode
2015-09-15 13:51:44 -04:00
markturansky
7bc55b5aea
configurable pv recyclers
2015-09-15 12:48:25 -04:00
Dan Winship
30ea22f40e
Make kube-proxy resync its rules on firewalld restart
2015-09-15 11:17:40 -04:00
Dan Winship
8bc9c40796
Watch for firewalld restart, to allow reloading iptables rules
2015-09-15 11:17:40 -04:00
k8s-merge-robot
1381d0cc36
Merge pull request #13887 from nikhiljindal/deploymentController
...
Auto commit by PR queue bot
2015-09-14 22:01:06 -07:00
nikhiljindal
c97b9db700
Adding a deploymentController
2015-09-14 18:39:46 -07:00
Jeff Lowdermilk
e25ae7fdb2
Merge pull request #13833 from caesarxuchao/central-latest
...
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
Chao Xu
f5023929d8
fix broken files after rebase
2015-09-12 15:45:12 -07:00
Chao Xu
c733124920
address lavalamp's comments
2015-09-11 17:34:32 -07:00
Chao Xu
3dc5223f4f
check if experimental is enabled during startup of client and server
2015-09-11 17:34:32 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
Mike Danese
1065872d29
rebase and resolve a huge amount of conflicts to keep this up to date (does this commit have more LOC changed than the original implementation? that would be funny...)
2015-09-11 17:04:34 -07:00
Ananya Kumar
c7628fae43
Add daemon manager
2015-09-11 16:56:08 -07:00
Daniel Smith
ccd9e3e247
Run all automated tools
2015-09-11 16:11:08 -07:00
Daniel Smith
7a0fc719fb
Fix tooling for apis/experimental's new home
...
* fix package name
* add a script to auto-gofmt everything, useful after grep/sed incantations
* update conversion/deep copy generation
* doc update
2015-09-11 16:06:10 -07:00
Daniel Smith
4c2adabf42
move; sed replace
2015-09-11 16:03:22 -07:00
k8s-merge-robot
52ef0599d8
Merge pull request #13796 from jszczepkowski/hpa-rename
...
Auto commit by PR queue bot
2015-09-11 00:33:22 -07:00
k8s-merge-robot
bfc60709b1
Merge pull request #13468 from yifan-gu/rkt_doc
...
Auto commit by PR queue bot
2015-09-10 20:32:08 -07:00
Daniel Smith
b225c1d47a
Run gofmt (separate commit for easy rebases)
2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Yifan Gu
e7b9c50ba1
kubelet/rkt: add support for different stage1 image.
...
Also enable grace stop for service files.
2015-09-10 14:58:03 -07:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Jerzy Szczepkowski
65d43a40e5
Changed nameing in controller for HorizontalPodAutosclaer.
...
Changed nameing in controller for HorizontalPodAutosclaer to make it consistent with coding conventions.
2015-09-10 15:10:07 +02:00
k8s-merge-robot
f0f0d30c46
Merge pull request #13726 from gmarek/kubelet-changes
...
Auto commit by PR queue bot
2015-09-10 01:52:39 -07:00
gmarek
44e6a566f6
alphabetize structs in cmd/kubelet/app/server.go
2015-09-10 09:54:12 +02:00
k8s-merge-robot
f867ba3ba1
Merge pull request #13682 from ryfow/block-startup-for-cert
...
Auto commit by PR queue bot
2015-09-10 00:24:23 -07:00
gmarek
3f8953e23b
Add additional knobs to SimpleKubelet
2015-09-10 09:24:13 +02:00
k8s-merge-robot
434f05c0e3
Merge pull request #13705 from liggitt/attach
...
Auto commit by PR queue bot
2015-09-09 18:19:35 -07:00
Chao Xu
183c6e2e84
Merge pull request #13652 from clasohm/example_download_links_raw
...
add raw flag for GitHub download links
2015-09-09 16:19:14 -07:00
k8s-merge-robot
c993cf6509
Merge pull request #13192 from jiangyaoguo/rate-limit-events-in-kubelet
...
Auto commit by PR queue bot
2015-09-09 14:58:28 -07:00
k8s-merge-robot
4e0546c82d
Merge pull request #13553 from jszczepkowski/hpa-remove
...
Auto commit by PR queue bot
2015-09-09 13:49:07 -07:00
k8s-merge-robot
3879bee562
Merge pull request #13670 from aveshagarwal/proxy-fixes
...
Auto commit by PR queue bot
2015-09-09 09:55:52 -07:00
Jerzy Szczepkowski
6998247e1b
Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed.
...
Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed. Added unittest. Fixes #12735 .
2015-09-09 10:59:43 +02:00
jiangyaoguo
1460a1fb9e
Rate limit events in kubelet
...
1. Add EvnetRecordQps and EventBurst parameter in kubelet.
2. If EvnetRecordQps and EventBurst was set, rate limit events in kubelet
with a independent ratelimiter as setted.
2015-09-09 16:57:21 +08:00
k8s-merge-robot
45742e885c
Merge pull request #13452 from aveshagarwal/master-api-rate-burst-remove
...
Auto commit by PR queue bot
2015-09-09 00:42:59 -07:00
Jordan Liggitt
b2268574c5
Add pods/attach to long running requests, protect in admission for privileged pods
2015-09-09 00:49:00 -04:00
k8s-merge-robot
5a01a760b2
Merge pull request #13669 from aveshagarwal/proxy-birthcry-fix
...
Auto commit by PR queue bot
2015-09-08 17:33:05 -07:00
Avesh Agarwal
f94c57ac30
If ForceUserspaceProxy is true, check for iptables based proxy
...
should not be performed.
2015-09-08 19:54:07 -04:00
k8s-merge-robot
163518ee60
Merge pull request #13681 from pmorie/typo
...
Auto commit by PR queue bot
2015-09-08 12:27:03 -07:00
k8s-merge-robot
015389eba1
Merge pull request #13672 from jayunit100/apiserver-cert-doc
...
Auto commit by PR queue bot
2015-09-08 11:42:28 -07:00
Paul Morie
7f5e70022b
Fix typo in kube-proxy server.go
2015-09-08 14:03:45 -04:00
Ryan Fowler
d22a29cf66
Block apiserver startup on certificate
...
With some regularity, if the root certificate file needs to be generated
the apiserver could come up on the non-secure port before the cert
was generated.
`hack/local-up-cluster.sh` requires that apiserver.crt exists
before the replication controller starts. Otherwise service accounts
and secrets don't work.
This change just takes the certificate handling code out of the `go`.
2015-09-08 11:35:32 -05:00
jay vyas
4283201aea
[minor] cert file cmd line string fix
2015-09-08 09:50:15 -04:00
Avesh Agarwal
599100dc64
Fixed kube-proxy birthCry event as it seemed to start too early and
...
had a possibility to not start successfully after the event was already
posted.
2015-09-08 09:33:42 -04:00
Carsten Clasohm
d093fe0c4b
add raw flag for GitHub download links
2015-09-07 17:43:09 -07:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
Ruddarraju, Uday Kumar Raju
f8d6f13f7c
Union of authorizers
2015-09-04 11:04:50 -07:00
Quinton Hoole
7bbe516b95
Merge pull request #13303 from mwielgus/hpa_heapster_interface
...
MetricsClient for HorizontalPodAutoscaler
2015-09-04 09:09:54 -07:00
derekwaynecarr
ab1f4c5c2c
Fix typo in api server flag
2015-09-04 11:38:36 -04:00
Piotr Szczesniak
48b9c365c7
Merge pull request #13308 from timothysc/watch-cache-disable
...
Plumb through configuration option to disable watch cache
2015-09-04 13:40:46 +02:00
Avesh Agarwal
f0d0e2a089
Remove unused api-rate and api-burst params.
2015-09-03 17:57:35 -04:00
derekwaynecarr
5dc74e8dbf
Add support for CFS quota in kubelet
2015-09-03 13:44:28 -04:00
k8s-merge-robot
80f2d89a79
Merge pull request #13087 from ZJU-SEL/specify-garbage-collection
...
Auto commit by PR queue bot
2015-09-02 17:08:54 -07:00
k8s-merge-robot
e8cda9dc92
Merge pull request #13310 from markturansky/volume_config
...
Auto commit by PR queue bot
2015-09-02 14:05:30 -07:00
Brendan Burns
2df5010834
Merge branch 'sdminonne-container_sidecar'
2015-09-02 10:42:08 -07:00
Brendan Burns
74ef517097
Merge pull request #6649 from rootfs/wip-cephfs
...
add Ceph FS volume plugin
2015-09-02 09:48:15 -07:00
Marcin Wielgus
77e2d4f918
Merge pull request #13132 from piosz/initial
...
Implemented first version of InitialResources plugin.
2015-09-02 13:11:35 +02:00
Salvatore Dario Minonne
f4dc0653aa
adding downward api volume plugin
2015-09-01 22:23:03 +02:00
Huamin Chen
fe559f2726
implement Ceph FS volume plugin and add to e2e volume test
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-01 14:05:17 -04:00
Brendan Burns
43e7c9b211
Merge pull request #13367 from spothanis/cinder
...
Cinder Volume Plugin
2015-09-01 10:05:15 -07:00
markturansky
68358fd308
Added VolumeConfig to volumes
2015-09-01 12:04:26 -04:00
Piotr Szczesniak
7967642cf0
Implemented first version of InitialResources plugin.
2015-09-01 17:24:13 +02:00
Marcin Wielgus
064b09ff0b
MetricsClient for HorizontalPodAutoscaler
2015-09-01 17:24:11 +02:00
He Simei
f5bdea836e
specify gc
2015-09-01 10:16:20 +08:00
k8s-merge-robot
4a7115d272
Merge pull request #11955 from pedro-r-marques/flag_resolv_conf
...
Auto commit by PR queue bot
2015-08-30 21:03:54 -07:00
Sreekanth Pothanis
f5da6b34ce
Cinder Volume Plugin
2015-08-30 19:56:27 -07:00
k8s-merge-robot
b6e355d2d3
Merge pull request #13142 from jszczepkowski/exp-flag
...
Auto commit by PR queue bot
2015-08-28 17:08:06 -07:00
Prashanth B
05b205bab6
Revert "Volume Plugin for Cinder; Openstack Block Storage"
2015-08-28 10:56:24 -07:00
Prashanth B
8d0d54ffed
Merge pull request #6689 from spothanis/cinder-vol-plugin
...
Volume Plugin for Cinder; Openstack Block Storage
2015-08-28 10:47:31 -07:00
Timothy St. Clair
2145371c45
Plumb through configuration option to disable watch cache
...
because we are seeing anomolies on our cluster.
2015-08-28 12:36:40 -05:00
Matt McCoy
5a2f992d75
Fixing kubelet cmd documentation for register-node argument
2015-08-27 21:04:08 -04:00
Pedro Roque Marques
99b1da848d
Add kubelet '--resolv-conf' flag.
...
Allow the user to specify the resolver configuration file that is used
to determine the default DNS parameters. This defaults to the system's
/etc/resolv.conf.
2015-08-26 15:41:36 -07:00
Yu-Ju Hong
c237ac4c84
Merge pull request #13003 from yujuhong/decouple_workers
...
kubelet: trigger pod workers independently
2015-08-26 09:53:25 -07:00
Yu-Ju Hong
b906e34576
kubelet: trigger pod workers independently
...
Currently, whenever there is any update, kubelet would force all pod workers to
sync again, causing resource contention and hence performance degradation.
This commit flips kubelet to use incremental updates (as opposed to snapshots).
This allows us to know what pods have changed and send updates to those pod
workers only. The `SyncPods` function has been replaced with individual
handlers, each handling an operation (ADD, REMOVE, UPDATE). Pod workers are
still triggered periodically, and kubelet performs periodic cleanup as well.
This commit also spawns a new goroutine solely responsible for killing pods.
This is necessary because pod killing could hold up the sync loop for
indefinitely long amount of time now user can define the graceful termination
period in the container spec.
2015-08-25 17:52:01 -07:00
Yu-Ju Hong
3bc2157889
Merge pull request #13100 from pweil-/cap-priv-sources
...
use privileged source object
2015-08-25 16:10:50 -07:00
Sreekanth Pothanis
c841a20361
Cinder Volume Plugin
2015-08-25 15:13:56 -07:00
Clayton Coleman
8a62f1828d
Evict terminating pods
2015-08-25 14:17:39 -03:00
Yu-Ju Hong
9f508e9422
Merge pull request #13076 from invenfantasy/master
...
Cleanup deprecated Forever function
2015-08-25 10:07:10 -07:00
Jerzy Szczepkowski
2de49358ab
Added flags for horizontal pod autoscaler to controller-manager.
...
Added flags for horizontal pod autoscaler to controller-manager.
2015-08-25 17:28:17 +02:00
Marek Grabowski
1f6173bd01
Merge pull request #13115 from yifan-gu/oidc_doc
...
plugin/oidc: add minor documentation details.
2015-08-25 09:15:10 +02:00
Nikhil Jindal
a945785409
Merge pull request #13081 from mwielgus/hpa_heapster_query
...
Scale subresource and Heapster querying in HorizontalPodAutoscaler
2015-08-24 18:54:28 -07:00
Yifan Gu
aca6368e3c
plugin/oidc: add minor documentation details.
2015-08-24 15:25:26 -07:00
Paul Weil
709e654686
use privileged source object
2015-08-24 16:53:43 -04:00
Nikhil Jindal
a09425d828
Merge pull request #10933 from andronat/swagger_auto_type_docs
...
Automatic Generation of Swagger Documentation in Types
2015-08-24 10:35:58 -07:00
Marcin Wielgus
1ce8bb7bb2
Scale subresource querying in HorizontalPodAutoscaler
2015-08-24 16:42:25 +02:00
caogaojin
60cb4406e9
Cleanup deprecated Forever function
...
Since util.Forever function has been deprecated, we should cleanup these
pieces of code.
2015-08-24 10:31:59 +08:00
Anastasis Andronidis
9f21ae21e8
swagger type documentation generator
2015-08-22 02:26:03 +02:00
Yifan Gu
6376e41850
plugin/pkg/auth: add OpenID Connect token authenticator.
...
Also add related new flags to apiserver:
"--oidc-issuer-url", "--oidc-client-id", "--oidc-ca-file", "--oidc-username-claim",
to enable OpenID Connect authentication.
2015-08-21 15:27:08 -07:00
BenTheElder
81ab51709a
Add --cleanup-iptables flag to kube-proxy
...
Adds a flag to cleanup iptables rules created by kube-proxy per
https://github.com/mesosphere/kubernetes-mesos/issues/353#issuecomment-1
27382832
2015-08-21 14:44:11 -04:00
Jerzy Szczepkowski
3df1b9e151
Merge pull request #12986 from BenTheElder/masquerade_all_flag
...
Add flag to masquerade all in kube-proxy when using iptables proxier
2015-08-21 10:28:07 +02:00
BenTheElder
1f2076ce64
Add flag to masquerade all in kube-proxy when using iptables proxier
2015-08-20 20:12:32 -04:00
Saad Ali
9b01580946
Merge pull request #12872 from runningwild/master
...
Fix several problems with using rkt on gce
2015-08-20 15:46:16 -07:00
Eric Paris
bcf912667b
Use pflag functions instead of ours.
2015-08-20 15:00:55 -07:00
Wojciech Tyczynski
3b3a706eef
Merge pull request #12792 from jszczepkowski/hpa-controller2
...
Experimental client for horizontal pod autoscaler.
2015-08-20 10:50:02 +02:00
Clayton Coleman
9267f829eb
Update tests to prepare for graceful deletion
...
For cases where we want to immediately cleanup the pod, start using
gracePeriod 0 in test cases.
2015-08-19 22:20:29 -04:00
Saad Ali
25dfc9932f
Merge pull request #12913 from gmarek/remove_healthcheck
...
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:49:00 -07:00
Saad Ali
c1a2c6dee7
Merge pull request #10713 from thockin/no-localhost-endpoints
...
Check loopback and link-local multicast endpoints
2015-08-19 12:48:33 -07:00
Jonathan Wills
80e799fc0c
Allow configuring the rkt binary in a kubelet with a flag.
...
This is necessary because coreos comes with rkt installed, and if we want to use a different version
we need some way to avoid the default one.
2015-08-19 09:42:13 -04:00
gmarek
33c894a6ae
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:35:43 +02:00
gmarek
3c907b33e1
Remove external function setting Kubelet flags
2015-08-19 13:20:41 +02:00
Jerzy Szczepkowski
f2e15fd538
Experimental client for horizontal pod autoscaler.
...
Implementation of experimental client for horizontal pod autoscaler. Placeholder implementation for controller for horizontal pod autoscaler.
2015-08-19 09:39:17 +02:00
Tim Hockin
86f4535871
Check loopback and link-local multicast endpoints
...
Previously we just disallowed link-local (unicast). This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -07:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Robert Bailey
4f856b595d
Merge pull request #9165 from smarterclayton/graceful
...
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Robert Bailey
c45747bfad
Merge pull request #12764 from thockin/proxy-nodeports
...
More corner cases with iptables proxy
2015-08-18 09:13:20 -07:00
Clayton Coleman
edb108802d
Handle gracefully terminated pods in node controller
...
Eviction should retry longer and wait for completion of the pod.
2015-08-18 09:08:45 -04:00
Clayton Coleman
89f1f3b1b8
Alter graceful deletion to not use TTL
...
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.
Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
Tim Hockin
3a5c23d727
test for and set bridge-nf-call-iptables sysctl
2015-08-17 20:57:44 -07:00
Bin Wang
0547c52c2c
Enforce specified service-cluster-ip-range is not too large
2015-08-18 10:35:21 +08:00
Robert Bailey
72830242de
Merge pull request #12756 from eparis/kube-apiserver-deprecated-flags
...
Mark some apiserver flags as deprecated so thus don't show up in help
2015-08-17 10:59:36 -07:00
Brendan Burns
9cc5156b69
Merge pull request #12685 from eparis/goimports
...
Remove dependancy on external goimports binary
2015-08-14 20:29:00 -07:00
Eric Paris
347c7b5b82
Mark some flags as deprecated so thus don't show up in help
2015-08-14 19:28:03 -04:00
Eric Paris
30d34d0e59
Reduce false positives with verify-flag-underscore.sh by updating regex
...
Check to make sure there is not an alphanumeric character immeditely
before or after the 'flag'. It there is an alphanumeric character then
this is obviously not actually the flag we care about. For example if
the project declares a flag "valid-name" but the regex finds something
like "invalid_name" we should not match. Clearly this "invalid_name" is
not actually a wrong usage of the "valid-name" flag.
2015-08-13 21:06:39 -04:00
Eric Paris
8f3577e5d2
Do not use goimports in hack/update-generated-conversions.sh
...
Stop depending on an external binary needing to be on people's system.
Use the code directly.
2015-08-13 19:37:01 -04:00
Eric Paris
00929ed7d8
Convert generated-deep-copies to use golang.org/x/tools/imports
...
I don't like users to need an external binary which can easily get out
of sync. Just include the tools.
2015-08-13 19:36:57 -04:00
Brendan Burns
d8a60d2271
Merge pull request #12623 from thockin/proxy-ipt
...
Auto commit by PR queue bot
2015-08-13 13:10:39 -07:00
Tim Hockin
776132e1ae
Make kube-proxy iptables sync period configurable
2015-08-13 09:53:32 -07:00
Ruddarraju, Uday Kumar Raju
937db3f70d
Keystone authentication plugin
2015-08-13 09:46:30 -07:00
Mike Danese
5caf5e0191
point mugnedocs at new organization
2015-08-12 16:37:43 -07:00
Kris Rousey
2a17dbff13
Moving clientauth package to be under client
2015-08-12 14:43:17 -07:00
CJ Cullen
b8dc963512
Merge pull request #9210 from BenTheElder/iptables_proxy
...
Implement Iptables based Proxy
2015-08-12 09:26:39 -07:00
BenTheElder
ae569e20b5
Partially Implement #3760
2015-08-12 02:39:15 -04:00
Bryan Stenson
9541414742
create cloudprovider "providers" package
...
move all providers into new package
update all references to old package path
2015-08-11 22:36:51 -07:00
CJ Cullen
077246219b
Merge pull request #12549 from eparis/remove-BindClientConfigFlags
...
Remove BindClientConfigFlags entirely
2015-08-11 18:08:00 -07:00
CJ Cullen
a77900a114
Merge pull request #12411 from uluyol/expconvcopy-dups
...
Generate conversions/deep-copies for experimental.
2015-08-11 18:07:30 -07:00
Muhammed Uluyol
567bb15432
Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign.
2015-08-11 17:12:24 -07:00
CJ Cullen
103a39c621
Merge pull request #12464 from jiangyaoguo/add-events-for-kube-proxy
...
Add Birthcry event to kube-proxy
2015-08-11 17:10:03 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Eric Paris
1333fad22a
Remove BindClientConfigFlags entirely
...
They are unused.
2015-08-11 16:26:24 -04:00
jiangyaoguo
6889f693db
Add birthcry event to kube-proxy
...
1. Add HostnameOverride parameter for kube-proxy as kubelet did.
2. Add Birthcry event for kube-proxy.
3. Because record event need apiserver client, adjust order of code partly.
2015-08-11 14:24:07 +08:00
markturansky
8e0d391b1e
Refactored persistent volume controllers to new packaging structure
2015-08-10 23:18:48 -04:00
Alex Robinson
59c0fbb6a9
Merge pull request #12444 from thockin/nix-cmd-kubernetes
...
Remove old 'kubernetes' cmd
2015-08-10 16:19:35 -07:00
Alex Robinson
11fcd3bb39
Merge pull request #12478 from eparis/use-pflag-network
...
Use pflags for net.IP and net.IPNet instead of custom flag types
2015-08-10 11:55:54 -07:00
Eric Paris
f3282ff4d2
Use pflag IPNet instead of our own helpers
...
Since pflag can handle net.IPNet arguements use that code. This means
that our code no longer has casts back and forth and just natively uses
net.IPNet.
2015-08-10 10:15:08 -04:00
Eric Paris
fe6b633e2a
Convert for util.IP to just use a net.IP
...
pflag can handle IP addresses so use the pflag code instead of doing it
ourselves. This means our code just uses net.IP and we don't have all of
the useless casting back and forth!
2015-08-10 10:15:05 -04:00
Tim Hockin
bef7c99619
Remove old 'kubernetes' cmd
2015-08-08 20:39:57 -07:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
BenTheElder
1f6baa6549
Move userspace code to sub-package in proxy.
...
Moves the userspace code in proxy to a sub-package and adds the
ProxyProvider interface.
This is in preparation for landing an implementation of
https://github.com/GoogleCloudPlatform/kubernetes/issues/3760 , which
will mostly be in another sub package for iptables.
2015-08-07 20:07:15 -04:00
Satnam Singh
991775e77b
Merge pull request #10724 from eparis/convert-underscore-to-dash
...
Convert underscore to dash
2015-08-07 16:40:05 -07:00
Satnam Singh
950ec96db0
Merge pull request #12182 from AnanyaKumar/qos-node
...
Add QoS support on node
2015-08-07 14:27:02 -07:00
Ananya Kumar
6ef3de1d5f
Add QoS support on node
2015-08-07 11:18:16 -07:00
Eric Paris
cfc9312b7f
Convert pkg/ and cmd/ from --flag_name= to --flag-name=
2015-08-07 11:00:13 -04:00
David Walter
792fc2269b
change underscores to dashes to match the command line argument
2015-08-06 22:13:44 -05:00
Eric Paris
7cbb52ce04
Use the pflag StringSlice instead of implementing it ourselves
...
Saves code and makes our code easier to read because we just use normal
[]string instead of custom type.
2015-08-06 19:16:13 -04:00
Clayton Coleman
bb79365e2a
Split kubelet server initialization into two parts
...
First is initializing a KubeletConfig that starts no background
processes. Second is running the config. Provide a legacy path
that won't impact older callers while making it easier to customize
the interfaces passed to the Kubelet.
Used by OpenShift to inject some custom interfaces to the Kubelet
for config management.
2015-08-06 09:59:58 -04:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Piotr Szczesniak
ded48a3761
Merge pull request #12201 from gmarek/remove_flag
...
Deprecate register-retry-count flag from controller-manager
2015-08-05 12:27:18 +02:00
gmarek
e20536d16a
Remove register-retry-count flag from controller-manager
2015-08-05 10:07:59 +02:00
Alex Mohr
1311b9dce1
Merge pull request #11886 from gmarek/ratelimit
...
Auto commit by PR queue bot
2015-08-04 11:39:53 -07:00
gmarek
2201e75666
NodeController small cleanup
2015-08-04 14:44:14 +02:00
Alex Mohr
908b1e08f1
Merge pull request #12145 from mwielgus/deepcopy_fix
...
Fix split issues in overwrites in cmd/gendeepcopy
2015-08-03 21:27:36 -07:00
Alex Mohr
6d16c18d6f
Merge pull request #12078 from gmarek/move_nodecontroller
...
Auto commit by PR queue bot
2015-08-03 16:49:57 -07:00
Eric Paris
89dc3d56cd
Update go-md2man so godep restore/save work
2015-08-03 12:02:42 -04:00
gmarek
d27ad5b714
Controller codebase refactoring
2015-08-03 17:06:25 +02:00
gmarek
4cc0a2f117
Allow changing Schedulers RateLimitter setting during startup.
2015-08-03 15:27:19 +02:00
Marcin Wielgus
9fbe1453a2
Fix split issues in overwrites in cmd/gendeepcopy
2015-08-03 13:35:08 +02:00
Mike Danese
12b9da8f3d
Merge pull request #9976 from smarterclayton/nsenter_mount_broken
...
Fix mount issues in containerized Kubelet
2015-07-31 17:15:28 -07:00
Mike Danese
8372b0d927
Revert "Add Mesos hyperkube minion server "
2015-07-31 10:47:42 -07:00
Mike Danese
464e208f95
Merge pull request #11928 from mesosphere/km-minion
...
Add Mesos hyperkube minion server
2015-07-31 10:25:21 -07:00
Mike Danese
fd7a48f379
Merge pull request #11839 from eparis/munger-rewrite
...
Major rewrite for docs munger
2015-07-31 10:21:25 -07:00
Dr. Stefan Schimanski
2b1ecd28f0
Add Mesos hyperkube minion server
...
The minion server will
- launch the proxy and executor
- relaunch them when they terminate uncleanly
- logrotate their logs.
It is a replacement for a full-blown init process like s6 which is not necessary
in this case.
2015-07-31 12:28:40 +02:00
Dr. Stefan Schimanski
1200125137
Share KM_* constants
2015-07-31 11:27:52 +02:00
Muhammed Uluyol
58a875ac2c
Add (stopgap) support for an experimental API prefix.
2015-07-30 18:14:29 -07:00
Eric Paris
3c95bd4ee3
Add a whitespace munger
...
Strips all trailing whitespace from non-preformatted blocks
2015-07-30 20:41:30 -04:00
Eric Paris
8886a9940d
Rewrite how the munger works
...
The basic idea is that in the main mungedocs we run the entirefile and
create an annotated set of lines about that file. All mungers then act
on a struct mungeLines instead of on a bytes array. Making use of the
metadata where appropriete. Helper functions exist to make updating a
'macro block' extremely easy.
2015-07-30 20:41:30 -04:00
Eric Paris
4cbca2e63c
Make munger begin/end less generic
...
Just force the beginMungeTag() endMungeTag() macros on users, by hiding
it under the covers. It really simplies things for users.
2015-07-30 20:41:30 -04:00
Eric Paris
22fd8ac32d
Speed up mungedoc TOC by pre-compiling a regex
...
Brings the time to run the TOC over the docs directory from .7 seconds
to .1 seconds
2015-07-30 20:41:29 -04:00
Mike Danese
51a7a38f67
Merge pull request #12020 from wojtek-t/move_to_storage
...
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Mike Danese
a3cb57f48d
Merge pull request #12033 from smarterclayton/conversions_2
...
Revert conversion reversion with fixed tests
2015-07-30 13:53:32 -07:00
Mike Danese
9582c7e54e
Merge pull request #12024 from a-robinson/metadata
...
Support passing a header to the manifest URL in the kubelet.
2015-07-30 13:46:22 -07:00
Clayton Coleman
0f9fdcafea
Revert "Revert "Improve conversion to support multiple packages""
...
This reverts commit 94a387d5d1
.
2015-07-30 15:15:14 -04:00
Mike Danese
94a387d5d1
Revert "Improve conversion to support multiple packages"
2015-07-30 10:51:40 -07:00
Alex Robinson
cf011cad55
Support passing a header to the manifest URL in the kubelet.
...
Needed to support using GCE's v1 metadata API, which requires passing
the header "Metadata-Flavor: Google".
2015-07-30 17:11:27 +00:00
Mike Danese
1a613c43fe
Merge pull request #9971 from smarterclayton/make_conversion_more_flexible
...
Improve conversion to support multiple packages
2015-07-30 10:05:10 -07:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
99d6b0e9f4
Rename storage interfaces
2015-07-30 10:34:57 +02:00
Wojciech Tyczynski
d17985f1ad
Move StorageInterface to pkg/storage.
2015-07-30 09:32:04 +02:00
Mike Danese
85781b674d
Merge pull request #11968 from brendandburns/flow
...
Optionally limit flow on all upgraded proxy connections
2015-07-29 16:00:43 -07:00
Clayton Coleman
732647ea97
Improve conversion to support multiple packages
...
OpenShift uses multiple API packages (types are split) which
Kube will also eventually have as we introduce more plugins.
These changes make the generators able to handle importing different
API object packages into a single generator function.
2015-07-29 17:05:54 -04:00
Brendan Burns
99b02bfe73
Add optional throttling to the proxy/exec/attach methods
2015-07-29 13:51:20 -07:00
Ananya Kumar
47dd0bc6f9
Refactor package controller
2015-07-29 09:54:35 -07:00
Ilya Dmitrichenko
5e7a6a8b89
Ignore home directory paths
2015-07-28 22:02:49 +01:00
Brendan Burns
a546a2979c
Merge pull request #11726 from caesarxuchao/fix-types-link
...
Auto commit by PR queue bot
2015-07-28 13:24:11 -07:00
Chao Xu
70a29c1a3a
address comments, wait for travis pass
2015-07-27 21:08:02 -07:00
Daniel Smith
a9948158eb
Merge pull request #11867 from kelseyhightower/node-cidrs-works-with-empty-cloud-provider
...
Allocating CIDRs for Pods works without a cloud provider.
2015-07-27 17:20:44 -07:00
Daniel Smith
6c36f0dfa4
Merge pull request #11891 from a-robinson/lb
...
Add a resync period for services in the service controller
2015-07-27 16:15:03 -07:00
Kelsey Hightower
93a374512e
Allocating CIDRs for Pods works without a cloud provider.
...
Currently setting the `--allocate-node-cidrs` flag to true with an
empty cloud provider causes the kube-controller-manager to crash during
startup.
Fix the issue by checking for an empty cloud provider before setting
up route management on the cloud provider. This change introduces a
change in behavior. The kube-controller-manager now supports allocating
pod CIDRs without a cloud provider. This means users must manage routes
through some other mechanism.
The controller manager logs a warning if `--allocate-node-cidrs` is set,
but not a cloud provider:
```
I0725 17:10:41.587888 43185 plugins.go:70] No cloud provider specified.
I0725 17:10:41.588036 43185 nodecontroller.go:114] Sending events to api server.
E0725 17:10:41.588122 43185 controllermanager.go:201] Failed to start service controller: ServiceController should not be run without a cloudprovider.
W0725 17:10:41.588136 43185 controllermanager.go:213] allocate-node-cidrs is set, but no cloud provider specified. Will not manage routes.
E0725 17:10:41.589703 43185 nodecontroller.go:187] Error monitoring node status: Get http://127.0.0.1:8080/api/v1/nodes : dial tcp 127.0.0.1
```
Fixes #11866
2015-07-27 16:13:19 -07:00
Janet Kuo
180798cfa4
Use example syncer tags instead of hard-coded examples in doc
2015-07-27 14:48:41 -07:00
Alex Robinson
60611c253e
Add a resync period for services in the service controller.
...
This should ensure all load balancers get deleted even if a reordering of
watch events causes us to strand one after its service has been deleted,
because the sync will notice that the service controller's cache has a
service in it that no longer exists in the apiserver.
It could still leak in the case that the controller manager is killed
between when it leaks something and the sync runs, but this should
improve things.
2015-07-27 18:03:13 +00:00
Marek Grabowski
7cc1855c27
Merge pull request #11806 from wojtek-t/private_etcd_helper
...
Make EtcdHelper private - expose only StorageInterface
2015-07-27 11:21:28 +02:00
Marek Grabowski
00cd52dd68
Merge pull request #10656 from krousey/timeouts
...
Adding proper timeouts.
2015-07-27 10:56:58 +02:00
Wojciech Tyczynski
9d943df397
Private EtcdHelper
2015-07-27 09:20:13 +02:00
Chao Xu
464385281b
add a tool in cmd/ to check links in go file. Currently it's only used to check the links in api descriptions (pkg/api/.../types.go).
2015-07-24 20:21:16 -07:00
Mike Danese
0b14613361
Merge pull request #11622 from nikhiljindal/refactormark-new-version
...
Extracting out the code to versionize docs from mark-new-version and fixing a bunch of issues
2015-07-24 11:32:40 -07:00
Mike Danese
b51b4e740f
Merge pull request #10639 from caseydavenport/master
...
Allow specification of a network plugins directory when starting kubelet
2015-07-24 11:09:11 -07:00
Mike Danese
859f440f74
Merge pull request #11666 from wojtek-t/refactor_etcd_helper
...
Extract EtcdHelper interface
2015-07-24 11:07:46 -07:00
Mike Danese
ae1c8e55ef
Merge pull request #11737 from thockin/cleanup-remove-v1beta3
...
Remove v1beta3
2015-07-24 10:25:56 -07:00
Wojciech Tyczynski
fdb3f45077
Extract EtcdHelper interface
2015-07-24 09:28:02 +02:00
Vish Kannan
0a715a72f1
Merge pull request #10464 from jiangyaoguo/reflector-in-proxy
...
replace Reflector in kube-proxy
2015-07-23 18:01:29 -07:00
nikhiljindal
b0dbb318fe
Extract out the versionize docs part in a separate script
2015-07-23 17:56:40 -07:00
Vish Kannan
2a5a6b99cb
Merge pull request #10635 from smarterclayton/cloud_provider_should_err
...
Cloud provider should return an error
2015-07-23 17:50:45 -07:00
Tim Hockin
1c3233a1d4
Remove v1beta3
2015-07-23 17:21:27 -07:00
Vish Kannan
a3985e36a9
Merge pull request #11499 from JanetKuo/docs-example-syncer
...
Implement mungedocs example syncer
2015-07-23 14:11:13 -07:00
Casey D
aeb7dc6b30
Allow specification of network plugins directory when starting kubelet
2015-07-23 11:21:39 -07:00
Wojciech Tyczynski
ee92aa3897
Prepare for extracting EtcdHelper interface
2015-07-23 09:37:39 +02:00
Janet Kuo
6778f7f103
Implement mungedocs example syncer
2015-07-20 13:23:19 -07:00
Tim Hockin
8172551763
Fix the munger for code blocks - ticks at start of line
2015-07-18 14:06:08 -07:00
David Oppenheimer
d28a6656ae
Merge pull request #11452 from thockin/docs-munge-headerlines
...
Munge headerlines
2015-07-17 15:52:08 -07:00
Tim Hockin
aacc4c864c
Add a munger for header lines
2015-07-17 15:34:00 -07:00
Tim Hockin
6e4ec38f51
Make TOC munge include blank line before TOC
2015-07-17 15:06:54 -07:00
Daniel Smith
2c046685f6
fix util_test.go
2015-07-17 12:02:35 -07:00
Daniel Smith
b563bb3760
fix unversioned test
2015-07-17 11:58:50 -07:00
Daniel Smith
2a112a0004
preformat checker
2015-07-17 11:04:46 -07:00
Tim Hockin
542e13d2d3
Better scary message
2015-07-17 09:28:49 -07:00
Janet Kuo
2498f93938
MUNGE generated table of contents should strip comma
2015-07-16 23:21:09 -07:00
Brian Grant
786b59427d
Merge pull request #11400 from lavalamp/munger
...
Add absolute path link checking to munger
2015-07-16 22:50:14 -07:00
Daniel Smith
4d1bf3a0ca
absolute link checking
2015-07-16 16:23:19 -07:00
Tim Hockin
f7512d007b
Add munger to verify kubectl -f targets, fix docs
2015-07-16 15:39:45 -07:00
Eric Tune
f1c7915d71
Merge pull request #11325 from JanetKuo/toc
...
Make MUNGE generated TOC bookmark work for symbols
2015-07-15 12:56:37 -07:00
Janet Kuo
de755bf59b
Make MUNGE generated table of contents (TOC) bookmark work when there are symbols in the headline
2015-07-15 11:26:51 -07:00
Mike Danese
d4d99deb97
make mungedoc exit 1 if manual changes are needed and wire up erro message.
2015-07-15 11:20:11 -07:00
Tim Hockin
6277801f82
Change warning.png to not go through a redirect
2015-07-14 17:28:10 -07:00
Tim Hockin
c4953c6287
Add an image to unversioned warnings
2015-07-14 15:28:59 -07:00
Daniel Smith
bf77ecc3a9
Various munger changes
...
* Add analytics munger w/ munge heading
* More link autofixes
* Allow running a subset of munges
* Fix repo root detection
* Only process non-preformatted blocks
* Gendocs no longer adds the analytics link; mungedocs does that in a
second pass.
2015-07-13 17:47:48 -07:00
Eric Tune
950b11f198
Ignore comments in code when generating ToC.
2015-07-13 15:53:05 -07:00
Tim Hockin
ad8f8731b6
Use a common set of tag prefixes for munges
...
All munges now start with `<!-- BEGIN MUNGE:` and end with `<!-- END MUNGE:`.
This lets me (in a followup) filter them better to normalize contents during
verification of generated docs.
2015-07-13 11:23:07 -07:00
Tim Hockin
8fceb754d8
Add 'warning: is unversioned' header to all docs
...
Mungedocs will keep this updated in head, and it will get stricken from
releases.
2015-07-13 11:23:07 -07:00
Zach Loafman
5c894b765b
Fix mungedocs for absolute paths
...
chdir into the parent of the docs directory, then walk docs.
Fixes #11111
2015-07-11 13:19:55 -07:00
Brendan Burns
9482487fe7
Merge pull request #11096 from thockin/docs-munge-infra
...
Docs munge infrastructure
2015-07-10 20:17:55 -07:00
Rohit Jnagal
0636214d5a
Merge pull request #11086 from thockin/docs-munge-run-all
...
Run all munges on all docs
2015-07-10 19:15:08 -07:00
Tim Hockin
8ff8559c4c
Add util functions
2015-07-10 17:13:19 -07:00
Tim Hockin
95cd66d3a0
use 'lines []string' for updateMacroBlock
2015-07-10 17:13:19 -07:00
Tim Hockin
2e781fed49
Break util func into a new file
2015-07-10 17:13:19 -07:00
Tim Hockin
84ad1792ea
Run all munges on all docs
...
Rather than terminating, Collect the errors and print them per-file-per-munge.
2015-07-10 17:13:19 -07:00
Rohit Jnagal
9544837e03
Merge pull request #11078 from dchen1107/config
...
Change kubelet flag --max-pods default value to 40 to match v1.0 roadmap
2015-07-10 16:29:01 -07:00
Tim Hockin
698b212491
Run all munges on all docs
...
Rather than terminating, Collect the errors and print them per-file-per-munge.
2015-07-10 15:33:50 -07:00
Kris Rousey
1d033b9912
Adding proper timeouts.
2015-07-10 14:42:59 -07:00
Dawn Chen
e810b229c0
Change kubelet flag --max-pods default value to 40 to match v1.0 roadmap.
2015-07-10 13:46:05 -07:00
Daniel Smith
c4aab16b04
Adds a link fixer/checker to mungedocs.
...
Links that don't work yet can be prefixed with "TODO:" to avoid the check.
2015-07-10 10:54:47 -07:00
Victor Marmol
edaa1a69e5
Merge pull request #10525 from nikhiljindal/delbeta3
...
Stop exposing v1beta3 by default
2015-07-09 08:38:32 -07:00
Victor Marmol
b7da593d7c
Merge pull request #10762 from erictune/toc
...
Automatic Doc Editing, with Table of Contents Generation
2015-07-09 08:13:45 -07:00
nikhiljindal
c465a50891
Stop exposing v1beta3 by default
2015-07-08 15:27:41 -07:00
Eric Tune
c51e35e835
Support for in-place modification of docs
...
Adds cmd/mungedocs which is framework for processing
all files under docs/ and either verifying that no changes needed or
making in-place changes.
Did not reuse kube::util::gen-docs because that seemed to be
centered around handling added files, and this pass does not
add files.
Planned uses:
- table of contents automatic updating
- linkification
- internal link checker
- link-path-relativizer or absolutizer
- example file syncer
- header inserter.
Just table-of-contents updating in this PR.
Added Table of Contents to docs/networking.md.
Demonstrates use of new TOC generator presubmit.
Other docs will be added in future PRs.
Additional development will be needed to handle some
of the more complex cases.
2015-07-08 14:58:54 -07:00
Eric Paris
cde68d294b
Do not create subject alt dns names for kubelet self signed certs
...
PR #10643 Started adding the dns names for the kubernetes master to self
sign certs which were created. The kubelet uses this same code, and thus
the kubelet cert started saying it was valid for these name as well.
While hardless, the kubelet cert shouldn't claim to be these things. So
make the caller explicitly list both their ip and dns subject alt names.
2015-07-04 23:01:01 -04:00
Eric Paris
7a29af4d2c
Add Subject Alt Names to self signed apiserver certs
...
A cert from GCE shows:
- IP Address:23.236.49.122
- IP Address:10.0.0.1
- DNS:kubernetes,
- DNS:kubernetes.default
- DNS:kubernetes.default.svc
- DNS:kubernetes.default.svc.cluster.local
- DNS:e2e-test-zml-master
A similarly configured self signed cert shows:
- IP Address:23.236.49.122
- IP Address:10.0.0.1
- DNS:kubernetes
- DNS:kubernetes.default
- DNS:kubernetes.default.svc
So we are missing the fqdn kubernetes.default.svc.cluster.local. The
apiserver does not even know the fqdn! it's defined entirely by the
kubelet! We also do not have the cluster name certificate. This may be
--cluster-name= argument to the apiserver but will take a bit more
research.
2015-07-01 17:05:17 -04:00
Clayton Coleman
d8bb4552de
Cloud provider should return an error
...
Not fatal - makes cloud provider useful in methods that
can return error.
2015-07-01 14:41:49 -04:00
jiangyaoguo
79ed954ec2
replace Reflector with client.cache.Reflector in kube-proxy
2015-06-29 11:21:50 +08:00
Aaron Levy
e991a1543f
Use blank default for old-etcd-prefix
2015-06-26 18:19:40 -07:00
Clayton Coleman
93b14b9ede
Search the parent FS for the proper binaries
2015-06-26 14:48:22 -04:00
Robert Bailey
91589143a3
Merge pull request #10370 from mikedanese/no-more-machines
...
remove --machines and related deprecated flags from code and docs
2015-06-26 10:54:01 -07:00
Robert Bailey
e5f44535a9
Merge pull request #10362 from bprashanth/latency_integration
...
Scrape latency stats from integration tests
2015-06-26 10:52:01 -07:00
Robert Bailey
0048eae8eb
Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
...
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Mike Danese
1e130e0794
remove --machines from code and docs
2015-06-25 18:29:11 -07:00
Steve Kuznetsov
3008ff6150
Changed HTTPGetAction to allow user-defined schemes
2015-06-25 16:59:12 -04:00
Prashanth Balasubramanian
cca4b720e5
Scrape latency stats from integration tests
2015-06-25 12:01:31 -07:00
Mike Danese
fbd03e5b90
fix variable shadowing bug where provided RootCA would always be a nil byte slice
2015-06-25 11:40:48 -07:00
Maxwell Forbes
655179dcfb
Merge pull request #10264 from mikedanese/ca-token
...
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Mike Danese
56bde3342a
add ca to token controller and all service accounts
2015-06-24 15:10:20 -07:00
Dawn Chen
6ddfa512de
Revert "Revert "Fix the race between configuring cbr0 and restarting static pods""
...
This reverts commit fd0a95dd12
.
2015-06-24 11:10:10 -07:00
Piotr Szczesniak
fd0a95dd12
Revert "Fix the race between configuring cbr0 and restarting static pods"
2015-06-24 09:56:49 +02:00
Brendan Burns
192ffdfb25
Fix the container bridge so that it can create cbr0
...
Fix the kubelet so that it tries to sync status, even if Docker is down
2015-06-22 23:18:01 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Clayton Coleman
8217495ee3
Kubelet event logging is classified as V(3)
...
Important, but not strictly required for normal operation V(2)
2015-06-18 19:21:14 -04:00
Satnam Singh
59876df736
Merge pull request #9927 from liggitt/fix_ecdsa_key
...
Re-enable ECDSA private server key use
2015-06-18 14:30:27 -07:00
Justin Santa Barbara
df87470ecf
Allow cloud providers to return a node identifier different from the hostname
2015-06-18 12:40:05 -07:00
Justin Santa Barbara
dee8d4b90b
For kubelet, differentiate between the nodeName and the hostname
...
This will allow us to use a nodeName that is not the hostname,
for example on clouds where the hostname is not the natural identifier
for a node.
2015-06-18 12:40:01 -07:00
Satnam Singh
e4f5529a2d
Revert "Allow nodename to be != hostname, use AWS instance ID on AWS"
2015-06-18 11:27:55 -07:00
Justin Santa Barbara
efaead81dc
Allow cloud providers to return a node identifier different from the hostname
2015-06-17 00:40:43 -04:00
Justin Santa Barbara
c28cdfbd43
For kubelet, differentiate between the nodeName and the hostname
...
This will allow us to use a nodeName that is not the hostname,
for example on clouds where the hostname is not the natural identifier
for a node.
2015-06-17 00:40:43 -04:00
Jordan Liggitt
64d61185eb
Re-enable ECDSA private server key use
2015-06-16 23:03:29 -04:00
Saad Ali
30180dbcc2
Merge pull request #9882 from mikedanese/fix-regexp
...
fix longRunningRequestRE to something that doesn't match pretty much all requests
2015-06-16 18:55:40 -07:00
Mike Danese
677855f1a9
fix longRunningRequestRE to something that doesn'tt push -f orig match pretty much all requests.
2015-06-16 13:48:10 -07:00
Chao Xu
34e443a1aa
update the api conversion tool to v1
2015-06-15 17:30:05 -07:00
Fabio Yeon
18a3932585
Merge pull request #9265 from mesosphere/upstream-k8sm-cm-and-km
...
Upstream Kubernetes Mesos controller manager and km binary
2015-06-15 09:28:12 -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
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
Abhi Shah
0f4f2eb05a
Merge pull request #9617 from davidopp/master
...
Add a warning that setting --port flag to Kubelet breaks "kubectl log…
2015-06-11 10:18:41 -07:00
David Oppenheimer
b83a32955b
Add a warning that setting --port flag to Kubelet breaks "kubectl logs." Temporary
...
fix for #9325 .
2015-06-10 17:24:49 -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
0fbd4900d1
Merge pull request #9423 from mesosphere/create-api-server-client
...
refactor createAPIServerClient for easier integration with 3rd party …
2015-06-10 12:54:17 -07:00
James DeFelice
f54eeeb8d6
refactor createAPIServerClient for easier integration with 3rd party kubelet extensions, e.g. kubernetes-mesos
2015-06-10 02:13:58 +00: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
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
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
krousey
a7edbedcb9
Merge pull request #9262 from bprashanth/minion_proxy
...
Apiserver can proxy to nodes
2015-06-08 10:17:06 -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
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
Prashanth Balasubramanian
50eb9ad598
Use https only for the kubelet port
2015-06-05 14:06:38 -07:00
Quinton Hoole
cd3eea43db
Merge pull request #9315 from jdef/refactor_kubelet_tls_init
...
refactor tls init for reuse
2015-06-05 12:57:14 -07:00
Quinton Hoole
8b01ecb53a
Merge pull request #9024 from markturansky/recyc_controllers
...
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
James DeFelice
b3c8f71aca
refactor tls init for reuse
2015-06-05 11:45:40 +00:00
markturansky
deec5f26cd
Recycler controller
2015-06-04 15:47:36 -04:00
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
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
652c14d8d7
integrate mesos cloud provider into kube apps
2015-05-12 16:02:38 +00:00
Victor Marmol
8d304b7d1e
Change default CgroupRoot to /.
...
This will make all Docker containers to be top-level containers. This
will more equally share the CPU under cases of contention.
2015-05-12 08:04:20 -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
Victor Marmol
8d6e32d378
Merge pull request #8080 from yujuhong/disable_test
...
Temporarily disable the static pod test in integration.go
2015-05-11 16:10:30 -07:00
Brendan Burns
d8f48290e9
Add a flag to disable legacy APIs
2015-05-11 16:09: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
Yu-Ju Hong
2adfb489ff
Temporarily disable the static pod test in the integration test
...
The test has been flaky for a while due to the potential watch performance
problem. Temporarily disable this test until we resolve #6651 .
Note that there is extensive coverage of mirror pod creation/deletion via unit
tests in kubelet_test.go.
2015-05-11 15:37:40 -07:00
Jordan Liggitt
7e14a80f63
ServiceAccount admission plugin
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
Nikhil Jindal
0da12c1ba9
Merge pull request #7869 from bprashanth/rc_rl
...
Rate limit replica creation
2015-05-11 11:24:02 -07: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
Wojciech Tyczynski
5578dc99e3
Improvements for conversions generator
2015-05-11 12:21:11 +02:00
Prashanth Balasubramanian
4fdd5bc3f3
Ratelimit replica creation
2015-05-08 14:24:25 -07:00
deads2k
6498fc1fda
remove cmd respect for auth-path
2015-05-08 16:33:33 -04: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
Yifan Gu
7e9ba26103
kubelet: Add container runtime option for rkt.
2015-05-07 23:39:37 -07:00
Victor Marmol
ecf8348609
Revert "kubelet: Add container runtime option for rkt."
2015-05-07 13:01:37 -07: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
CJ Cullen
fbd125e4e2
Remove restriction that cluster-cidr be a class-b
2015-05-06 15:01:13 -07:00
Robert Bailey
06c2f4e3d5
Merge pull request #7799 from cjcullen/test_pull_5246
...
Fix sync problems in #5246
2015-05-05 22:31:10 -07:00
Jerzy Szczepkowski
e967ffd522
Added flag to set cluster class B network address for pods, add flag to disable allocation CIDRs for Pods. Fixed synchornization bug in NodeController registerNodes().
2015-05-05 16:10:43 -07:00
Zach Loafman
875e83a741
Revert "Revert "Security context - types, kubelet, admission""
2015-05-05 16:02:13 -07:00
Zach Loafman
3fcea23185
Revert "Revert "Revert "Kubelet: Add rkt as a runtime option"""
2015-05-05 15:55:12 -07:00
Zach Loafman
92ca92f43a
Revert "Revert "Kubelet: Add rkt as a runtime option""
2015-05-05 15:28:09 -07:00
Zach Loafman
f48904fd5e
Revert "Security context - types, kubelet, admission"
2015-05-05 15:20:39 -07:00
Zach Loafman
6016408096
Revert "Kubelet: Add rkt as a runtime option"
2015-05-05 15:15:15 -07:00
Yu-Ju Hong
b2c0ea37b4
Merge pull request #7743 from vmarmol/runtime-switch
...
Kubelet: Add rkt as a runtime option
2015-05-05 13:36:46 -07:00
Victor Marmol
22297d316a
Add rkt runtime to Kubelet init
2015-05-05 10:55:21 -07:00
Paul Weil
982bf19c20
security context initial implementation - squash
2015-05-05 13:46:13 -04:00
Paul Morie
553265ce0c
Add containerized option to kubelet binary
2015-05-05 13:10:06 -04:00
Karl Beecher
0473f652fd
Add startup code to apiserver to migrate etcd keys
...
Refs: #3476
2015-05-05 12:28:14 +02:00
Victor Marmol
27dea5f400
Revert "Add containerized option to kubelet binary"
2015-05-04 16:34:22 -07:00
Victor Marmol
9340b7af48
Merge pull request #7741 from pmorie/containerized
...
Add containerized option to kubelet binary
2015-05-04 16:18:31 -07:00
Paul Morie
ddbf9f7a28
Add containerized option to kubelet binary
2015-05-04 18:59:52 -04:00
Yu-Ju Hong
d231eb6bef
Kubelet: wait until container runtime is up
...
Instead of waiting for the docker client to be up, we wait for the container
runtime to be up.
2015-05-04 15:16:38 -07:00
Paul Morie
b538642464
Inject mounter into volume plugins
2015-05-04 11:28:57 -04:00
Wojciech Tyczynski
0a032ade46
Enable profiling in kube-controller
2015-05-04 13:22:25 +02:00
Daniel Smith
4a6ab7fd36
Merge pull request #7597 from eparis/copyright
...
Use generic copyright holder name in license boilerplate
2015-05-01 17:01:39 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Victor Marmol
d9d61c3511
Kubelet: Add container runtime option.
2015-05-01 14:26:54 -07:00
Vish Kannan
cadfde0bd1
Merge pull request #7277 from guenter/cgroup-parent
...
Add --cgroup_parent flag to Kubelet to set the parent cgroup for pods
2015-05-01 10:24:58 -07:00
Quinton Hoole
bfaf976df7
Revert "Use native Ginkgo test runner instead of cmd/e2e"
2015-04-30 13:45:46 -07:00
Quinton Hoole
3602884d32
Merge pull request #7462 from ixdy/native-ginkgo-runner
...
Use native Ginkgo test runner instead of cmd/e2e
2015-04-30 13:27:04 -07:00
Tobi Knaup
b96c4046a8
Add --cgroup_root flag to Kubelet to set the parent cgroup for all pods.
...
Implements #6991 .
2015-04-30 10:32:27 -07:00
Piotr Szczesniak
11a2dc496f
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
...
Those are changes which touch users required by Termination Notice
Addresses #6804
2015-04-30 18:00:33 +02:00
Filip Grzadkowski
231284187e
Merge pull request #7431 from wojtek-t/conversion_chains
...
Prepare for chaining autogenerated conversion methods
2015-04-30 09:08:40 +02:00
Jeff Lowdermilk
9fd8cbae64
Merge pull request #7510 from eparis/cobra-rebase
...
Cobra rebase
2015-04-29 15:08:41 -07:00
Daniel Smith
4d2f7a38c2
Merge pull request #6866 from bprashanth/rc_watch_pods
...
RcManager watches pods and RCs instead of polling every 10s
2015-04-29 09:10:55 -07:00
Eric Paris
a17a26643b
Update kube to support new pflag/cobra
2015-04-29 11:26:30 -04:00
Wojciech Tyczynski
8eca76298f
Improvements to conversions generator.
2015-04-29 16:32:31 +02:00
Jeff Grafton
57750ccb51
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.
Additionally, several tests which made poor assumptions about cwd or
used testContext before it was set have been fixed.
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
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.)
2015-04-28 18:42:37 -07:00
Brian Grant
a4316aa638
Merge pull request #7454 from nikhiljindal/v1
...
Cloning v1beta3 as v1 and exposing it in the apiserver
2015-04-28 18:06:57 -07:00
nikhiljindal
c4d7e19c8c
Cloning v1beta3 as v1 and exposing it in the apiserver
2015-04-28 16:06:03 -07:00
Prashanth Balasubramanian
7592dabeba
RcManager uses informers
2015-04-28 13:45:15 -07:00
Brendan Burns
c9f4d8e57e
Merge pull request #7425 from roberthbailey/basic-auth-headers
...
Set the 'WWW-Authenticate' header on 401 responses when basic auth is enabled
2015-04-28 11:10:05 -07:00
Daniel Smith
19ae113fe0
Merge pull request #7353 from wojtek-t/too_many_dials
...
Increase maxIdleConnection limit when creating etcd client in apiserver.
2015-04-28 11:03:12 -07:00
Robert Bailey
4304b1d24a
Set the 'WWW-Authenticate' header on 401 responses when basic
...
auth is enabled. This is required for basic auth to work with
web browsers.
2015-04-28 11:00:05 -07:00
Robert Bailey
6d85dcb4a0
Add support for HTTP basic auth to the kube-apiserver.
2015-04-28 10:33:51 -07:00
Wojciech Tyczynski
07400f9d2b
Increase maxIdleConnection limit in etcd client.
2015-04-28 09:50:56 +02:00
Tim Hockin
0c611370e0
Merge pull request #7281 from thockin/flag-word-separators
...
Make flags accept - or _ between words
2015-04-27 18:11:58 -07:00
Tim Hockin
a3d45fada8
Change flags to use dashes in help
2015-04-27 15:11:03 -07:00
Tim Hockin
6694eff020
Use pflags word separators to make - and _ equiv.
2015-04-27 15:10:52 -07:00
Dawn Chen
aa487b7cab
Merge pull request #7382 from vmarmol/rkt-deps
...
Move Docker-specific log handling to DockerManager.
2015-04-27 15:10:14 -07:00
Daniel Smith
83093af8b0
Merge pull request #5707 from endocode/kbeecher/etcd_prefix
...
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
Victor Marmol
7404b7019c
Move Docker-specific log handling to DockerManager.
...
Eases the separation of Docker-specific code into the Docker-specific
runtime.
2015-04-27 13:10:10 -07:00
markturansky
beacd8722a
addressed feedback. added opt-in cmd line flag
2015-04-27 15:00:01 -04:00
markturansky
37d7f3f4f1
Added integration test, fixed a validation issue
2015-04-27 12:05:12 -04:00
markturansky
b634f17ca7
Refactored to DeltaFifo
2015-04-27 12:05:12 -04:00
markturansky
6c6aab60ab
goformatted
2015-04-27 12:05:12 -04:00
markturansky
fb412e47e4
Addressed feedback, improved flow and comments
2015-04-27 12:05:11 -04:00
Robert Bailey
0f22b6fc4d
Merge pull request #7251 from a-robinson/tp
...
Move load balancer host / target pool reconciliation to the service controller
2015-04-24 13:17:54 -07:00
Alex Robinson
6ae8e40d3d
Move the logic for reconciling the host targets of external load balancers
...
from the node controller to the service controller before impending changes
to the node controller make it not fit there anymore.
2015-04-24 18:44:04 +00:00
Clayton Coleman
ed00dae7c8
Merge pull request #7107 from wojtek-t/conversion_generator
...
Code to automatically generate conversion methods
2015-04-24 08:39:11 -04:00
Karl Beecher
a7623ca6cc
Adds ability to define a prefix for etcd paths
...
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.
Refs: #3476
2015-04-24 12:12:39 +02:00
Wojciech Tyczynski
c4a27f5c0f
Generating conversion methods.
2015-04-23 18:26:24 +02:00
Satnam Singh
2444c1f943
Propagate pod and container name for log files
2015-04-22 15:08:51 -07:00
Filip Grzadkowski
9357341995
Add metrics handler in controller manager.
2015-04-22 16:46:03 +02:00
Brian Grant
15c2986a07
Merge pull request #7067 from ravigadde/master
...
Added field selector for listing pods
2015-04-22 07:12:21 -07:00
Ravi Gadde
bf8f258471
Added field selector for listing pods.
2015-04-21 06:33:28 -07:00
Kenjiro Nakayama
c7d3a72c6a
Fix gofmt complaint
2015-04-21 09:36:41 +09:00
Kenjiro Nakayama
5e2e59e728
Add more help description to cert_dir flag
2015-04-20 00:35:56 +09:00
Kenjiro Nakayama
51d0443dde
Add cert_dir option to kube-apiserver
2015-04-19 17:40:08 +09:00
Prashanth B
f2f40b06aa
Merge pull request #6943 from lavalamp/fix4
...
Improve endpoint controller
2015-04-17 16:30:31 -07:00
Daniel Smith
a2953fdc7e
Make endpoint controller use framework
2015-04-17 15:21:51 -07:00
Jeff Lowdermilk
aba5d9aca5
Merge pull request #6969 from erictune/use_kubeconfig
...
Use kubeconfig in several components
2015-04-17 15:07:04 -07:00
Eric Tune
6081fa52a7
controller, scheduler, proxy use kubeconfig
...
--master option still supported.
--kubeconfig option added to kube-proxy,
kube-scheduler, and kube-controller-manager
binaries.
Kube-proxy now always makes some kind of API
source, since that is its only kind of config.
Warn if it is using a default client, which probably won't work.
Uses the clientcmd builder.
2015-04-17 12:44:17 -07:00
Robert Bailey
f3dd053a08
Merge pull request #6952 from mikedanese/kubelet-profiling
...
add enable_profiling option to kubelet healthz port
2015-04-17 07:42:35 -07:00
Eric Tune
6b93e5ba9d
Kube-proxy learns to read a kubeconfig
...
--master flag is still supported for distros that need it.
But now, --kubeconfig flag can be used instead, or in addition,
to specify the auth info, and/or the location of the master.
A subsequent PR will change salt to generate a kubeconfig,
and to make kube-proxy use it, for salt-based clouds.
2015-04-16 23:42:54 -07:00
Mike Danese
7b13870b32
add profiling to kubelet
2015-04-16 23:11:40 -07:00
Robert Bailey
8aff238c5f
Remove an unused function in the kubelet code.
2015-04-16 15:38:12 -07:00
Tim Hockin
c2bacd588d
Stop using dockerfile/* images
...
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx. Fix all
users in our tree. Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
Dawn Chen
d912398d07
Merge pull request #6813 from vmarmol/in-container
...
Run Kubelet and Kube-proxy in resource-only containers.
2015-04-15 10:37:00 -07:00
Brian Grant
775787bb4c
Merge pull request #6849 from nikhiljindal/validation
...
Updating api/validation/schema_test to test testapi.Version rather than just v1beta1
2015-04-15 10:25:54 -07:00
nikhiljindal
40842e4471
Updating api/validation/schema_test to test testapi.Version rather than just v1beta1
2015-04-14 23:51:49 -07:00
Quinton Hoole
cd6daae014
Merge pull request #6271 from a-robinson/asynclb
...
Manage load balancer creation and deletion asynchronously in a ServiceController
2015-04-14 17:50:07 -07:00
Alex Robinson
fc08a0a71b
Do service creation/update/deletion work in a pool of goroutines, protecting
...
each service with a lock to ensure that no two goroutines will process a
service at the same time. This is needed to avoid weird race conditions.
2015-04-15 00:30:18 +00:00
markturansky
d904e747e3
PVClaim volume plugin
2015-04-14 16:21:29 -04:00
Alex Robinson
2b14fc1d14
Remove the cloud provider field from the services REST handler and the master
...
now that load balancers are handled by the ServiceController.
2015-04-14 18:56:47 +00:00
Alex Robinson
ccc300289f
Implement a ServiceController that watches services and handles keeping
...
external load balancers up-to-date based on the service's specs, using
the new DeltaFIFO watch queue class. Remove the old registry REST
handler code for creating/updating/deleting load balancers.
Also clean up a bunch of the GCE cloudprovider code related to load balancers.
2015-04-14 18:56:24 +00:00
Alex Robinson
a11106edd3
Put the node controller in its own package rather than in the generic
...
cloudprovider/controller package.
2015-04-14 18:34:59 +00:00
Victor Marmol
587cfa4274
Run Kube-proxy in "/kube-proxy" container.
2015-04-14 10:29:05 -07:00
Victor Marmol
fb3c351fe1
Run Kubelet on "/kubelet" container.
2015-04-14 10:29:05 -07:00
Eric Paris
036937227f
Use Fprintf to print formatted strings
...
Shouldn't be using Fprint() with a format string.
2015-04-14 10:51:57 -04:00
Daniel Smith
d02139d2b4
Merge pull request #6771 from derekwaynecarr/ns_controller
...
Remove delay when deleting namespaces, move to new controller framework
2015-04-13 17:55:13 -07:00
Fabio Yeon
e99141de0d
Merge pull request #6729 from smarterclayton/chaosclient
...
Add a new Chaos transport that can simulate network failure and add it to the kubelet
2015-04-13 16:06:53 -07:00
Clayton Coleman
ca335d7be9
Add support for chaos to Kubelet and hack/local-up-cluster.sh
2015-04-13 18:21:20 -04:00
Deyuan Deng
236db3c252
Remove kubelet dependency on nodecontroller
2015-04-13 16:59:45 -04:00
Eric Paris
55d133eabb
doc/bash completions autogeneration directory helper
2015-04-13 15:27:55 -04:00
Eric Paris
ebb0affc21
Automatically generate bash completions for kubectl
2015-04-13 15:27:55 -04:00
derekwaynecarr
c1a3fa0dae
Remove delay when deleting namespaces, move to new controller framework
2015-04-13 15:18:22 -04:00
Jeff Lowdermilk
4a41a7ffe5
Merge pull request #6745 from eparis/auto-gen-markdown
...
Auto gen markdown
2015-04-13 10:00:55 -07:00
Victor Marmol
4e3b4bd10e
Merge pull request #6731 from xiang90/util-kubulet
...
pkg/kubelet: kill a TODO in util.go
2015-04-13 09:01:00 -07:00
Wojciech Tyczynski
59ab41c8f7
Merge pull request #6292 from jszczepkowski/scale-pool
...
Updating target pools on cloud nodes change.
2015-04-13 10:58:49 +02:00
Eric Paris
263dc981db
Use spf13/cobra md generation instead of doing it outselves
2015-04-12 15:03:13 -04:00
Xiang Li
cea38a2f4e
pkg/kubelet: kill a TODO in util.go
...
Move kubelet.CapabilitiesSetup to capabilities.Setup
2015-04-11 10:55:39 -07:00
Daniel Smith
66d55e0959
Merge pull request #6546 from lavalamp/fix
...
Add to controller framework; use in scheduler
2015-04-10 16:20:17 -07:00
Eric Paris
8e7d14196f
Fix printing errors from failed binary runs
...
I had the kublet die on startup and the only error was "0x401da0" Which
I assume is an address of the err.Error function. The other way to fix
this, I think, would be to use err.Error(), however that could cause
fmt.Fprintf() problems, debuging on the error message people used.
Now I get a nice clean error I can understand:
"cAdvisor.New() err = mountpoint for cpu not found"
2015-04-10 17:56:47 -04:00
Dawn Chen
c19437395b
Merge pull request #6702 from ddysher/remove-nodeinfo
...
Remove nodeinfo endpoint from kubelet
2015-04-10 14:54:16 -07:00
Daniel Smith
065a8fa454
add informational output to test
2015-04-10 14:05:07 -07:00
Tim Hockin
4a7b0eecbb
Merge pull request #5138 from justinsb/cloud_pd
...
AWS EBS volume support
2015-04-10 13:47:03 -07:00
Justin Santa Barbara
503e19e58c
Rename aws_pd -> aws_ebs
2015-04-10 13:25:44 -07:00
Justin Santa Barbara
4e176771b6
Make fetching the aws instance id optional, so we can use it on e2e
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
89089900d7
Fix merge problems
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
6a4153fc0a
Always create volumes in the active k8s zone
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
ffadd5533a
Fix AWS region vs zone
...
We were specifying a region, but naming it as a zone in util.sh
The zone matters just as much as the region, e.g. for EBS volumes.
We also change the config to require a Zone, not a Region.
But we fallback to get the information from the metadata service.
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
edf0292d4a
Add initial support for Volumes to AWS
2015-04-10 13:25:42 -07:00
Deyuan Deng
868e05ce96
Remove nodeinfo endpoint from kubelet
2015-04-10 15:47:32 -04:00
Robert Bailey
8174cef3a3
Enable pprof on the kube-proxy's healthz http server.
2015-04-10 12:05:32 -07:00
Jerzy Szczepkowski
1c042208c7
Added retrying update of balancers in case some of updates failed.
2015-04-10 16:06:56 +02:00
Jerzy Szczepkowski
eb253a694e
Updating target pools on cloud nodes change.
...
Implemented updating target pools for external services on chage of cloud nodes. Related to #5241 .
2015-04-10 16:06:56 +02:00
Timothy St. Clair
2b60111fca
Performance change to option enable client.QPS, client.Burst
...
and change default on max_requests_inflight.
2015-04-10 07:53:54 -05:00
Yifan Gu
d696ecdba5
integration: Randomize the order of the integration tests.
2015-04-09 18:39:34 -07:00
Yu-Ju Hong
faf47b6f0b
Limit the number of concurrent tests in integration.go
...
Integration test often time out because the machine is loaded. Instead of
increasing timeout, this change hopes to address the issue by limiting the
number of tests running simultaneously.
Add a new flag in integration.go to specify the maximum number of concurrent
tests. Set the default in travis and shippable configurations to be 4.
2015-04-09 16:54:23 -07:00