Chao Xu
15e6ca5ac5
rename to GroupVersion and rename the one in type.go to GroupVersionForDiscovery
2015-11-05 14:52:58 -08:00
Chao Xu
fb360bca98
add comments
2015-11-05 14:15:01 -08:00
Chao Xu
6419924a5e
add ugorji unmarshaller and address comments
2015-11-05 13:46:44 -08:00
Justin Santa Barbara
b2c2d617cf
Label nodes with Zone information, if available
...
This lays the groundwork for simple multizone capabilities.
In a cloud environment, nodes are typically created by the kubelet
registering with the API server. When creating a new node, we now query
the cloudprovider to see if it can provide Zone information, and if so
we add some well-known labels to the Node we are creating.
2015-11-05 14:35:05 -05:00
Chao Xu
9d52b0fc08
add GroupVersion struct
2015-11-04 18:38:26 -08:00
Clayton Coleman
3da15535b6
Provide backpressure to clients when etcd goes down
...
When etcd is down today we don't specifically handle the error involved,
which means clients get a generic 500 error. This commit adds a formal
error type internally for both WatchExpired and EtcdUnreachable, and
then converts them to api/errors before returning to the client. It also
upgrades the client to retry on any 429 or 5xx error that has a
Retry-After header, instead of just 429.
In combination, this allows the apiserver to exert backpressure on
controllers that are hotlooping. Picked 2 seconds by default, but we
could potentially ramp that up even further in a future iteration.
2015-11-04 16:05:12 -05:00
Jordan Liggitt
b3157d1445
Ensure HPA has valid resource/name/subresource, validate path segments
2015-11-03 14:46:17 -05:00
k8s-merge-robot
f371b3d891
Merge pull request #16621 from timstclair/metrics-lite
...
Auto commit by PR queue bot
2015-11-03 02:13:19 -08:00
feihujiang
f7bfb04665
Add a comment that not return an error for rootscoped resources with namesapce
2015-11-03 11:00:01 +08:00
Tim St. Clair
5cd5b80f9e
Set up new "metrics" API group.
...
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
feihujiang
3603b14977
Move service strategy to registry/service package
2015-11-02 19:56:03 +08:00
Mike Danese
82111a7cb5
add component config api group
2015-10-31 11:42:38 -07:00
k8s-merge-robot
55246db600
Merge pull request #16491 from wojtek-t/merge_to_options_in_storage
...
Auto commit by PR queue bot
2015-10-30 04:30:17 -07:00
Mike Danese
f237db81f0
daemonset don't place pods on notready nodes
2015-10-29 11:11:20 -07:00
Wojciech Tyczynski
9c53f301f1
Merge selectors with ListOptions.
2015-10-29 15:42:57 +01:00
k8s-merge-robot
cd7e4bd6bb
Merge pull request #16364 from liggitt/unversioned_types
...
Auto commit by PR queue bot
2015-10-29 05:56:17 -07:00
k8s-merge-robot
d5be3635e5
Merge pull request #16273 from wojtek-t/list_options_in_api
...
Auto commit by PR queue bot
2015-10-29 01:57:29 -07:00
k8s-merge-robot
d695177229
Merge pull request #16054 from smarterclayton/revert_extension_syntax
...
Auto commit by PR queue bot
2015-10-27 19:57:15 -07:00
Daniel Smith
3f3ca480be
Merge pull request #16080 from yujuhong/reset_defaults
...
Add custom pod conversion functions from pre-v1.1 mirror pods
2015-10-27 15:47:34 -07:00
Daniel Smith
8524d392bf
Merge pull request #16178 from madhusudancs/kubelet-out-of-disk-no-master
...
Report node out of disk condition in the kubelet.
2015-10-27 14:28:03 -07:00
Yu-Ju Hong
e5c82d2292
Add custom pod conversion functions from pre-v1.1 mirror pods
...
The functions would default values added after v1.0, so that kubelet wouldn't
fail at comparing the mirror pods against their associated static pods.
This code would need to be maintained if we ever change the default value in
Pod until we drop support for v1.0 nodes.
2015-10-27 10:50:30 -07:00
Jordan Liggitt
3bc4abb9aa
Add TypeMeta to discovery response objects
2015-10-27 10:27:13 -04:00
Wojciech Tyczynski
aa30e38183
Pass resource version to storage List operation.
2015-10-27 10:03:58 +01:00
k8s-merge-robot
df265b2d6e
Merge pull request #15510 from aveshagarwal/master-selflink-objref
...
Auto commit by PR queue bot
2015-10-27 00:37:21 -07:00
Madhusudan.C.S
9c4424f0bd
Report out of disk as a node condition when node goes out of disk.
...
Define a new out of disk node condition and use it to report when node
goes out of disk.
Make a copy of loop range clause variable in node listers so that it
is available outside the for loop.
Also update/implement unit tests.
2015-10-26 15:01:20 -07:00
Janet Kuo
54b743bc05
Change resource "ingress" to "ingresses" in URL path and kubectl
2015-10-25 16:54:25 -07:00
k8s-merge-robot
fea0a7d753
Merge pull request #15850 from mqliang/refactorValidation
...
Auto commit by PR queue bot
2015-10-25 05:42:49 -07:00
Wojciech Tyczynski
aa57f607f6
Update auto-generated files
2015-10-24 13:29:37 +02:00
Wojciech Tyczynski
f4d75e0a0a
Support timeout in watch requests
2015-10-24 13:12:49 +02:00
k8s-merge-robot
6d10b76b11
Merge pull request #15980 from janetkuo/kubectl-edit-updateapplyannotation
...
Auto commit by PR queue bot
2015-10-24 02:48:22 -07:00
mqliang
ce384e62ed
fix conflict after rebase
2015-10-23 14:28:09 +08:00
mqliang
57faaf4f96
refactor validation.go to avoid duplicating
2015-10-23 14:23:55 +08:00
Janet Kuo
f5adda3d81
Fixed the error for kubectl edit multiple resources
2015-10-22 22:35:15 -07:00
Paul Morie
3cd12f5e05
FSGroup implementation
2015-10-22 16:40:59 -04:00
Filip Grzadkowski
8e07d2fc93
Merge pull request #15975 from liggitt/validate_before_create
...
Validate ObjectMeta in BeforeCreate
2015-10-22 14:47:40 +02:00
Filip Grzadkowski
343f195042
Merge pull request #16068 from JanetKuo/increase-annotation-size-limit
...
Increase the annotation size limit to 256k
2015-10-22 14:45:49 +02:00
Janet Kuo
e36121ae9b
Increase the annotation size limit to 256k
2015-10-21 16:16:55 -07:00
Paul Morie
393e2bc019
Inline some SecurityContext fields into PodSecurityContext
2015-10-21 19:01:17 -04:00
Clayton Coleman
be868e934c
Revert resource.Builder changes from 57388f9
...
57388f9f94
2015-10-21 16:23:33 -04:00
Jeff Lowdermilk
12c971f625
Merge pull request #15455 from mqliang/stringConstant
...
replace several error messages as constant, instead of duplicating
2015-10-21 13:10:13 -07:00
Jordan Liggitt
63fb6c07a5
Validate names in BeforeCreate
2015-10-21 14:11:41 -04:00
k8s-merge-robot
a5a917603c
Merge pull request #15837 from feihujiang/removeUselessCodesAboutMinion
...
Auto commit by PR queue bot
2015-10-21 09:05:46 -07:00
Sami Wagiaalla
030f882f06
Add Support for supplemental groups
2015-10-20 12:44:32 -04:00
k8s-merge-robot
b896a66679
Merge pull request #15739 from JanetKuo/kubectl-autoscale
...
Auto commit by PR queue bot
2015-10-19 14:15:23 -07:00
Mike Danese
ac5524d84d
Merge pull request #14496 from kargakis/deep-copies-fix
...
deep-copies: Structs cannot be nil
2015-10-19 10:28:55 -07:00
Janet Kuo
8105aa44a0
Implement kubectl autoscale
2015-10-19 09:59:22 -07:00
mqliang
b6be9b9684
use string constant instead of duplicating
2015-10-19 22:00:41 +08:00
feihujiang
a456b4c424
Remove useless codes about Minion kind
2015-10-19 19:29:45 +08:00
k8s-merge-robot
75c977d200
Merge pull request #15596 from zhengguoyong/alias_util_errors_packagename
...
Auto commit by PR queue bot
2015-10-19 02:35:37 -07:00
k8s-merge-robot
44a9877bd4
Merge pull request #15750 from yehuis4/master
...
Auto commit by PR queue bot
2015-10-19 01:06:34 -07:00
eulerzgy
f8f9afb874
alias local packagename for pkg/util/errors
2015-10-18 09:37:46 +08:00
k8s-merge-robot
72235d6607
Merge pull request #15709 from derekwaynecarr/ingress_status
...
Auto commit by PR queue bot
2015-10-17 00:40:35 -07:00
k8s-merge-robot
d3ca12f61b
Merge pull request #15053 from smarterclayton/stdin_once
...
Auto commit by PR queue bot
2015-10-17 00:03:32 -07:00
k8s-merge-robot
d41737eff2
Merge pull request #15689 from caesarxuchao/default-ns-componentstatus
...
Auto commit by PR queue bot
2015-10-16 20:56:38 -07:00
Clayton Coleman
d6fcc332af
Codecgen output for stdinOnce
2015-10-16 20:33:52 -04:00
Clayton Coleman
e929baf91a
Support stdinOnce, which allows run-once STDIN injection
...
This allows containers to wait for input before startup by listening
on STDIN, and after STDIN is closed, continue running. Matches the
Docker syntax.
2015-10-16 20:33:50 -04:00
Chao Xu
262825f13d
make componenetstatus root scoped
2015-10-16 10:24:31 -07:00
k8s-merge-robot
f5afa634ff
Merge pull request #15574 from derekwaynecarr/resource_quota_fractional
...
Auto commit by PR queue bot
2015-10-16 07:38:26 -07:00
y00278980
2a0e1dd9e2
Fix some problems:
...
1. cluster/saltbase/pillar/README.md L8 quoted the wrong line number of cluster/gce/configure-vm.sh
2. spelling mistake of 'retruns'
2015-10-16 21:29:05 +08:00
Wojciech Tyczynski
d51965bf00
Autogenerate files.
2015-10-16 10:20:02 +02:00
Jerzy Szczepkowski
df732f061a
HorizontalPodAutoscaler API: removal of ResourceConsumption target, introduction of CPU request utilization & other cleanups.
2015-10-16 07:15:50 +02:00
k8s-merge-robot
ae0ea6496e
Merge pull request #15278 from combk8s/logCapital
...
Auto commit by PR queue bot
2015-10-15 13:37:39 -07:00
derekwaynecarr
65efc784cb
Fix error message in validate load balancer status
2015-10-15 11:06:41 -04:00
k8s-merge-robot
351cc2040e
Merge pull request #15491 from derekwaynecarr/ingress_status
...
Auto commit by PR queue bot
2015-10-15 06:04:38 -07:00
k8s-merge-robot
8c753c84eb
Merge pull request #15191 from caesarxuchao/validate-UID
...
Auto commit by PR queue bot
2015-10-15 04:20:24 -07:00
combk8s
59b392c4fa
Capitalize the first letter in some log files
2015-10-15 11:03:56 +08:00
derekwaynecarr
eae56c3b2d
Add status subresource to Ingress
2015-10-14 14:36:29 -04:00
derekwaynecarr
62b4467c69
Resource Quota should not let fractional values for API resources
2015-10-14 09:47:38 -04:00
Dawn Chen
61a175f0bc
Merge pull request #15442 from smarterclayton/connect_responder
...
Connect should be passed a Responder interface
2015-10-13 16:51:47 -07:00
Chao Xu
be0754750f
add common fields validation before updaing a resource; make the repair of malformed update request flippable by a flag.
2015-10-13 16:28:32 -07:00
k8s-merge-robot
6d7d7080df
Merge pull request #14411 from feihujiang/removeUselessTodoNotes
...
Auto commit by PR queue bot
2015-10-13 15:49:12 -07:00
Clayton Coleman
d4cdabf2fc
Connect should be passed a Responder interface
...
For connect handlers that need to respond with a structured error or
structured object, pass an interface that hides the details of writing
an object to the response (error or runtime.Object).
Example use case:
Connect handler that accepts a body input stream, which it streams to a
pod, and then returns a structured object with info about the pod it
just created.
2015-10-13 15:05:14 -04:00
k8s-merge-robot
2dec0826f7
Merge pull request #15351 from caesarxuchao/fix-14584-1
...
Auto commit by PR queue bot
2015-10-13 02:19:43 -07:00
Avesh Agarwal
8e4a8b7260
Addresses issue #6596 .
...
Removes ForTesting_ReferencesAllowBlankSelfLinks.
Fixes controller's persistentvolumes unit tests.
2015-10-12 19:21:48 -04:00
Chao Xu
7554331185
update swagger
2015-10-12 13:34:07 -07:00
Chao Xu
4c9b88a3c2
combine types.go and unversioned.go
2015-10-12 13:34:07 -07:00
Chao Xu
d1d10f8361
rename api to unversioned
2015-10-12 13:31:45 -07:00
Timothy St. Clair
2a2a2d79ff
New etcd client modifications part 1 (context support)
...
This commit plumbs contexts which are needed for the new client.
2015-10-12 08:45:49 -05:00
kargakis
ef36b3e4f6
deep-copies: Structs cannot be nil
2015-10-12 15:21:30 +02:00
Chao Xu
53eab7ef1e
gofmt
2015-10-09 16:04:43 -07:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
a87db8834f
manual fix testapi
2015-10-09 15:30:25 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
347d53ff2e
v1alpa1->v1beta1
2015-10-09 15:06:28 -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
k8s-merge-robot
1f764fcd3f
Merge pull request #14726 from linzichang/validation-on-list
...
Auto commit by PR queue bot
2015-10-08 23:38:53 -07:00
derekwaynecarr
544b453e31
Add replication controller status subresource
2015-10-07 14:39:33 -04:00
k8s-merge-robot
b0d748efb0
Merge pull request #14461 from JanetKuo/kubectl-api-group-cmd
...
Auto commit by PR queue bot
2015-10-07 07:29:10 -07:00
Janet Kuo
57388f9f94
Support kubectl group/resource name
2015-10-06 13:12:32 -07:00
Zichang Lin
755d740fed
Add validate support for list kind
2015-10-06 18:42:36 +08:00
Paul Morie
227dd82119
Add PodSecurityContext and backward compatibility tests
2015-10-05 21:05:27 -04:00
Tim Hockin
6260759c51
Merge pull request #14328 from agonzalezro/flocker
...
Add flocker volume plugin
2015-10-02 16:02:18 -07:00
k8s-merge-robot
2433f2eaa4
Merge pull request #14929 from caesarxuchao/fix-thirdparty-apiversion
...
Auto commit by PR queue bot
2015-10-02 05:45:46 -07:00
k8s-merge-robot
1bcdd56cf3
Merge pull request #12283 from ncdc/gh8766-port-forward-not-closing-correctly
...
Auto commit by PR queue bot
2015-10-02 04:48:12 -07:00
Chao Xu
f4ff0f7683
fix thirdparty API, now the config file of thirdpartyresource also need to group/version instead of version
2015-10-01 12:30:51 -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
Andy Goldstein
ed021fed4c
Port forwarding fixes
...
Correct port-forward data copying logic so that the server closes its
half of the data stream when socat exits, and the client closes its half
of the data stream when it finishes writing.
Modify the client to wait for both copies (client->server,
server->client) to finish before it unblocks.
Fix race condition in the Kubelet's handling of incoming port forward
streams. Have the client generate a connectionID header to be used to
associate the error and data streams for a single connection, instead of
assuming that streams n and n+1 go together. Attempt to generate a
pseudo connectionID in the server in the event the connectionID header
isn't present (older clients); this is a best-effort approach that only
really works with 1 connection at a time, whereas multiple concurrent
connections will only work reliably with a newer client that is
generating connectionID.
2015-09-30 20:03:49 -04:00
nikhiljindal
b99d225d19
Setting PodReadyCondition.LastTransitionTime
2015-09-29 17:23:32 -07:00
Brian Grant
313918f561
Merge pull request #14148 from brendandburns/perf
...
Add a method for encoding directly to a io.Writer and use it for HTTP
2015-09-25 13:19:58 -07:00
Brian Grant
51a3b80b99
Merge pull request #13372 from thockin/strict-compat-external-ip
...
easier auto-conversion, strict compat with deprecatedPublicIPs
2015-09-25 11:10:28 -07:00
Brian Grant
7bd741b93b
Merge pull request #14495 from derekwaynecarr/improve_quota_validation
...
Ensure ResourceQuota values are non-negative
2015-09-25 11:00:19 -07:00
Brian Grant
ca3ffed823
Merge pull request #14397 from caesarxuchao/StorageVersion-map
...
Remove ExpStorageVersion and add StorageVersions to APIServer struct
2015-09-24 22:41:49 -07:00
Brian Grant
727604cb9b
Merge pull request #14154 from hurf/quantity_add
...
Remove type validation in resource.Quantity.Add
2015-09-24 18:28:01 -07:00
Chao Xu
c449baea46
Remove ExpStorageVersion and Add StorageVersions to APIServer struct
2015-09-24 17:44:59 -07:00
Tim Hockin
f14709b493
Restore deprecatedPublicIPs for compat
...
The v1 API will retain deprecatedPublicIPs, but externalIPs is preferred.
2015-09-24 17:21:07 -07:00
Tim Hockin
fd91d3f0ec
Make patch-up conversions simpler
...
Rather than an "all or nothing" approach to defining a custom conversion
function (which seems destined to cause problems eventually), this is an
attempt to make it possible to call the auto-generated code and then "fix it
up".
Specifically, consider you have a fooBar struct. If you don't define a
conversion for FooBar, you will get a generated function like:
convert_v1_FooBar_To_api_FooBar()
Before this PR, if you define your own conversion function, you get no
generated function. After this PR you get:
autoconvert_v1_FooBar_To_api_FooBar()
...which you can call yourself in your custom function.
2015-09-24 17:21:07 -07:00
Chao Xu
3473212ea5
remove thirdParty API from api/v1/ and api/
2015-09-24 16:31:00 -07:00
Brendan Burns
8998219686
Add a method for encoding directly to a io.Writer and use it for HTTPx
2015-09-24 15:52:09 -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
Eric Tune
2eb60f4326
Merge pull request #14319 from nikhiljindal/deploymentExamplew
...
Adding an example deployment yaml
2015-09-24 13:57:18 -07:00
Eric Tune
33c4c50c1e
Merge pull request #14358 from derekwaynecarr/fix_request_defaulting
...
Default resources.requests only for Pod resources
2015-09-24 13:43:44 -07:00
derekwaynecarr
b29722c728
Ensure ResourceQuota values are non-negative
2015-09-24 10:15:40 -04:00
nikhiljindal
60bd4012ae
Adding a deployment example
2015-09-23 18:41:11 -07:00
Brendan Burns
77fd388485
Increase a bunch of timeouts to reduce flakes
2015-09-23 11:09:03 -07:00
feihujiang
4a126e7297
Remove useless todo notes that handle required fields
2015-09-23 17:45:22 +08:00
derekwaynecarr
025f24aa6d
Make requests defaulting only work on pods
2015-09-22 14:11:01 -04:00
k8s-merge-robot
34ef11321c
Merge pull request #14341 from mikedanese/not-ready
...
Auto commit by PR queue bot
2015-09-22 08:53:42 -07:00
k8s-merge-robot
e535e27e82
Merge pull request #14279 from pweil-/ipc-followup
...
Auto commit by PR queue bot
2015-09-22 07:28:07 -07:00
hurf
5cc909afe7
Remove type validation in resource.Quantity.Add
...
The type validation is unnecessary for add and will cause problem.
Type will always keep unchanged after new amount is added.
2015-09-22 21:07:31 +08:00
Mike Danese
edda776b4a
fix validation for notReadyAddress subsets
2015-09-22 01:08:26 -07:00
k8s-merge-robot
de597c8dc4
Merge pull request #13822 from brendandburns/schema-api-2
...
Auto commit by PR queue bot
2015-09-21 19:23:10 -07:00
k8s-merge-robot
c96c76b729
Merge pull request #13780 from smarterclayton/pod_logs
...
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
Brendan Burns
fb9efac68c
Complete initial third party API support in the master
2015-09-21 15:56:36 -07:00
k8s-merge-robot
2e5a3cfbc6
Merge pull request #14240 from caesarxuchao/improve-latet-panic-message-for-v1
...
Auto commit by PR queue bot
2015-09-21 15:11:56 -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
Clayton Coleman
c2e90cd154
Support extended pod logging options
...
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.
Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
Chao Xu
1278771b34
let apiserver support api discovery
2015-09-21 12:20:24 -07:00
Chao Xu
9c2202a771
improve the panic message of GroupOrDie
2015-09-21 11:51:48 -07:00
k8s-merge-robot
81ec641f15
Merge pull request #14257 from feihujiang/removeCodeAboutMinionAgain
...
Auto commit by PR queue bot
2015-09-21 11:45:40 -07:00
Paul Weil
20361e33f2
use infra container ns for ipc
2015-09-21 12:47:19 -04: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
feihujiang
c99172924c
Remove useless code about minion
2015-09-21 14:51:19 +08: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
gmarek
a5de60f985
Fix swagger docs
2015-09-19 20:16:45 +02:00
k8s-merge-robot
5d67c2ce1f
Merge pull request #12894 from nikhiljindal/PodCondition
...
Auto commit by PR queue bot
2015-09-18 18:59:51 -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
Tim Hockin
9698e957a6
Merge pull request #12717 from tamnd/fixdockercfg
...
Fix new docker config format for private registries
2015-09-18 14:43:38 -07: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
nikhiljindal
6523ec142b
Adding more fields to PodCondition
2015-09-18 05:26:13 -07:00
k8s-merge-robot
73d71d6a67
Merge pull request #14096 from mvdan/util-duration
...
Auto commit by PR queue bot
2015-09-18 00:20:43 -07:00
k8s-merge-robot
5577430785
Merge pull request #13852 from hurf/lr_ratio_validation
...
Auto commit by PR queue bot
2015-09-17 21:51:31 -07:00
Daniel Martí
586cb9126a
Move pkg/util.Time to pkg/api/unversioned.Time
...
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Daniel Martí
21c7dd42de
Add pkg/api/unversioned.Duration type
...
Similar to pkg/util.Time.
2015-09-17 16:25:46 -07:00
Kris
c5f22a025a
Regenerating everything
2015-09-17 14:09:53 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
k8s-merge-robot
36eb7372c8
Merge pull request #13259 from soltysh/job_controller_logic
...
Auto commit by PR queue bot
2015-09-17 13:22:34 -07:00
k8s-merge-robot
055f5ff9b9
Merge pull request #13649 from markturansky/prov_deleter
...
Auto commit by PR queue bot
2015-09-17 12:59:45 -07:00
k8s-merge-robot
7cee028497
Merge pull request #13778 from smarterclayton/unready_endpoints
...
Auto commit by PR queue bot
2015-09-17 11:36:17 -07:00
Alex Mohr
f893245f4e
Merge pull request #14103 from feihujiang/fixWrongPathOfDocument
...
Fixes the wrong path of documents
2015-09-17 10:27:41 -07:00
markturansky
c2de9e9647
Added volume.Deleter interface and simple HostPath implementation
2015-09-17 12:08:58 -04:00
Clayton Coleman
bf2decce81
Add NotReadyAddresses to Endpoints
...
In many cases clients may wish to view not ready addresses for endpoints
in order to do set membership prior to a pod being ready. For instance,
a pod that uses the service endpoints to connect to other pods under
the same service, but does not want to signal ready before it has
contacted at least a minimal number of other pods.
This is backwards compatible with old servers and clients. There is
an additional cost in size of endpoints before services ramp up, which
will add minor CPU and memory use for services that have a significant
number of pods which have not become ready.
2015-09-17 09:41:56 -04:00
feihujiang
51f59f3c78
Fix the wrong path of document
2015-09-17 20:38:08 +08:00
k8s-merge-robot
e83bf49f86
Merge pull request #13957 from ghodss/rename-deployment-structs
...
Auto commit by PR queue bot
2015-09-17 04:23:13 -07: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
Alex Mohr
0789627b6c
Merge pull request #14025 from zhengguoyong/fix-var-hostdir
...
fix the change of hostDir to hostPath
2015-09-16 21:47:53 -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
k8s-merge-robot
de233d35da
Merge pull request #13958 from feihujiang/removeUselessCodeAboutMinion
...
Auto commit by PR queue bot
2015-09-16 17:59:00 -07:00
k8s-merge-robot
22f698f5b0
Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
...
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
eulerzgy
d312c30847
fix the change of hostDir to hostPath
2015-09-16 22:31:17 +08:00
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00:00
feihujiang
ba38a8764b
Remove useless codes about minion
2015-09-16 14:22:53 +08:00
hurf
daeae81e1e
Add validation to MaxLimitRequestRatio in LimitRange
...
MaxLimitRequestRatio should >=1
MaxLimitRequestRatio should <= max/min(if both are specified)
2015-09-16 11:41:48 +08:00
Sam Ghods
cc6754f8d9
Rename Deployment API structs
2015-09-15 14:46:41 -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
k8s-merge-robot
bf641078eb
Merge pull request #13785 from wojtek-t/minion_to_node_2
...
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
k8s-merge-robot
8189460809
Merge pull request #13844 from tummychow/label-deps-2
...
Auto commit by PR queue bot
2015-09-14 12:56:24 -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
Wojciech Tyczynski
53ae56f205
Replace "minion" with "node" in bunch of places.
2015-09-14 11:07:11 +02:00
k8s-merge-robot
86b4e777e1
Merge pull request #13834 from derekwaynecarr/more_improvements_to_limit_range_validation
...
Auto commit by PR queue bot
2015-09-13 17:01:56 -07:00
tummychow
a21c52a766
Move util/validation files to their own package
2015-09-13 00:46:52 -07:00
Chao Xu
ca803fc504
address lavalamp's comment on using testapi instead of latest, and adding comments for public method.
2015-09-12 15:48:44 -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
0b6fd8c5c4
fixing tests
2015-09-11 17:33:22 -07:00
Chao Xu
190ca2ebf2
add import_known_versions.go
2015-09-11 17:32:23 -07:00
Chao Xu
64bf839e9f
refactor tests to use testapi rather than latest directly
2015-09-11 17:32:23 -07:00
Chao Xu
8f888e2826
add RESTMapper() in testapi
2015-09-11 17:31:47 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
Chao Xu
d690ae9664
install tests
2015-09-11 17:29:37 -07:00
Chao Xu
e400a15f84
make a central latest package
2015-09-11 17:29:37 -07:00
Daniel Smith
4c2adabf42
move; sed replace
2015-09-11 16:03:22 -07:00
k8s-merge-robot
6f01200188
Merge pull request #13727 from jiangyaoguo/fix-reason-reporting-in-kubelet
...
Auto commit by PR queue bot
2015-09-11 12:32:20 -07:00
derekwaynecarr
9bc48f699d
Validate LimitRange default and defaultRequest are not supported for limits of type Pod
2015-09-11 12:22:30 -04:00
Abhishek Shah
44ce4aa423
Create a LB for a K8S with the LB-IP provided by user.
2015-09-10 21:05:06 -07:00
k8s-merge-robot
f8804ed166
Merge pull request #13798 from hurf/lr_dup
...
Auto commit by PR queue bot
2015-09-10 19:11:27 -07:00
jiangyaoguo
62c0c35307
Fix reporting reason in kubelet
...
1. Make reason field of StatusReport objects in kubelet in CamelCase format.
2. Add Message field for ContainerStateWaiting to describe detail about Reason.
3. Make reason field of Events in kubelet in CamelCase format.
4. Update swagger,deep-copy and so on.
2015-09-11 10:01:08 +08: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
hurf
f61d434e1f
Remove duplicate value assginment when validating limitrange
...
It's unnecessary to get the quantities again from limit.
2015-09-10 21:26:53 +08:00
k8s-merge-robot
46d94b5fe6
Merge pull request #13688 from derekwaynecarr/fix_validate_limitrange
...
Auto commit by PR queue bot
2015-09-09 16:04:11 -07:00
derekwaynecarr
ea919f6d1e
Fix precision handling in validating LimitRange
2015-09-09 15:52:29 -04:00
k8s-merge-robot
0f1525ce9b
Merge pull request #13678 from pmorie/serialization-debug
...
Auto commit by PR queue bot
2015-09-08 16:37:18 -07:00
Paul Morie
502492f3ed
Make serialization tests easier to debug
2015-09-08 13:19:08 -04:00
k8s-merge-robot
2e2def36a9
Merge pull request #13581 from caesarxuchao/APIGroup-testapi-2
...
Auto commit by PR queue bot
2015-09-04 20:38:45 -07:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
Quinton Hoole
19017c761f
Merge pull request #13590 from markturansky/fix_empty_pv_list
...
Fixed empty PV/C lists by removing omitempty
2015-09-04 15:12:07 -07:00
Quinton Hoole
49702f9059
Merge pull request #13584 from wojtek-t/remaining_test_refactorings
...
Refactor registry tests to reduce dependency on go-etcd.
2015-09-04 13:12:45 -07:00
Quinton Hoole
fc946ce4a4
Merge pull request #12600 from derekwaynecarr/resource_quota_request
...
Update ResourceQuota for resource requirements requests
2015-09-04 12:39:46 -07:00
Quinton Hoole
e5e2bc9580
Merge pull request #10833 from markturansky/loosen_binding
...
Allow PV/Claim matching on inexact access modes
2015-09-04 09:06:31 -07:00
markturansky
b6feefbd9f
fixed empty PV/C lists by removing omitempty
2015-09-04 09:51:17 -04:00
Wojciech Tyczynski
2b2d6b677d
Refactor registry tests to reduce dependency on go-etcd.
2015-09-04 09:52:54 +02:00
derekwaynecarr
2e76842eb7
Update resource quota for requests
2015-09-03 14:24:59 -04:00
Wojciech Tyczynski
97b4a64e2c
Refactor registry etcd delete tests
2015-09-03 09:05:17 +02:00
Abhi Shah
1b0cf281e5
Merge pull request #13000 from brendandburns/schema-api-2
...
Add support for dynamic APIs
2015-09-02 13:53:28 -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
nikhiljindal
30a58321e8
Adding defaults to Deployment
2015-09-01 23:48:34 -07: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
Wojciech Tyczynski
6dfe5b4b5a
Refactoring of watch etcd tests.
2015-09-01 09:24:16 +02:00
Brendan Burns
b196d0f84b
Add support for installing custom object APIs
2015-08-31 21:13:36 -07:00
Brendan Burns
828e4d35a7
Add a storage implementation for thirdpartyresources.
2015-08-31 21:11:43 -07:00
nikhiljindal
13ecd8a72c
Adding deployment registry and exposing deployments in master
2015-08-31 10:47:04 -07:00
Sreekanth Pothanis
f5da6b34ce
Cinder Volume Plugin
2015-08-30 19:56:27 -07:00
k8s-merge-robot
e5ac413311
Merge pull request #13286 from nikhiljindal/validateDeployment
...
Auto commit by PR queue bot
2015-08-28 22:37:55 -07:00
k8s-merge-robot
08668d7d94
Merge pull request #13309 from kubernetes/revert-13246-revert-12492-limit_range_api
...
Auto commit by PR queue bot
2015-08-28 21:03:49 -07:00
nikhiljindal
92f373a4b6
Validate deployment
2015-08-28 12:47:33 -07:00
Prashanth B
52f7833cd3
Revert "Revert "LimitRange updates for Resource Requirements Requests""
2015-08-28 09:26:36 -07:00
Wojciech Tyczynski
836be0c432
Refactoring of update etcd tests.
2015-08-28 15:47:40 +02:00
markturansky
0b6030f50c
added better matching for PV access modes
2015-08-27 15:34:07 -04:00
Mike Danese
b772a9b74f
run autogenerated updates
2015-08-27 11:47:35 -07:00
Mike Danese
8460e3913d
move daemon controller to the experimental api
2015-08-27 11:47:35 -07:00
Mike Danese
650bf71cf7
Merge pull request #13120 from caesarxuchao/13804
...
add a fuzz function for expapi.APIVersion
2015-08-27 09:50:53 -07:00
Piotr Szczesniak
6e05b9e3a3
Revert "LimitRange updates for Resource Requirements Requests"
2015-08-27 10:50:50 +02:00
Chao Xu
fc9c2ddf0c
add a fuzz function for expapi.APIVersion
2015-08-26 15:23:36 -07:00
Yu-Ju Hong
b00c04c497
Merge pull request #12845 from hurf/o_name
...
Add -o name for commands which use printer to output results
2015-08-26 13:03:52 -07:00
Yu-Ju Hong
1bae2b677d
Merge pull request #12492 from derekwaynecarr/limit_range_api
...
LimitRange updates for Resource Requirements Requests
2015-08-26 13:02:57 -07:00
hurf
d2d96ff6e1
Add -o name for commands which use printer to output results
...
Added a new printer which prints 'resource/name' pair of a given
object.
2015-08-26 17:04:23 +08:00
Marek Grabowski
ad41904121
Merge pull request #12837 from JanetKuo/kubectl-validate-on
...
Make --validate default on and shows how to turn if off
2015-08-25 17:41:23 +02:00
Wojciech Tyczynski
d14654589a
Merge pull request #13092 from wojtek-t/refactor_etcd_create_test
...
Refactoring of create etcd tests.
2015-08-25 15:07:42 +02:00
Janet Kuo
5823ef771b
Make --validate default on and shows how to turn if off
2015-08-25 03:18:32 -07:00
derekwaynecarr
8fbe4645e3
Add fields to LimitRange object
2015-08-24 15:18:45 -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
Wojciech Tyczynski
61de4fc34d
Refactoring of create etcd tests.
2015-08-24 15:11:00 +02:00
Marcin Wielgus
9d466abd55
Serialization_test quick fix (remove exapi)
2015-08-24 13:13:14 +02:00
tamnd
906b279080
Support new docker config format for private registries
2015-08-22 15:37:25 +07:00
Anastasis Andronidis
10747841a0
move type documentation from tags to comments
2015-08-22 03:24:35 +02:00
Brendan Burns
5d664892f2
Add a storage implementation for thirdpartyresources.
2015-08-21 17:21:40 -07:00
Jerzy Szczepkowski
b337458ab6
Merge pull request #12993 from mikedanese/rtexpapi
...
fix roundtrip bug and add expapi to round trip serialization tests
2015-08-21 10:27:17 +02:00
k8s-merge-robot
44c76d5319
Merge pull request #12957 from smarterclayton/handle_terminating_pods
...
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Saad Ali
93ffc9c57e
Merge pull request #12992 from pmorie/description_checker
...
Make description checker check for descriptions in internal API
2015-08-20 17:32:44 -07:00
Abhishek Shah
b6b8e99393
External IPs support.
2015-08-20 16:10:01 -07:00
Mike Danese
a6d1b87336
fix roundtrip bug and add expapi to round trip serialization tests
2015-08-20 13:58:03 -07:00
Paul Morie
1e7b510a14
Remove internal API descriptions
2015-08-20 16:21:47 -04:00
Clayton Coleman
02dbb95447
Add TerminationGracePeriodSeconds to API
...
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski
62199f7cd3
Merge pull request #12911 from wojtek-t/refactor_etcd_test_2
...
Refactoring of list etcd tests.
2015-08-20 10:03:39 +02:00