Commit Graph

440 Commits

Author SHA1 Message Date
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
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
Riaan Kleinhans
303fd4aca2 Promote DeploymentScale e2e test to Conformance 2021-02-19 13:13:29 +13:00
Kubernetes Prow Robot
528390348d Merge pull request #98126 from ii/statefulset_test
Update: StatefulSet Replica scaling to include Patch Scale +1 endpoint
2021-02-12 09:27:09 -08:00
Kubernetes Prow Robot
a2d5c58c76 Merge pull request #98987 from ii/Riaankl_ReplicaSetScale
Write Read, Replace and Patch ReplicaSetScale test +3 endpoints
2021-02-12 08:13:09 -08:00
Riaan Kleinhans
7cea43a4b4 Create DeploymentScale test 2021-02-12 11:53:08 +13:00
Riaan Kleinhans
c721d8cf65 Create ReplicaSetScale test 2021-02-12 09:58:59 +13:00
Riaan Kleinhans
866f658695 Update e2e patch scale statefulset test
Test now validates patchAppsV1NamespacedStatefulSetScale endpoint.
Update conformance metadata to include v1.21

Co-authored-by: Stephen Heywood <stephen@ii.coop>
2021-02-12 09:43:48 +13:00
Kubernetes Prow Robot
579b62d541 Merge pull request #97556 from heqg/unused02
remove unused variable in e2e test[types.go]
2021-01-21 09:57:15 -08:00
he.qingguo
c1e1eb4d29 Fix Spelling error about [formatted] for statefulset.go
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2020-12-31 15:48:36 +08:00
he.qingguo
c39d5da986 remove unused variable in e2e test[types]
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2020-12-29 10:39:43 +08:00
Kubernetes Prow Robot
1ea29cec9c Merge pull request #96487 from ii/promote-lifecycle-test-deployment
Promote AppsV1Deployment resource lifecycle test - +6 endpoint coverage
2020-11-19 13:02:51 -08:00
Hippie Hacker
6c74641615 Increase watch timeout when scaling Deployment Replicas 2020-11-13 07:50:19 +13:00
Stephen Heywood
e6f7fed324 Promote Deployment lifecycle e2e test to Conformance 2020-11-12 13:19:05 +13:00
Alay Patel
8d7dd4415e add cronjob_controllerv2.go 2020-11-10 17:32:06 -05:00
Kubernetes Prow Robot
cfc7887847 Merge pull request #96184 from ii/promote-replicationcontroller
Increasing withTimeout for ReplicationController Lifecycle test steps
2020-11-04 13:25:53 -08:00
Kubernetes Prow Robot
739768d086 Merge pull request #93458 from ii/create-deployment-resource-lifecycle-test
Updated Create AppsV1Deployment resource lifecycle test - +6 endpoint coverage
2020-11-04 01:08:04 -08:00
Hippie Hacker
6d08d1681f Increasing withTimeout for ReplicationController Lifecycle test steps 2020-11-04 08:50:35 +13:00
Stephen Heywood
2c4117dc73 Adjusted e2e test watch timeouts, logging and pod management 2020-11-03 11:20:27 +13:00
Kubernetes Prow Robot
716e38a102 Merge pull request #95841 from chewong/do-not-hardcode-nginx-image
fix: do not hardcode nginx image URL in rc e2e test case
2020-11-02 13:41:42 -08:00
knight42
3c4d6859c8 refactor: migrate health checks of control-plane off insecure port in tests
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-10-31 11:39:25 +08:00
Ernest Wong
cb78e889ff fix: do not hardcode nginx image URL in rc e2e test case
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2020-10-23 13:35:40 -07:00
Hippie Hacker
c383dc7b1f Promote Replication Controller Lifecycle
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>
2020-10-20 11:56:03 +13:00
David Eads
64c099d670 remove secondary client retries in e2e tests 2020-10-15 08:30:42 -04:00
Kubernetes Prow Robot
f30d6a463d Merge pull request #93779 from yodarshafrir1/fix_restart_job_failure_with_restart_policy_never
Fix job backoff limit for restart policy Never
2020-10-06 10:02:44 -07:00
Kubernetes Prow Robot
1a66eb7b8a Merge pull request #89482 from renatoviana12/master
fixed percentage behaviour in instr
2020-10-05 20:00:19 -07:00
Kubernetes Prow Robot
05b3e8911a Merge pull request #95166 from vishsangale/master-to-control-plane-test-e2e-GetMasterHost
Updated symbol 'framework.GetMasterHost' to not use word 'master'
2020-10-01 11:49:19 -07:00
Renato Viana
316eff8dee Fixed percentage behavior in instr
fixed syntax, wrote a test

fixed a test

.

1

Update staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

Co-Authored-By: Joel Speed <Joel.speed@hotmail.co.uk>

added test

.

fix

fix test

fixed a test

gofmt

lint

fix

function name

validation fix

.

godocs added

.
2020-09-30 21:23:05 +01:00
Vishwanath Sangale
b8e733fb94 Updated symbol 'framework.GetAllMasterAddresses' to not use word 'master' 2020-09-29 21:43:10 -07:00
Vishwanath Sangale
395a6d89f6 Updated symbol 'framework.GetMasterHost' to not use word 'master' 2020-09-29 21:05:39 -07:00
Kubernetes Prow Robot
76e0e25118 Merge pull request #94609 from soltysh/kubectl_e2e
Use namespace flag passed to RunKubectl* methods
2020-09-14 19:16:06 -07:00
Maciej Szulik
eec4a04c2d Use namespace flag passed to RunKubectl* methods 2020-09-11 14:51:03 +02:00
Dr. Stefan Schimanski
aa04982471 e2e: fix deployment non-unique env vars to avoid SSA error 2020-09-08 13:45:32 +02:00
Daniel Smith
75f835aa08 move port definitions to a common location 2020-09-02 10:48:25 -07:00
Kubernetes Prow Robot
a04f1b8d59 Merge pull request #93046 from oomichi/WatchUntilWithoutRetry
Move WatchUntilWithoutRetry() from e2e framework
2020-08-28 02:02:52 -07:00
yodarshafrir1
24010022ef Number of failed jobs should exceed the backoff limit and not big equal.
Remove patch in e2e test of backoff limit due to usage of NumRequeues
2020-08-11 11:06:09 +03:00
Maciej Szulik
5765bf74ce Skip LB test per schedulable node count 2020-08-10 16:13:29 +02:00