Commit Graph

328 Commits (3fbf0cb8100a8cf03cf3a077ebc5987fe1b6a5c8)

Author SHA1 Message Date
Tim Hockin ba383bcfeb Refactor IntOrString into a new pkg
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions.  No behavioral change.
2015-11-16 10:57:52 -08:00
eulerzgy 501c2825cf Make order of fun consistent 2015-11-10 17:43:54 +08:00
k8s-merge-robot 4e39dd4b7d Merge pull request #16925 from mikedanese/headless-fix-1
Auto commit by PR queue bot
2015-11-07 08:03:18 -08:00
Tim St. Clair 1e88a682da Add liveness/readiness probe parameters
- PeriodSeconds - How often to probe
- SuccessThreshold - Number of successful probes to go from failure to success state
- FailureThreshold - Number of failing probes to go from success to failure state

This commit includes to changes in behavior:

1. InitialDelaySeconds now defaults to 10 seconds, rather than the
kubelet sync interval (although that also defaults to 10 seconds).
2. Prober only retries on probe error, not failure. To compensate, the
default FailureThreshold is set to the maxRetries, 3.
2015-11-06 10:46:40 -08:00
Mike Danese 09295cd664 Headless services should not need to declare ports 2015-11-06 09:57:41 -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
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 e36121ae9b Increase the annotation size limit to 256k 2015-10-21 16:16:55 -07:00
mqliang b6be9b9684 use string constant instead of duplicating 2015-10-19 22:00:41 +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 f5afa634ff Merge pull request #15574 from derekwaynecarr/resource_quota_fractional
Auto commit by PR queue bot
2015-10-16 07:38:26 -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
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
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
derekwaynecarr 544b453e31 Add replication controller status subresource 2015-10-07 14:39:33 -04:00
Paul Morie 227dd82119 Add PodSecurityContext and backward compatibility tests 2015-10-05 21:05:27 -04: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
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
Chao Xu 3473212ea5 remove thirdParty API from api/v1/ and api/ 2015-09-24 16:31:00 -07:00
derekwaynecarr b29722c728 Ensure ResourceQuota values are non-negative 2015-09-24 10:15:40 -04:00
Mike Danese edda776b4a fix validation for notReadyAddress subsets 2015-09-22 01:08:26 -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
Huamin Chen ed9a1bbd3a support fibre channel volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-18 19:15:31 -04: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
feihujiang 51f59f3c78 Fix the wrong path of document 2015-09-17 20:38:08 +08:00
eulerzgy d312c30847 fix the change of hostDir to hostPath 2015-09-16 22:31:17 +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
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
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
derekwaynecarr 9bc48f699d Validate LimitRange default and defaultRequest are not supported for limits of type Pod 2015-09-11 12:22:30 -04: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
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
derekwaynecarr ea919f6d1e Fix precision handling in validating LimitRange 2015-09-09 15:52:29 -04:00
Brendan Burns 2df5010834 Merge branch 'sdminonne-container_sidecar' 2015-09-02 10:42:08 -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
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
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
Mike Danese 8460e3913d move daemon controller to the experimental api 2015-08-27 11:47:35 -07:00
Piotr Szczesniak 6e05b9e3a3 Revert "LimitRange updates for Resource Requirements Requests" 2015-08-27 10:50:50 +02:00
derekwaynecarr 8fbe4645e3 Add fields to LimitRange object 2015-08-24 15:18:45 -04:00
Brendan Burns 5d664892f2 Add a storage implementation for thirdpartyresources. 2015-08-21 17:21:40 -07: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