Justin Santa Barbara
95b68ae0b0
Rename pdName -> volumeId for AWS persistent volumes
2015-04-10 13:25:43 -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
Brendan Burns
fded23a777
Default replica controller nodeSelector using pod template.
...
Add default labels from pod if not present.
2015-04-09 20:50:37 -07:00
Piotr Szczesniak
007e6d9ff9
Removed TODO comment from ContainerStatuses in PodInfo
...
Fixes #6551
2015-04-08 14:39:41 +02:00
gmarek
72182735b9
Remove Node Controllers ability to pull status from Kubelet
2015-04-08 09:44:42 +02:00
Vish Kannan
c1ef9be261
Merge pull request #6174 from rootfs/wip-gluster
...
implement glusterfs volume plugin
2015-04-07 09:21:33 -07:00
Brian Grant
530fe89726
Merge pull request #6411 from gmarek/schedulable
...
Remove Schedulable Condition. Only Unschedulable bit from Spec will be used.
2015-04-07 08:38:30 -07:00
gmarek
ef56dca6b6
Remove ConditionSchedulable
2015-04-07 17:01:07 +02:00
Huamin Chen
a278ceeb0a
implement glusterfs volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-07 09:14:39 -04:00
Cesar Wong
6dba6aa178
Add PodLogOptions versioned resource
...
PodLogOptions will capture options passed in to retrieve a pod's log.
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
markturansky
95bd170ca2
PV & PVC Client implementation
2015-04-06 08:46:43 -04: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
Daniel Smith
34b399ca02
Fix incorrect reference to name in v1beta3 API.
2015-04-03 14:10:47 -07:00
Sam Ghods
2c977db1b3
Implement Strategic Merge Patch in apiserver
2015-04-03 11:51:02 -07:00
Prashanth Balasubramanian
5903f6ff39
Register field conversion function under the right type name
2015-04-02 18:37:28 -07:00
Prashanth B
620af16892
Merge pull request #6097 from derekwaynecarr/limit_range_default_value
...
Limit range supporting a default resource limits value
2015-04-02 16:04:09 -07:00
Brian Grant
414be101b6
Merge pull request #6352 from piosz/api
...
Removed PodStatus.Host
2015-04-02 13:16:24 -07:00
Wojciech Tyczynski
6b08958264
Kubelet watching only its own Node
2015-04-02 18:39:59 +02:00
Piotr Szczesniak
5c6439d449
Removed PodStatus.Host
...
Fixes #6165
2015-04-02 16:38:45 +02:00
Rohit Jnagal
e0ff139279
Remove validation for Capacity as it got moved from Spec to Status.
...
Also fix breakage from ExternalID validation: Default ExternalID to node name when not specified.
2015-04-02 00:51:52 +00:00
derekwaynecarr
c2b670513c
Introduce concept of a default limit
2015-04-01 16:31:25 -04:00
Deyuan Deng
6bb9701489
Remove Reachable Condition
2015-04-01 13:56:43 -04:00
Victor Marmol
a78a009877
Merge pull request #6249 from TamerTas/typo
...
Fix typo in Secrets
2015-03-31 15:14:55 -07:00
Tamer Tas
6c10cf7b98
Fix typo in Secrets
2015-04-01 00:56:20 +03: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
Tim Hockin
0a8e2e0b1b
Merge pull request #6235 from yujuhong/defaults_tests
...
defaults_tests: verify defaults when converting to an API object
2015-03-31 12:13:23 -07:00
Yu-Ju Hong
7b0e45a5f5
defaults_tests: verify defaults when converting to an API object
...
This change verifies that defaults are applied after decoding an versioned
object into an API object.
2015-03-31 11:56:34 -07:00
Paul Morie
7628b37d78
Add control over container entrypoint
2015-03-31 12:32:03 -04:00
Tim Hockin
eeff1b74fb
Fixes from feedback and testing
2015-03-30 23:52:37 -07:00
Tim Hockin
186818d787
WIP: Implement multi-port Services
2015-03-30 19:28:11 -07:00
Brian Grant
f0da47b2dd
Merge pull request #5763 from smarterclayton/get_input_parameters_versioned
...
Expose versioned query parameters and make watch an operation on List
2015-03-27 14:35:23 -07:00
Brian Grant
c9ad322ba9
Merge pull request #5831 from smarterclayton/add_more_errors
...
Add more specific error handling and handle generic errors more effectively
2015-03-27 14:17:11 -07:00
Brian Grant
a765236653
Merge pull request #5939 from thockin/plural_endpoints_31_endpt_subsets
...
Implement multi-port endpoints
2015-03-27 14:15:15 -07:00
Clayton Coleman
aa44d29d10
Updated documentation and adjusted field names
2015-03-27 17:08:59 -04:00
Tim Hockin
8ae203825b
Implement multi-port endpoints
...
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}. To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets. This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).
This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.
This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.
This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Clayton Coleman
eb0eff69fe
Move watch to being a resthandler resource and expose it on LIST
...
GET /pods?watch=true&resourceVersion=10
will now function equivalent to GET /watch/pods.
2015-03-27 15:03:58 -04:00
Clayton Coleman
1618c39a46
Convert List query parameters via object conversion
...
Convert url.Values -> an object, with appropriate versioning. ListOptions
should also expose parameter names to swagger.
2015-03-27 15:03:57 -04:00
Dawn Chen
87db1c9007
Rename DockerVerstion to ContainerRuntimeVersion for rocket support
2015-03-27 11:04:48 -07:00
Dawn Chen
086bb1ac09
Add node components version to API
2015-03-27 11:04:47 -07:00
Piotr Szczesniak
768c733bed
Merge pull request #5971 from bprashanth/rc_watch_fields
...
Add the ability to watch fields of a replication controller
2015-03-27 10:19:41 +01:00
Clayton Coleman
30358e8b04
Add more specific error handling and handle generic errors more effectively
...
The client library should type more generic errors from the server.
2015-03-26 17:30:13 -04:00
Brian Grant
3b0db99692
Merge pull request #5915 from piosz/api
...
Changed PodInfo to be a list
2015-03-26 12:46:50 -07:00
Piotr Szczesniak
78871ca508
changed json names
2015-03-26 20:11:48 +01:00
Prashanth Balasubramanian
b0068d05f8
Add the ability to watch fields of an rc
2015-03-26 11:01:56 -07:00
Dawn Chen
8ac0cf39b1
Merge pull request #5989 from gmarek/capacity_to_status
...
Move Capacity from NodeSpec to NodeStatus
2015-03-26 10:11:23 -07:00
Tamer Tas
d5a66845b9
Minor typo
2015-03-26 16:46:51 +02:00
gmarek
5a11748018
Move Capacity from NodeSpec to NodeStatus
2015-03-26 15:28:48 +01:00
Piotr Szczesniak
31901ed9d0
Changed PodInfo to be a list
...
This change is to make API consistent with our convention.
Fixes #3622
2015-03-26 10:15:25 +01:00
Federico Simoncelli
afbf401464
nodeinfo: add boot id system information
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-25 15:06:53 -04:00
markturansky
f762b303ad
PersistentVolume & PersistentVolumeClaim API types
2015-03-25 10:09:25 -04:00
Abhi Shah
f1872d36cf
Merge pull request #5814 from vmarmol/net-host
...
Add HostNetworking container option to API.
2015-03-24 15:55:27 -07:00
David Oppenheimer
30c3583900
Merge pull request #5806 from ddysher/condition-rename
...
Rename ConditionFull->ConditionTrue, ConditionNone->ConditionFalse
2015-03-24 15:50:11 -07:00
Tim Hockin
e1a66ad015
Merge pull request #5398 from markturansky/volume_access_modes
...
Add GetAccessModes to volume plugin interface
2015-03-24 15:16:01 -07:00
Victor Marmol
2a0793c155
Add HostNetworking container option to API.
...
This allows a container to run within the same networking namespace as
the host. This will be locked down by default using a flag on the master
and nodes (similar to how privileged is handled today).
2015-03-24 14:40:28 -07:00
Deyuan Deng
ca68f4a9d1
Rename ConditionFull->ConditionTrue, ConditionNone->ConditionFalse
2015-03-24 17:28:59 -04:00
Tim Hockin
064b7dec42
Merge pull request #5807 from pmorie/secret_volume_ref
...
Change secret volume plugin reference to name
2015-03-24 14:18:35 -07:00
markturansky
5fa07f57b6
Removed PersistentVolumeSource and FindPersistentPluginBySpec func
2015-03-24 16:26:33 -04:00
markturansky
111f3d5120
Add GetAccessModes to volume plugin interface
2015-03-24 16:02:39 -04:00
Paul Morie
e40ba109a1
Change SecretVolumeSource to use a secret name instead of ObjRef
2015-03-24 13:58:41 -04:00
Clayton Coleman
97560c409f
Merge pull request #5554 from derekwaynecarr/namespace_controller
...
Namespace Controller to support Namespace Termination
2015-03-24 12:59:00 -04:00
derekwaynecarr
29c491ef2e
Namespace.Spec.Finalizer support
2015-03-24 10:36:06 -04:00
Dawn Chen
fdfec4db2d
Introduced LastTerminateState
2015-03-23 13:54:46 -07:00
Dawn Chen
7a6490f572
Merge pull request #5729 from thockin/plural_endpoints_30_restart
...
Rename Service.ContainerPort to TargetPort in v1b3
2015-03-20 14:37:46 -07:00
Tim Hockin
4375376e9c
Rename Service.ContainerPort to TargetPort in v1b3
...
Fix all callers and examples. Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
Abhishek Gupta
b0c23c1046
Headless Services: Adding option to specify None for PortalIP
2015-03-20 12:10:03 -07:00
Filip Grzadkowski
a48e9af28d
Add documentation explaining there must be at least one container in a Pod
2015-03-20 11:10:30 +01: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
Tim Hockin
9bc2b0c2db
Merge pull request #4601 from calfonso/nfs_mount_plugin
...
NFSMount storage plugin for kubelet.
2015-03-19 11:19:12 -07:00
Dawn Chen
4910be6dcb
Remove PodIP from ContainerStatus
2015-03-19 10:42:01 -07:00
Chris Alfonso
1a45e37d17
NFSMount storage plugin for kubelet.
...
* If you want to test this out when an actual NFS export a good place
to start is by running the NFS server in a container:
docker run -d --name nfs --privileged cpuguy83/nfs-server /tmp
More detail can be found here:
https://github.com/cpuguy83/docker-nfs-server
2015-03-19 13:37:38 -04:00
Wojciech Tyczynski
e6d188fca8
Remove BoundPod structure
2015-03-17 10:27:41 +01:00
Victor Marmol
bdc1981eb5
Merge pull request #5433 from wojtek-t/remove_bound_pods
...
Remove BoundPods from Kubelet
2015-03-16 13:38:24 -07:00
Wojciech Tyczynski
5d95e9e671
Remove BoundPods from Kubelet
2015-03-16 19:17:21 +01:00
Jeff Lowdermilk
e37fd2a84d
Merge pull request #5477 from dchen1107/clean
...
Convert RestartPolicy to string for v1beta3.
2015-03-16 10:23:52 -07:00
Dawn Chen
34e9c82c70
Convert RestartPolicy to string for v1beta3.
...
Fixed #3607 and spiritually support #5475
2015-03-13 18:38:07 -07:00
Eric Tune
e214802e45
Merge pull request #5460 from derekwaynecarr/eliminate_resource_quota_usage
...
Eliminate resource quota usage
2015-03-13 16:10:26 -07:00
derekwaynecarr
799e3fa9cc
Eliminate ResourceQuotaUsage in favor of ResourceQuota status
2015-03-13 16:52:09 -04:00
Tim Hockin
caca5e7358
Add tmpfs support to EmptyDir
...
# *** 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:36:13 -07:00
Brian Grant
7d72b64f60
Merge pull request #5200 from nikhiljindal/eventConverter
...
Adding conversion functions for event field selectors
2015-03-12 16:31:57 -07:00
Ravi Sankar Penta
f6ecec5880
Allow admin user to explicitly unschedule the node
...
Setting Unschedulable on the node will not touch any existing pods
on the node but will block scheduling of new pods on the node.
2015-03-12 14:27:27 -07:00
nikhiljindal
790a8bbd23
Adding conversion functions for event field selectors
2015-03-12 14:10:51 -07:00
Wojciech Tyczynski
9f2f10d6db
Make scheduler to watch PodSpec.Host instead Status.Host
2015-03-12 13:38:58 +01:00
Yu-Ju Hong
0524d6479d
v1beta3: fields that cannot be updated are marked "cannot be udpated"
2015-03-11 10:10:08 -07:00
Federico Simoncelli
daed0af3b5
api: return endpoints target object references
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-10 18:32:53 -04:00
Brian Grant
827a92316c
Merge pull request #5251 from derekwaynecarr/namespace_lifecycle
...
Add a NamespacePhase to Namespace
2015-03-10 15:21:07 -07:00
Brian Grant
9aa744925e
Merge pull request #5030 from simon3z/nodeinfo
...
Add support for fetching node collected information
2015-03-10 14:05:41 -07:00
derekwaynecarr
7de138a9bb
Add a NamespacePhase to Namespace
2015-03-10 14:11:54 -04:00
Brian Grant
6062e14313
Merge pull request #5220 from nikhiljindal/camelCaseFieldSelectors
...
Changing v1beta3 field selectors to be camelCased
2015-03-10 09:35:03 -07:00
Federico Simoncelli
644d775bc1
kubelet: retport system info in node information
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-10 10:11:02 -04:00
Federico Simoncelli
1b18440f35
kubelet: add GetNodeInfo implementation
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-10 10:11:01 -04:00
Tomek Kulczynski
243a3ae315
Change field names from cidr to podCIDR in json
2015-03-10 12:48:34 +01:00
nikhiljindal
916ca9cc68
Changing v1beta3 field selectors to be camelCased
2015-03-09 18:01:01 -07:00
Clayton Coleman
dfc19185f5
Add a subbindings resource as /pods/{name}/binding
...
Allows POST to create a binding as a child. Also refactors internal
and v1beta3 Binding to be more generic (so that other resources can
support Bindings).
2015-03-09 15:37:19 -04:00
Vishnu Kannan
28aef4ba53
Add json description to v1beta3 API.
2015-03-06 23:53:35 +00:00
Vishnu Kannan
bd83093b0b
Adding description to some of the v1beta3 objects.
2015-03-06 21:50:50 +00:00
Prashanth Balasubramanian
1ed3f7ffcd
Clarify documentation around resourceVersion
2015-03-05 20:57:22 -08:00
Brian Grant
4624d116f3
Merge pull request #5061 from thockin/docs1
...
Better docs for Services and public IPs.
2015-03-05 11:52:38 -08:00
Brian Grant
9fcb48cab6
Merge pull request #4434 from ddysher/node-hostip
...
Node addresses
2015-03-05 10:33:15 -08:00
Tim Hockin
af37dc0e16
Better docs for Services and public IPs.
...
Fixes #2738
2015-03-04 22:13:57 -08:00
Tim Hockin
4cb46825f2
Fix VolumeSource inline in JSON
2015-03-04 15:53:32 -08:00
Deyuan Deng
9b0af8df63
Node addresses
2015-03-04 16:47:31 -05:00
Brendan Burns
fb90b56bf6
Embed VolumeSource in v1beta3 and internal.
2015-03-04 02:25:40 -08:00
Tim Hockin
5aadd6ecae
Change the v1b3 default for service ContainerPort
...
In v1b1 and v1b2 we choose the "first defined port" if you do not specify a
ContainerPort. I am proposing that v1b3 just assume the ContainerPort is the
same as the service port unless explicitly provided. This leaves named ports
for now, but that is under discussion on its own.
This is strictly compatible, though to implement this we have to leave the
internal objects with the looser behavior until v1b[12] die. This also adds a
link dependency so that when we DO kill v1b[12] the endpoints controller will
blow up, prompting a fix.
2015-03-03 09:40:18 -08:00
Daniel Smith
c4822dc060
Revert "Revert "Adding converter functions to convert field label selectors to internal version before matching""
...
This reverts commit 5f35a67002
.
2015-03-02 15:00:09 -08:00
Brendan Burns
fe973461f5
Merge pull request #4916 from thockin/plural_21_endpoints
...
Rename type Port to ContainerPort
2015-03-02 10:53:32 -08:00
Brendan Burns
3168f165ab
Merge pull request #4927 from thockin/plural_22_endpoints
...
Add defaults for HTTGetAction.Path & test actions
2015-03-02 10:52:55 -08:00
Tim Hockin
532c39c336
Add defaults for HTTGetAction.Path & test actions
...
The comment says optional - this makes it optional. Test handler actions.
2015-03-01 21:23:18 -08:00
Zach Loafman
5f35a67002
Revert "Adding converter functions to convert field label selectors to internal version before matching"
2015-02-28 11:42:49 -08:00
Tim Hockin
ea548b8260
Rename type Port to ContainerPort
...
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-27 21:05:59 -08:00
nikhiljindal
48e7945f65
Versioning the field selectors
2015-02-27 16:10:59 -08:00
Federico Simoncelli
a450da4fd0
cloudprovider: add instance id to NodeSpec
...
Sometimes for external applications it is important to identify the
cloud instance of the nodes. Until this patch there was no contract
that the node name returned by List was also the unique identifier of
the cloud instance. This new API ensures that an external application
can reliably retrieve the relevant instance id of the nodes.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Mike Danese
5267127af1
api: rename conditionkind -> conditiontype
2015-02-23 22:13:21 -08:00
Daniel Smith
650f6cb826
Revert "Multi-port Endpoints"
2015-02-23 13:53:21 -08:00
Tim Hockin
eed36455a7
Merge pull request #4653 from thockin/secret_fixups
...
Secrets fixups
2015-02-23 13:49:19 -08:00
Daniel Smith
502f040129
Merge pull request #4712 from thockin/plural_30_endpoints
...
Multi-port Endpoints
2015-02-23 13:48:37 -08:00
Tim Hockin
3e7248f0f4
comments on base64-ness of secrets
2015-02-23 12:40:06 -08:00
Tim Hockin
607b736a3f
Rename volume source types to be consistent.
2015-02-23 12:39:57 -08:00
Tim Hockin
8bdfc352ce
minor fixups as I review secrets
2015-02-23 12:39:47 -08:00
Tomek Kulczynski
09c955f94e
Add node's IP range cidr to NodeSpec
2015-02-23 19:47:50 +01:00
Tim Hockin
160f288832
Implement multi-port Endpoints
...
This is a part of multi-port services.
2015-02-22 09:35:12 -08:00
Tim Hockin
e0fd83096c
Rename type Port to ContainerPort
...
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-21 22:26:38 -08:00
Brendan Burns
9829128a75
Merge pull request #4580 from thockin/plural_20_endpoints
...
Part 2 of plural ports: make endpoints a struct
2015-02-20 15:42:19 -08:00
derekwaynecarr
3d6085e692
Add doc in types
2015-02-20 16:48:28 -05:00
Tim Hockin
ae0062d001
Part 2 of plural ports: make endpoints a struct
...
Includes conversions for v1b[12] and tests and fixups for call sites.
2015-02-18 19:54:15 -08:00
Tim Hockin
34eaa0dbd6
Part 1 of plural ports: Add protocol to Endpoints
...
This makes it easier to make the second step, which is moving endpoints
to a struct instead of a string.
2015-02-18 18:58:04 -08:00
Paul Morie
a42ff94c8f
Add secret volume plugin and e2e test
2015-02-18 16:27:44 -05:00
Paul Morie
fb001ada21
Secret API resource
2015-02-18 11:54:56 -05:00
Mike Danese
4ba8ecd1fb
move api.Probe timeout default to central defaults
2015-02-15 23:44:55 -08:00
Saad Ali
cdb93a7c46
Merge pull request #4387 from smarterclayton/rename_try_again_later
...
Rename TryAgainLater status code to ServerTimeout
2015-02-12 12:23:57 -08:00
Clayton Coleman
c24f4a24b4
Rename TryAgainLater status code to ServerTimeout
2015-02-12 15:01:12 -05:00
Alex Robinson
60ab9904d5
Merge pull request #4371 from a-robinson/port
...
Add extra explanation of the purpose of service's ContainerPort field to the API comments.
2015-02-12 11:45:45 -08:00
Alex Robinson
3301f19a8a
Add extra explanation of the purpose of service's ContainerPort field to
...
the API comments. We were asked about this in issue #4332 .
2015-02-12 19:37:58 +00:00
Yu-Ju Hong
4bce52a5f6
Add defaulting tests for API v1beta2 and v1beta3
...
This commit also add more tests in v1beta1/defaults_test.go
2015-02-11 16:08:52 -08:00
Clayton Coleman
dce4cd8b1d
Merge pull request #3613 from derekwaynecarr/namespace_as_kind
...
Namespace as kind
2015-02-10 14:49:58 -05:00
derekwaynecarr
0bd0e12bbc
Add support for Namespace as Kind
...
Add example for using namespaces
2015-02-10 09:50:50 -05:00
Mike Danese
27dfebed98
api changes to support readiness.
2015-02-09 18:27:46 -08:00
Brian Grant
e27d534b87
Merge pull request #4262 from vishh/api_resources
...
Rename ResourceRequirementSpec to ResourceRequirements.
2015-02-09 17:26:05 -08:00
Vishnu Kannan
d0524d4778
Rename ResourceRequirementSpec to ResourceRequirements.
2015-02-09 23:19:38 +00:00
Deyuan Deng
55b9944cfe
Remove pods from failed node
2015-02-09 17:50:24 -05:00
Dawn Chen
05de54249f
Merge pull request #4191 from simon3z/master
...
api: add image's id to ContainerStatus
2015-02-06 09:35:44 -08:00
Federico Simoncelli
e01df69565
api: add image's id to ContainerStatus
...
Sometimes for external applications it is important to identify
exactly what images are running. Since tags can be moved to point
to newer builds this information can be used to identify old images
running.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-06 09:01:14 -05:00
saadali
79cbcf918e
Modify Event struct to allow compressing multiple recurring events in to a single event.
...
# *** ERROR: *** Some API files are missing the required field descriptions
# Add description tags to all non-inline fields in the following files:
# pkg/api/v1beta1/types.go
# pkg/api/v1beta2/types.go
#
# Your commit will be aborted unless you fix these.
# COMMIT_BLOCKED_ON_DESCRIPTION
2015-02-05 21:50:29 -08:00
Brendan Burns
8e6f5c7201
Merge pull request #3593 from commonlisp/master
...
Add timeouts to HealthChecks and retry checks
2015-02-05 15:40:22 -08:00
George Kuan
e8c33b7916
Add timeouts to HealthChecks and retry checks
...
Fixes issue #3532 . Added timeouts for HTTP and TCP checks
and enabled kubelet/probe to kubelet#maxRetries times
before declaring Failure.
Added Probe.TimeoutSecs to API
Probe variants now check container.LivenessProbe.TimeoutSeconds
Also added a test for timeouts in http_test.go.
2015-02-05 06:04:45 -08:00
nikhiljindal
19f7ecf31b
Deleting the API objects related to /operations
2015-02-04 20:50:45 -08:00
Brian Grant
3f28badae3
Merge pull request #3854 from yujuhong/defaults
...
Migrate API defaulting to a centralized location
2015-02-04 11:41:23 -08:00
Tim Hockin
411666decb
Get rid of ServiceSpec.ProxyPort
...
As far as I know, nobody uses it. It was replaced by PublicIPs. If I were
being very polite I would leave it in internal, but since I am 99.99% sure
nobody uses it, I am cutting it. Let's argue about it.
2015-02-03 22:45:00 -08:00
Yu-Ju Hong
4a72addaeb
Factor out API defaulting from validation logic
...
Currently, the validation logic validates fields in an object and supply default
values wherever applies. This change factors out defaulting to a set of
defaulting callback functions for decoding (see #1502 for more discussion).
* This change is based on pull request 2587.
* Most defaulting has been migrated to defaults.go where the defaulting
functions are added.
* validation_test.go and converter_test.go have been adapted to not testing the
default values.
* Fixed all tests with that create invalid objects with the absence of
defaulting logic.
2015-02-03 00:55:42 -08:00
Clayton Coleman
1588970ec4
Turn 409 into 500 Try Again Later when using generateName
...
If a client says they want the name to be generated, a 409 is
not appropriate (since they didn't specify a name). Instead, we
should return the next most appropriate error, which is a 5xx
error indicating the request failed but the client *should* try
again. Since there is no 5xx error that exactly fits this purpose,
use 500 with StatusReasonTryAgainLater set.
This commit does not implement client retry on TryAgainLater, but
clients should retry up to a certain number of times.
2015-02-02 14:46:25 -05:00
Clayton Coleman
a7c9a12286
Add name generation and normalize common create flows
...
Adds `ObjectMeta.GenerateName`, an optional string field that defines
name generation behavior if a Name is not provided.
Adds `pkg/api/rest`, which defines the default Kubernetes API pattern
for creation (and will cover update as well). Will allow registries
and REST objects to be merged by moving logic on api out of those places.
Add `pkg/api/rest/resttest`, which will be the test suite that verifies
a RESTStorage object follows the Kubernetes API conventions and begin
reducing our duplicated tests.
2015-02-02 14:44:53 -05:00
Vishnu Kannan
5e36f63f8b
Adding ResourceRequirementSpec to v1beta1, v1beta2, and v1beta3 APIs. The old resource
...
quantities 'CPU' and 'Memory' will be preserved until support for v1beta1 and v1beta2 APIs are
dropped.
Improved resource validation in the process.
2015-02-01 02:19:55 +00:00
Ye Yin
248624fc1f
Add docker's add/drop capabilites
2015-01-30 15:09:31 +08:00
nikhiljindal
dc92d3c7a2
Cleaning up the operations code in client
2015-01-28 21:04:16 -08:00
Brendan Burns
6bcfe4f430
Change persistentDisk to gcePersistentDisk for v1beta3
2015-01-28 14:29:53 -08:00
Eric Tune
bba01c7a54
Merge pull request #3796 from derekwaynecarr/resource_quota
...
Admission Control: Resource Quota
2015-01-28 13:17:08 -08:00
derekwaynecarr
0ff20c84dd
Rebase errors
2015-01-28 15:09:42 -05:00
derekwaynecarr
829fa69527
Introduce a ResourceQuota object
2015-01-28 15:03:19 -05:00
Mike Danese
78f33e950a
rename api.LivenessProbe to api.Probe and break out Actions
2015-01-28 11:20:44 -08:00
Clayton Coleman
5117189e03
Merge pull request #3707 from nikhiljindal/preOperations
...
Removing support for asynchronous server requests
2015-01-28 13:02:52 -05:00
nikhiljindal
de60600608
Making all operations synchronous
2015-01-27 18:47:56 -08:00
derekwaynecarr
b19a8a61a8
Simplify min/max evaluation, make limitType a type
2015-01-27 16:54:50 -05:00
derekwaynecarr
74f368f50e
Modified LimitRangeItem.Kind to LimitRangeItem.Type, added example files
2015-01-27 16:41:28 -05:00
derekwaynecarr
091cbe5fa2
Add a limit range resource
2015-01-27 16:41:27 -05:00
Vishnu Kannan
c32295a180
Adding a 'Typename' strongtype for representing all compute resource types.
2015-01-23 22:17:56 +00:00
Tim Hockin
30219f8dfa
Merge pull request #3664 from thockin/pull-if
...
Pull if
2015-01-21 13:05:28 -08:00
Tim Hockin
81343aac63
Change PullPolicy constants to match
2015-01-21 12:48:56 -08:00
Tim Hockin
819803b79f
Make VolumeSource not be a pointer
...
There's no reason for it to be a pointer.
2015-01-20 17:54:04 -08:00
Tim Hockin
60ec08db93
Rename HostDir to HostPath in v1beta3
2015-01-20 15:56:44 -08:00
Dawn Chen
15e9fa8a9d
Introduce PodStatusResult, and deprecate PodContainerInfo.
2015-01-16 09:10:40 -08:00
Tim Hockin
1be3de895c
Move util.UID to pkg/types
2015-01-14 15:22:21 -08:00
Daniel Smith
c13ae34b02
Merge pull request #3445 from saad-ali/fix3172
...
Remove CONDITION from event object completely
2015-01-14 15:03:06 -08:00
saadali
90dfdcecd5
Remove CONDITION from event object completely
...
# *** ERROR: *** Some files have not been gofmt'd. To fix these
# errors, run gofmt -s -w <file>, or cut and paste the following:
# gofmt -s -w pkg/kubecfg/resource_printer.go pkg/proxy/config/config.go pkg/runtime/types.go
#
# Your commit will be aborted unless you override this warning. To
# commit in spite of these format errors, delete the following line:
# COMMIT_BLOCKED_ON_GOFMT
2015-01-14 14:17:16 -08:00
Tim Hockin
e86d4cd3c6
Use a strong type for UID fields
2015-01-14 13:53:43 -08:00
Daniel Smith
894a3e6d3f
Wire resource.Quantity into api
2015-01-07 15:21:34 -08:00
Dawn Chen
e3c019128e
Add EventSource to api to have both Component and Host information.
2015-01-06 16:08:20 -08:00
Daniel Smith
53a9d106c4
Merge pull request #3167 from thockin/affinity
...
Don't use pointers for session affinity
2014-12-30 17:43:47 -08:00
saadali
e8d30f019d
Modify "kubectl get events" to print FieldPath so BoundPod events for the same Pod but different containers can be differentiated
2014-12-29 21:32:49 -08:00
Tim Hockin
ca27fb259c
Don't use pointers for session affinity
2014-12-29 14:43:17 -08:00
Tim Hockin
652479a3b1
Add kubelet DNS flags & api disable for DNS
...
This adds --cluster_dns and --cluster_domain flags to kubelet. If
non-empty, kubelet will set docker --dns and --dns-search flags based on
these. It uses the cluster DNS and appends the hosts's DNS servers.
Likewise for DNS search domains.
This also adds API support to bypass cluster DNS entirely, needed to
bootstrap DNS.
2014-12-29 09:18:12 -08:00
Daniel Smith
9fee1b0503
Merge pull request #3051 from brendandburns/flake
...
Add a PodUnknown phase and make ListPods return even when there are errors
2014-12-19 16:45:44 -08:00
Brendan Burns
5e8490d5fe
Add a PodUnknown phase and make ListPods return even when there are errors
...
obtaining info for some pods.
2014-12-19 15:08:48 -08:00
Brendan Burns
2e17193161
Add Host to PodSpec and add a predicate to make the scheduler work.
2014-12-18 20:12:29 -08:00
Mike Foley
569ce87f0e
Updated types API to include session affinity. …
...
- changed CLIENT-IP and NONE to be ClientIP and None respectively
- updated conversions to support translating between api versions.
- updated validations to validate session affinity type if specified.
2014-12-17 15:59:20 -05:00
Clayton Coleman
88715cc6ef
Rename Event.Status to Event.Condition to match v1beta3 agreement
...
Question - should this be a phase? Seems like no, since phase implies
defined lifecycle and this field is explicitly not defined.
2014-12-16 09:43:10 -05:00
Clayton Coleman
787b5c488a
Add PodIP and Image to v1beta3
...
Fixes #2900
2014-12-15 16:50:05 -05:00
Clayton Coleman
1f442d4429
Remove LivenessProbe.Type in v1beta3
2014-12-15 16:50:05 -05:00
bgrant0607
9b40c52c24
Merge pull request #2910 from smarterclayton/small_v1beta3_refactors
...
Fix internal -> v1beta3 round trip issues
2014-12-15 13:21:12 -08:00
Brendan Burns
a6f967b6e7
Revert "Revert "Add an api object for the kubelet, and a versioned endpoint.""
...
This reverts commit dcfcf315e5
.
2014-12-15 09:29:04 -08:00
Brendan Burns
dcfcf315e5
Revert "Add an api object for the kubelet, and a versioned endpoint."
...
This reverts commit d4b9979382
.
2014-12-12 21:13:44 -08:00
Brendan Burns
d4b9979382
Add an api object for the kubelet, and a versioned endpoint.
2014-12-12 15:26:28 -08:00
Clayton Coleman
904d0d46c3
Rename ServerOp to Operation in v1beta3 and internal
...
Add the appropriate rename logic internally.
2014-12-12 18:08:41 -05:00
bgrant0607
ecbb6c45d0
Merge pull request #2315 from ddysher/node-status
...
Add node status to API object.
2014-12-11 10:19:17 -08:00
bgrant0607
2232a29af7
Merge pull request #2833 from liggitt/util_time
...
Use util.Time consistently in types.go
2014-12-11 09:17:50 -08:00
bgrant0607
473376b085
Merge pull request #2820 from ravigadde/master
...
MountPath in VolumeMount is a required field. Removing the omitempty.
2014-12-11 08:55:40 -08:00
Jordan Liggitt
51bfb50698
Use util.Time consistently in types.go
2014-12-11 11:14:25 -05:00
Deyuan Deng
0332c8d4d1
Add node status to API object (all versions).
2014-12-11 08:12:27 -05:00
Dawn Chen
5865ab750e
Merge pull request #2808 from simon3z/master
...
api: add container's id to ContainerStatus
2014-12-10 16:30:08 -08:00
Daniel Smith
f81ec248d0
Merge pull request #2786 from smarterclayton/load_opaque_objects
...
Allow runtime.Object to be encoded as runtime.RawExtension
2014-12-10 16:24:05 -08:00