Commit Graph

475 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
f4f238e038 Merge pull request #101601 from AliceZhang2016/indexed-job-stable-hostname
specify pod name and hostname in indexed job
2021-05-20 01:41:05 -07:00
Kubernetes Prow Robot
4e0245389f Merge pull request #101995 from ii/Riaankl-daemonset-list-deletecollection
Write List and DeleteCollection DaemonSet Test +2 endpoints
2021-05-19 15:25:15 -07:00
Kubernetes Prow Robot
43c39ea7da Merge pull request #101261 from ii/Riaankl-replicaset-list-deletecollection
Write ReplicaSet List and DeleteCollection test +2 endpoints
2021-05-19 14:22:50 -07:00
Mengxue Zhang
e64e34e029 specify pod name and hostname in indexed job 2021-05-19 15:30:13 +00:00
Stephen Heywood
4e3d006001 Increase TerminationGracePeriodSeconds to 1 2021-05-12 11:09:34 +12:00
Kubernetes Prow Robot
548fb43643 Merge pull request #101292 from AliceZhang2016/job_controller_metrics
Graduate indexed job to beta
2021-05-07 13:31:44 -07:00
Stephen Heywood
11eca39ff6 Switch TerminationGracePeriodSeconds from 0 to 1 seconds 2021-05-03 10:11:38 +12:00
Mengxue Zhang
2d2ee6bc3a change default feature gate value of IndexedJob 2021-04-30 14:36:15 +00:00
Kubernetes Prow Robot
204ff6caeb Merge pull request #101586 from liggitt/delete-partition-tests
Remove inactive failing tests
2021-04-29 11:36:23 -07:00
Kubernetes Prow Robot
eb326fdc07 Merge pull request #100262 from chaitanyabandi/daemon-ns-patch
use Patch API to add namespace annotations
2021-04-29 11:36:11 -07:00
Jordan Liggitt
94a8c7af15 Remove inactive failing tests 2021-04-28 10:03:07 -04:00
Riaan Kleinhans
0733bcde2f Create List and DeleteCollection DaemonSet Test
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>

e2e test validates the following 2 extra endpoints

- listAppsV1ReplicaSetForAllNamespaces
- deleteAppsV1CollectionNamespacedReplicaSet
2021-04-27 11:50:47 +12:00
Kubernetes Prow Robot
3029808c91 Merge pull request #99772 from pacoxu/patch-4
job-e2e: wait exceeds active deadline for 15s
2021-04-23 19:27:35 -07:00
Riaan Kleinhans
8c7cef2621 Create List and DelectCollection ReplicaSet Test
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>

e2e test validates the following 2 extra endpoints
- listAppsV1NamespacedReplicaSet
- deleteAppsV1CollectionNamespacedReplicaSet
2021-04-21 16:19:26 +12:00
Jordan Liggitt
a07d4460bf Promote e2e eviction test to conformance 2021-04-14 09:12:39 -04:00
Jordan Liggitt
10b07085f8 Define constant for eviction failure cause 2021-04-14 09:12:39 -04:00
Jordan Liggitt
33ad842480 allow evictions subresource to accept policy/v1 and policy/v1beta1 2021-04-13 21:22:25 -04:00
James Sturtevant
d0683b8ce2 align some of the pod start up times 2021-04-02 11:29:38 -07:00
James Sturtevant
dab1325c29 increase timeout for pods to start 2021-04-01 12:28:50 -07:00
Kubernetes Prow Robot
931516a87b Merge pull request #100191 from jingxu97/mar/deployment
Fix deployment lifecycle test issue
2021-03-25 17:13:49 -07:00
Jing Xu
787559581f Fix deployment lifecycle and ReplicaSet test issue
The pause image should not run sleep commands. This will cause pod fail
to start correctly.

See details in issue #100047. We discovered some behavior about
development in certain cases like new pod fail to start correctly, but will be further investigated.

Change-Id: I9761bbefa694f6fe51a6f1e7561fa7e566ce4d8f
2021-03-24 18:22:13 -07:00
ravisantoshgudimetla
f339061816 Tighten DS rollout catching function 2021-03-19 16:02:41 -04:00
Kubernetes Prow Robot
d4f1102690 Merge pull request #100260 from liggitt/pdb-crud
Replicate update/patch operations from eviction test in conformance CRUD test
2021-03-16 14:50:40 -07:00
Maciej Szulik
d30e79d090 Add more details to daemon set test 2021-03-16 18:39:14 +01:00
Chaitanya Bandi
93be90da9a use Patch API to add namespace annotations
While adding annotations to the namespace, using the Update API may result in
conflicts as "the object has been modified; please apply your changes to the
latest version and try again". Use Patch API to avoid this.

