gmarek
c20efb6bae
Add validation for Endpoints
2015-04-08 20:12:07 +02:00
Derek Carr
6eb54e73e0
Merge pull request #5270 from lavalamp/fix7
...
Controller framework
2015-04-07 16:58:09 -04:00
Cesar Wong
e64d7337b3
Move flushwriter from Kubelet server to a common util package
...
Exposes a Wrap function to wrap a given writer into a writer that
flushes with every write if the writer also implements the io.Flusher
interface.
2015-04-07 07:46:30 -04:00
Huamin Chen
7a82af31de
add iscsi volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-06 16:20:28 -04:00
Rohit Jnagal
bfde7e0735
Merge pull request #6429 from lavalamp/fix
...
Oops, let's be careful about licensing.
2015-04-06 09:20:18 -07:00
Yu-Ju Hong
dbd7b186a0
Merge pull request #6338 from smarterclayton/improve_config_error
...
Return a typed error for config validation, and make errors simple
2015-04-03 18:08:15 -07:00
Daniel Smith
78b8f9599f
Fix another license problem.
2015-04-03 17:06:29 -07:00
Brian Grant
0d95883593
Merge pull request #6027 from ghodss/kube-patch
...
Implement Strategic Merge Patch in apiserver
2015-04-03 15:08:51 -07:00
Sam Ghods
2c977db1b3
Implement Strategic Merge Patch in apiserver
2015-04-03 11:51:02 -07:00
Piotr Szczesniak
8bc9f5fef7
Added rate limiting to pod deletion
...
Fixes #6228
2015-04-03 06:58:59 +02:00
Prashanth B
3fe4224b6c
Merge pull request #6314 from bparees/tokenbucket
...
add a blocking accept method to RateLimiter
2015-04-02 16:01:17 -07:00
Vish Kannan
ee98731a2a
Merge pull request #6269 from ddysher/extend-mount
...
Abstract IsMountPoint and improve FakeMounter
2015-04-02 15:29:38 -07:00
Daniel Smith
3fe17b93cf
Begin a controller framework.
2015-04-02 15:25:58 -07:00
Ben Parees
70be667cf8
add a blocking accept method to RateLimiter
2015-04-02 14:33:18 -04:00
Clayton Coleman
28b18f416f
Tone down logging in network interface choosing
2015-04-02 01:39:59 -04:00
Deyuan Deng
d62afa85ff
Abstract ismountpoint and use platform mounter for NFS volume
2015-04-01 23:05:02 -04:00
Jordan Liggitt
c797a91e36
Add client cert authentication
2015-04-01 13:42:26 -04:00
Brian Grant
3354cffbf0
Merge pull request #6182 from thockin/plural_services_20
...
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Paul Morie
7628b37d78
Add control over container entrypoint
2015-03-31 12:32:03 -04:00
Tim Hockin
186818d787
WIP: Implement multi-port Services
2015-03-30 19:28:11 -07:00
Tim Hockin
9ed6c95e8e
Reset hash state between runs.
2015-03-25 13:44:57 -07:00
Filip Grzadkowski
7085a0cb44
Merge pull request #5508 from fgrzadkowski/validate_ips
...
Validate Service.Spec.publicIPs to be a valid IP that is not a localhost
2015-03-25 12:11:29 +01:00
markturansky
2fd82f60f4
Move escape function to util and clarify name
2015-03-24 13:52:31 -04:00
Jordan Liggitt
a75b501821
Improve ResourceLocation API, allow proxy to use authenticated transport
2015-03-24 11:11:34 -04:00
Filip Grzadkowski
6bc1e2ef40
Add validation error explanation for long annotations.
2015-03-24 11:01:26 +01:00
Filip Grzadkowski
24eb1a08f3
Validate Service.Spec.publicIPs to be a valid IP that is not a localhost
2015-03-24 10:48:46 +01:00
Clayton Coleman
d19aac80ea
Merge pull request #5533 from smarterclayton/burn_yaml_with_fire
...
Burn YAML with fire (kind of)
2015-03-23 13:45:52 -04:00
Clayton Coleman
65425f690c
Move field errors to pkg/util/fielderrors
...
Allows pkg/api to take a reference to labels.Selector and fields.Selector
2015-03-22 17:43:34 -04:00
Satnam Singh
ec77230386
Merge pull request #5416 from smarterclayton/use_utc_serialized_and_local_otherwise
...
Use UTC when marshalling times and Local when unmarshalling
2015-03-20 08:32:26 -07:00
Clayton Coleman
71abc99dbe
Expose a ToJSON and runtime.YAMLDecoder helper
...
Enables clients to optionally handle YAML
2015-03-20 00:03:56 -04:00
Clayton Coleman
428d2263e5
Graceful deletion of resources
...
This commit adds support to core resources to enable deferred deletion
of resources. Clients may optionally specify a time period after which
resources must be deleted via an object sent with their DELETE. That
object may define an optional grace period in seconds, or allow the
default "preferred" value for a resource to be used. Once the object
is marked as pending deletion, the deletionTimestamp field will be set
and an etcd TTL will be in place.
Clients should assume resources that have deletionTimestamp set will
be deleted at some point in the future. Other changes will come later
to enable graceful deletion on a per resource basis.
2015-03-19 15:33:32 -04:00
Clayton Coleman
d516a86633
Use UTC when marshalling times and Local when unmarshalling
...
Marshal to UTC and read into Local, which means clients automatically
show local time and stored values are always consistent.
2015-03-18 17:44:35 -04:00
gmarek
a3b137ce8e
Cleanup of validation.go
2015-03-18 08:59:35 +01:00
Tim Hockin
50c96789e7
Add an action log to FakeMounter.
...
# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate
#
# Your commit will be aborted unless you regenerate docs.
COMMIT_BLOCKED_ON_GENDOCS
2015-03-13 13:33:50 -07:00
Satnam Singh
b5082b2904
Merge pull request #5397 from brendandburns/master
...
Fix tests on OS X by re-introducing the old choose host interface
2015-03-12 14:31:31 -07:00
Brendan Burns
fab2b53ccf
Fix tests on OS X by re-introducing the old choose host interface
...
function as a fall back.
2015-03-12 12:33:06 -07:00
Brendan Burns
b53b2e1de0
Add and extend timeouts.
2015-03-11 14:12:46 -07:00
Tim Hockin
52298ab851
Merge pull request #4865 from sub-mod/proxier_go_change
...
use ChooseHostInterface in kube-proxy
2015-03-11 08:09:32 -07:00
Subin M
b8c91e7344
use ChooseHostInterface in kube-proxy
2015-03-11 13:50:53 +05:30
Rohit Jnagal
8798b0ae14
Merge pull request #5158 from thockin/use_fuzz_no_custom
...
Use new gofuzz features
2015-03-09 10:13:46 -07:00
Clayton Coleman
0f87337667
Kubelet tests broken on Macs with uppercase names
...
Hostname behavior across operating systems is inconsistent (Macs can
have uppercase host names, so can some other systems). In general,
always strings.ToLower(os.Hostname()).
2015-03-08 23:44:32 -04:00
Tim Hockin
fd1e49ce2f
Use new gofuzz features
2015-03-07 00:04:14 -08:00
Daniel Smith
b0f49449e1
Merge pull request #4985 from thockin/gofuzz
...
Update gofuzz dep
2015-03-06 10:19:01 -08:00
Tim Hockin
ca265c5705
Merge pull request #4898 from gmarek/client2
...
Loosen label and annotation validation and related tests
2015-03-06 09:14:24 -08:00
Paul Morie
17b51a93a3
Fix mount refactor nits
2015-03-06 11:46:07 -05:00
Tim Hockin
0b38282b9b
Fuzz util.Time with no nsec because JSON
2015-03-06 08:21:10 -08:00
Tim Hockin
b3304c49ad
Use deep spew in serialization test & go obj diff
2015-03-06 08:21:10 -08:00
gmarek
26b7fbeedf
apply comments
2015-03-06 13:21:40 +01:00
gmarek
bb8a4f5ed3
apply comments
2015-03-06 08:23:22 +01:00
gmarek
726a5af075
Loosen label and annotation validation and related tests
2015-03-06 08:23:22 +01:00
Paul Morie
8ef04a8425
Factor mount utility code out gce_pd volume plugin
2015-03-05 13:49:32 -05:00
Prashanth Balasubramanian
1970c2d201
Retry resizing replication controllers in kubectl
2015-03-02 20:26:41 -08:00
Yu-Ju Hong
241df2d3be
kubelet: record an event with a clear reason on host port conflict
...
Currently, kubelet silently ignores pods that caused host port conflict. This
commit surfaces the error by recording an event.
It also makes sure that kubelet iterates through the pods in the order of the
creation timestamp, which ensures that pods created later are ignored on
conflict.
2015-02-27 15:51:53 -08:00
Vish Kannan
aaa4a354d4
Merge pull request #4735 from screeley44/v1beta3_enablement
...
#4544 - Fix inadvertent whitespace in v1beta3 enablement
2015-02-25 10:06:11 -08:00
Brian Grant
3f69112e02
Merge pull request #4766 from mikedanese/remove-util-merge
...
Remove pkg/util/merge and replace with evanphx/json-patch
2015-02-25 09:22:01 -08:00
Salvatore Dario Minonne
0186acc37c
Extending label.Parse method to support exact match
2015-02-25 08:52:20 +01:00
Scott Creeley
40c03b057a
Fix whitespace in v1beta3 enablement
2015-02-24 14:49:54 -05:00
Mike Danese
88e1ab3cbe
replace pkg/util/merge with evanphx/json-patch
2015-02-23 20:55:30 -08:00
Andy Goldstein
44d41a0f1b
Move golang code to third_party
2015-02-20 20:00:31 -05:00
Andy Goldstein
5bd0e9ab05
Add streaming command execution & port forwarding
...
Add streaming command execution & port forwarding via HTTP connection
upgrades (currently using SPDY).
2015-02-20 09:57:02 -05:00
Victor Marmol
2d1a8d0da0
Allow ApplyOomScoreAdj to specify what PID to adjust for.
2015-02-19 17:16:31 -08:00
Yu-Ju Hong
7379502cc9
Run gofmt for hash.go to fix formatting errors
2015-02-19 10:51:46 -08:00
rsokolowski
14e93a112b
Make DeepHashObject function deterministic.
2015-02-19 16:46:19 +01:00
Mike Danese
3039f7846c
implement RFC7386 JSON Merge Patch
2015-02-15 22:21:10 -08:00
Tim Hockin
063ff6677c
Merge pull request #4422 from derekwaynecarr/set_difference
...
Set should have a difference function
2015-02-13 14:16:28 -08:00
derekwaynecarr
e7a0340ad7
Set should have a difference function
2015-02-13 15:39:56 -05:00
Jeff Lowdermilk
b23230e616
Merge pull request #4296 from deads2k/deads-allow-dots
...
allow dots in config set
2015-02-13 12:27:36 -08:00
deads2k
2dcaab75f5
allow dots in config set
2015-02-13 13:11:42 -05:00
Alex Robinson
b58160c5ea
Remove the unused TimeCache file and its tests. Fixes issue #4192 .
2015-02-11 11:11:43 -08:00
Marek Grabowski
72a066a992
Add more information to Validator error messages.
2015-02-09 18:07:09 +01:00
Wojciech Tyczynski
524cdba101
Fix hack/test-cmd.sh test.
2015-02-05 01:58:26 +01:00
Brendan Burns
ab0acae7d3
fix build on non-linux hosts.
2015-02-03 08:13:09 -08:00
Tim Hockin
1ee1702be0
Merge pull request #3808 from brendandburns/master
...
Add a mounter that uses google's safe_format_and_mount.
2015-02-02 16:29:10 -08:00
Brendan Burns
ac21ac24fa
Add a mounter that uses google's safe_format_and_mount.
2015-02-02 16:16:20 -08:00
Dawn Chen
4aac47c31d
make kube-proxy.log less verbose.
2015-02-02 11:15:14 -08:00
Joe Beda
e1dd6b297c
Create new hyperkube package.
...
This is the start of an uber-binary that can morph into any server. Eventually we'll want this to be able to launch multiple servers from a single command line.
2015-01-28 16:11:34 -08:00
Satnam Singh
358ace610d
Merge pull request #3824 from smarterclayton/allow_panic_and_error_reporting
...
Allow panics and unhandled errors to be sent elsewhere
2015-01-27 13:18:43 -08:00
Mike Danese
d77743a07c
gimports nits
2015-01-26 22:42:29 -08:00
Clayton Coleman
04b864a91f
Allow panics and unhandled errors to be reported to external targets
...
It would be better if Kubernetes could be instrumented to report panics
and handled but unreturned errors in controller loops to a remote
service. This commit introduces settable handlers for HandleCrash and a new
HandleError that can be overriden to report errors to a remote service
for analysis. HandleError() in particular is for control loops that do
not return an error, and so there is no ability to report those errors
other than in log files.
ReplicationController is provided as an example.
2015-01-26 20:23:46 -05:00
Jeff Lowdermilk
6ba8b7dfb2
Merge pull request #3768 from deads2k/deads-make-kubectl-config-easier-alt
...
make kubectl config set-cluster easier to use
2015-01-26 13:13:26 -08:00
deads2k
05bc508a13
make all kubectl config set-* easier to use
2015-01-26 15:16:54 -05:00
Tim Hockin
5d73fa40aa
Merge pull request #3588 from vishh/api_resources
...
Adding a 'Typename' strongtype for representing all resource types
2015-01-23 15:07:27 -08:00
Vishnu Kannan
c32295a180
Adding a 'Typename' strongtype for representing all compute resource types.
2015-01-23 22:17:56 +00:00
Tim Hockin
c292aa54c4
Merge pull request #3738 from smreed/randomize-roundrobin-endpoints
...
Randomize roundrobin endpoints
2015-01-23 12:33:17 -08:00
Steve Reed
a186b47cd3
Adds test for slice.ShuffleStrings
2015-01-23 09:30:09 -08:00
Filipe Brandenburger
a5898a9559
Keep boolean status of imported flags
...
This makes glog flags such as --logtostderr and --alsologtostderr keep
working without requiring an explicit =true.
Tested by building kubelet and invoking it with --logtostderr. Also
tested a few non-boolean flags to ensure they weren't affected.
2015-01-22 16:32:12 -08:00
Steve Reed
ab1ede3aaa
Sets year in copyright to 2015
2015-01-22 14:24:07 -08:00
Steve Reed
f7e3cb12a6
Moves string slice sorting, copying and shuffling into pkg/util/slice
2015-01-22 14:20:23 -08:00
Clayton Coleman
80d99b8d85
Merge pull request #3631 from deads2k/deads-add-set-deleteall
...
make StringSet.Delete accept multiple items
2015-01-20 17:22:58 -05:00
Tim Hockin
6cb275829f
Implement volumes as plugins.
...
Break up the monolithic volumes code in kubelet into very small individual
modules with a well-defined interface. Move them all into their own packages
and beef up testing along the way.
2015-01-20 11:45:45 -08:00
deads2k
5b8e38a665
make StringSet.Delete accept multiple items
2015-01-20 14:42:10 -05:00
Joe Beda
6bd6b905f5
Address code review comments
...
Add some documentation.
Create new util.InitFlags() function to merge and parse in one step.
2015-01-15 09:12:20 -08:00
Joe Beda
1d0b6ee5f5
Fix up logging flags for kubectl.
2015-01-15 09:12:20 -08:00
Joe Beda
f692604bdf
Fix name of pflag_import.go
2015-01-15 09:12:19 -08:00
Joe Beda
dcd00c936e
Move all kubernetes to posix flags
2015-01-15 09:12:19 -08:00
Tim Hockin
1be3de895c
Move util.UID to pkg/types
2015-01-14 15:22:21 -08:00
Tim Hockin
e86d4cd3c6
Use a strong type for UID fields
2015-01-14 13:53:43 -08:00
Zach Loafman
e14d5f3416
Merge pull request #3464 from smarterclayton/fix_invalid_json_in_services.sh
...
Fix e2e invalid JSON, ensure CLI communicates invalid JSON errors effectively
2015-01-14 10:26:34 -08:00
bgrant0607
312de43ace
Merge pull request #3444 from lavalamp/fix
...
eliminate possibility of double-calling
2015-01-14 10:12:26 -08:00
Clayton Coleman
31413c8727
Add more tests around JSON/YAML decoding from the CLI
...
Switch the ignore stream errors behavior to print a Warningf on
failure to parse, not v(2)
2015-01-14 12:38:36 -05:00