Commit Graph

3303 Commits (4196780edaa380b80f01fdcd6df30ceed559804f)

Author SHA1 Message Date
Daniel Smith 4196780eda Add self links to objects sent down the watch channel. 2014-11-05 17:22:18 -08:00
Daniel Smith f4cffdc7cf Merge pull request #2179 from markturansky/v1beta3_refactor_podcontants
Refactor PodStatus to PodCondition in internal API for v1beta3
2014-11-05 14:52:00 -08:00
Eric Tune 0420005a32 Merge pull request #2158 from lavalamp/fix
Clean up auth test slightly
2014-11-05 14:51:46 -08:00
Daniel Smith c971763be2 Add anon. functions so that defers are executed where expected. 2014-11-05 14:42:37 -08:00
Daniel Smith 78d0e74b20 Clean up auth test slightly 2014-11-05 14:31:18 -08:00
markturansky 119f654a13 Refactor PodStatus to PodCondition in internal API for v1beta3 2014-11-05 17:26:47 -05:00
Joe Beda be20fe5170 Merge pull request #2183 from eparis/fedora-manual
update the ansible config doc
2014-11-05 14:16:32 -08:00
Eric Paris 0e125b5d4a update the ansible config doc 2014-11-05 17:00:52 -05:00
Daniel Smith 3bd10d4fb4 Merge pull request #2145 from lavalamp/eventing2
Add a placeholder to boundPod's SelfLink
2014-11-05 13:49:53 -08:00
Dawn Chen 7bcba9572b Merge pull request #2180 from lavalamp/fix2
Allow (delayed) apiserver starting when network interface isn't available.
2014-11-05 13:46:43 -08:00
Daniel Smith c163535563 Allow (delayed) apiserver starting when network interface isn't available immediately. 2014-11-05 12:07:33 -08:00
bgrant0607 39fba7c8d5 Merge pull request #2024 from meirf/parse-multivalue-based-selector-syntax
state-based parser for multi-valued set selector syntax
2014-11-05 11:17:39 -08:00
Daniel Smith 3260d300e5 Merge pull request #2166 from claire921/refactor_sched
Refactor PodFitsPorts
2014-11-05 10:30:00 -08:00
Daniel Smith 6e55514a47 Merge pull request #2167 from claire921/clean
Cleanup generic_scheduler
2014-11-05 10:22:24 -08:00
Daniel Smith 1b9dbe10d9 Merge pull request #2168 from claire921/cleanup_predicates
Refactore calculateOccupancy in pkg/scheduler
2014-11-05 10:21:34 -08:00
Joe Beda e8252b3463 Merge pull request #2175 from eparis/sched-as-kube-user
In example unit file, run the scheduler as kube, not root
2014-11-05 09:58:11 -08:00
Eric Paris 9f666969df In example unit file, run the scheduler as kube, not root
Only the kubelet and proxy do things which need root privs
2014-11-05 11:51:15 -05:00
Meir Fischer 444b74302a state-based parser for multi-valued set selector syntax 2014-11-05 08:47:51 -05:00
bgrant0607 3155cad475 Merge pull request #2169 from bgrant0607/config
Update api/validation service validation with service fields moved by #2086
2014-11-04 22:59:06 -08:00
Brian Grant 535785e3b9 Update api/validation service validation with service fields moved by #2086 2014-11-05 06:52:06 +00:00
bgrant0607 fc0dab630c Merge pull request #2086 from markturansky/v1beta3_refactor
Refactor internal API for Services to match v1beta3
2014-11-04 21:48:02 -08:00
Claire Li 076f1638b8 Refactore calculateOccupancy in pkg/scheduler 2014-11-04 21:44:44 -08:00
Claire Li 0e989afa66 Cleanup generic_scheduler 2014-11-04 21:39:10 -08:00
Claire Li 8d859f4260 Refactor PodFitsPorts 2014-11-04 21:21:26 -08:00
bgrant0607 1dddcea2f0 Merge pull request #1980 from bgrant0607/config
Config generator suite
2014-11-04 17:23:49 -08:00
Brian Grant b8959bf146 Initial cut of simple config generation/transformation tools 2014-11-05 01:14:34 +00:00
Brendan Burns c1ce1fcd46 Merge pull request #2163 from lavalamp/fix2
Fix nil docker client (how did this ever work???)
2014-11-04 17:07:53 -08:00
Daniel Smith 4b16e979e6 Fix nil docker client (how did this ever work???) 2014-11-04 16:58:37 -08:00
Daniel Smith e4dcd4a131 Merge pull request #2122 from erictune/moar_attribs
Moar authorization attributes
2014-11-04 13:17:47 -08:00
Daniel Smith 4630948ad7 Merge pull request #2150 from claire921/fix_health_test
Fix health_test.go
2014-11-04 13:16:47 -08:00
Daniel Smith 0ed0858d1d Merge pull request #2149 from claire921/r_health
Refactor Status.String() in health pkg
2014-11-04 13:15:47 -08:00
bgrant0607 c7ff31004b Merge pull request #2094 from brendandburns/svc
Add some validation for externalized service ports.
2014-11-04 13:04:56 -08:00
Clayton Coleman 437f90dac4 Merge pull request #2154 from smarterclayton/namespace_on_create
Check namespace on create of objects like update
2014-11-04 15:23:04 -05:00
Daniel Smith 9177458ad8 Merge pull request #2151 from claire921/r_health_http.go
Refactor formatURL in health/http.go
2014-11-04 11:50:09 -08:00
markturansky bd7643c033 refactor services to v1beta3 2014-11-04 14:23:53 -05:00
Joe Beda 5a649f2b93 Merge pull request #2155 from eparis/go-build-fix
fix unbounded host_platform when building with --use_go_build
2014-11-04 11:02:51 -08:00
Clayton Coleman 192541824f Check namespace on create of objects like update
A user should be allowed to create an object in a non-default namespace
if non is specified in the passed file.
2014-11-04 13:59:23 -05:00
Eric Paris 8a0e3e51e0 fix unbounded host_platform when building with --use_go_build
It's actually used unset a couple of lines after this patch, but this
just resolves it in one place instead of calling
$(kube::golang::host_platform) twice.
2014-11-04 13:58:06 -05:00
Joe Beda 652a0ce4db Merge pull request #2106 from eparis/go-build
add --use_go_build option when building binaries
2014-11-04 10:38:07 -08:00
Daniel Smith d7f98b2c1b Merge pull request #2140 from deads2k/deads-fix-pod-scheduler-retry
fix pod scheduling retry logic
2014-11-04 10:37:59 -08:00
Eric Paris 7403de8bd4 add --use_go_build option when building binaries
Because of Fedora's crazy packaging guidelines, go install basically
isn't allowed.  So allow us to use go build instead of go install.
test-integration also needs to accept the flag to be able to pass it
along to the build function.
2014-11-04 13:04:22 -05:00
bgrant0607 a8d43eb784 Merge pull request #2000 from smarterclayton/client_takes_multiple_types
Allow kubectl to handle arbitrary objects
2014-11-04 10:02:23 -08:00
Clayton Coleman 6026c8b56a Add more extensive test-cmd scenarios for output 2014-11-04 10:44:56 -05:00
Clayton Coleman 76648ffafb Like update, allow CLI create to clear resourceVersion 2014-11-04 10:44:56 -05:00
Clayton Coleman dbf28cbe51 Lock the output format version based on user input 2014-11-04 10:44:56 -05:00
Clayton Coleman a8ccb0f99f Display an external version of the object for --output
Use the version of the API the RESTMapper prefers (currently)
2014-11-04 10:44:56 -05:00
Clayton Coleman 179213f61c local-up-cluster: terminate all processes on SIGINT 2014-11-04 10:44:56 -05:00
Clayton Coleman 70aa9cc62c Add --template and --templatefile options for more flexibility
Allow directly entered templates for scripting flexibility.
Changes --output=template to mean "string" and --output=templatefile
to mean "from file"
2014-11-04 10:44:56 -05:00
Clayton Coleman e46adc4cd0 kubectl should error when namespace doesn't match file for update
A user who runs `kubectl update -f foo.json` where foo.json is a
resource in a namespace that does not match $(kubectl namespace)
may not intend to update the resource in that other namespace.

For now, return an error when the user does not explicitly set
the namespace via the CLI:

    # foo.json in 'one', current is 'two'
    $ kubectl update -f foo.json # FAILS

    $ kubectl update --namespace=one -f foo.json # SUCCEEDS
2014-11-04 10:44:56 -05:00
Clayton Coleman 09cfa364c5 Refactor Get and Describe to allow extension of types
Get should use ResourceMapper, allow Printer to be abstracted,
and extract Describe as *Describer types.
2014-11-04 10:44:56 -05:00