Signed-off-by: Chaitanya Bandi <kbandi@cs.stonybrook.edu>
2021-03-15 15:13:36 -07:00
Jordan Liggitt
e7b0ec5857 Replicate update/patch operations from eviction test in conformance CRUD test 2021-03-15 16:54:45 -04:00
Aldo Culquicondor
e6c3d7b34d Only default Job fields when feature gates are enabled
Also use pointer for completionMode enum
2021-03-12 20:46:52 +00:00
Jordan Liggitt
be58ad6fec Promote PDB CRUD e2e tests to conformance 2021-03-10 11:02:47 -05:00
Morten Torkildsen
08e0a46757 Promote PodDisruptionBudget e2e test to Conformance 2021-03-09 12:26:02 -08:00
Morten Torkildsen
66e722765a Update e2e tests to use the policy v1 api 2021-03-09 10:29:11 -05:00
Kubernetes Prow Robot
761cdf33a2 Merge pull request #99952 from ii/Promote-ReplicaSet-Test
Promote ReplicaSet Replace and Patch Test +2 Endpoints
2021-03-08 19:24:18 -08:00
Riaan Kleinhans
c3fb2c002a Promote ReplicaSet e2e test to Conformance 2021-03-09 09:54:04 +13:00
Adhityaa Chandrasekar
a0844da8f7 batch: add suspended job
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-08 20:08:21 +00:00
Maciej Szulik
3c9bbe427b Promote cronjob e2es to conformance 2021-03-06 19:01:02 +01:00
Kubernetes Prow Robot
377ed3c2a6 Merge pull request #96441 from smarterclayton/daemonset_surge_impl
DaemonSet controller respects MaxSurge during update
2021-03-06 08:23:42 -08:00
Maciej Szulik
0603a14be1 Switch to batch/v1 in cronjob's e2es 2021-03-05 19:08:27 +01:00
Aldo Culquicondor
85448df364 Add E2E test for indexed job 2021-03-04 18:31:35 +00:00
Paco Xu
061579dafc job-e2e: wait exceeds active deadline for 15s 2021-03-04 18:55:52 +08:00
Clayton Coleman
18f43e4120 daemonset: Implement MaxSurge on daemonset update
If MaxSurge is set, the controller will attempt to double up nodes
up to the allowed limit with a new pod, and then when the most recent
(by hash) pod is ready, trigger deletion on the old pod. If the old
pod goes unready before the new pod is ready, the old pod is immediately
deleted. If an old pod goes unready before a new pod is placed on that
node, a new pod is immediately added for that node even past the MaxSurge
limit.

The backoff clock is used consistently throughout the daemonset controller
as an injectable clock for the purposes of testing.
2021-03-01 13:21:12 -05:00
Benjamin Elder
56e092e382 hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
Kubernetes Prow Robot
8d42920e94 Merge pull request #99380 from ii/Riaankl_ReplicaSet
Write ReplicaSet Replace and Patch Test +2 Endpoints
2021-02-25 10:01:37 -08:00
wojtekt
8df355b80a Replace some nested KubeDescribe calls with ginkgo.Describe 2021-02-25 14:44:39 +01:00
Riaan Kleinhans
3e6ba4d2b1 Create ReplicaSet lifecycle test 2021-02-25 08:58:24 +13:00
Kubernetes Prow Robot
8f15f7cf5e Merge pull request #99400 from wojtek-t/ttl_after_finished_test
Move TTLAfterFinished test to appropriate SIG
2021-02-24 08:53:02 -08:00
wojtekt
9bcb480574 Move TTLAfterFinished test to appropriate SIG 2021-02-24 16:09:20 +01:00
xiaofei.sun
fd62f32125 Scheduler: remove pkg/apis/core/field_constants.go 2021-02-24 18:06:29 +08:00
Kubernetes Prow Robot
462dbc17aa Merge pull request #99282 from ii/Promote-ReplicaSetScale-Test
Promote Read, Replace and Patch ReplicaSetScale test to Conformance +3 endpoints
2021-02-23 15:23:19 -08:00
Kubernetes Prow Robot
f499d27535 Merge pull request #99281 from ii/Promote-DeploymentScale-Test
Promote Read, Replace and Patch DeploymentScale test to Conformance +3 endpoints
2021-02-23 15:23:12 -08:00
Maciej Szulik
263ec9b3da cronjob: Add CRUD tests for CronJob API verbs 2021-02-22 21:52:10 +01:00
Riaan Kleinhans
8faa3307ec Promote ReplicaSetScale e2e test to Conformance 2021-02-22 04:03:17 +13:00