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
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