Margo Crawford
d9ddfb26e1
Introduces Impersonate-Uid to client-go.
...
* Updates ImpersonationConfig in rest/config.go to include UID
attribute, and pass it through when copying the config
* Updates ImpersonationConfig in transport/config.go to include UID
attribute
* In transport/round_tripper.go, Set the "Impersonate-Uid" header in
requests based on the UID value in the config
* Update auth_test.go integration test to specify a UID through the new
rest.ImpersonationConfig field rather than manually setting the
Impersonate-Uid header
Signed-off-by: Margo Crawford <margaretc@vmware.com >
2021-09-24 14:06:30 -07:00
Kubernetes Prow Robot
86d23cf441
Merge pull request #105206 from pohly/test-integration-help
...
test/integration: skip etcd startup for -help flag
2021-09-24 10:29:23 -07:00
Abu Kashem
a748fdc677
apiserver: refactor PolicyRuleEvaluator to return a struct
2021-09-24 08:08:32 -04:00
Patrick Ohly
81b4a695b3
test/integration: skip etcd startup for -help flag
...
By parsing flags in the test's main function before starting etcd we bail out
early without ever starting etcd when the test was invoked with -help.
Otherwise etcd must be available, gets started and then hangs because
flag.Parse itself exits when called by testing.go. This bypasses the code in
EtcdMain which normally stops etcd.
2021-09-24 11:51:58 +02:00
Aldo Culquicondor
47a957d163
Revert "Revert "Limit number of Pods counted in a single Job sync""
...
This reverts commit 8bcb780808 .
2021-09-23 12:56:29 -04:00
Kubernetes Prow Robot
686379281d
Merge pull request #97665 from heqg/unused-function-NewSingleContentTypeSerializer
...
remove unused function of NewSingleContentTypeSerializer
2021-09-21 22:16:00 -07:00
Kubernetes Prow Robot
857d4c107c
Merge pull request #104808 from chendave/indent
...
Format json file with proper indentation
2021-09-21 19:14:00 -07:00
Kubernetes Prow Robot
76c0573ff4
Merge pull request #105181 from alculquicondor/revert
...
Revert #104739
2021-09-21 16:54:00 -07:00
Aldo Culquicondor
8bcb780808
Revert "Limit number of Pods counted in a single Job sync"
...
This reverts commit 7d9cb88fed .
2021-09-21 15:16:50 -04:00
Madhav Jivrajani
fed2ec99c6
migrate k8s.io/apimachinery/util/clock -> k8s.io/utils/clock
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com >
2021-09-21 15:54:44 +05:30
Wei Huang
d7bf9d724f
Provide a timeout function to fail quick on blocking operations
...
It works like the Linux `timeout` utility.
2021-09-17 10:23:06 -07:00
Kubernetes Prow Robot
399656369f
Merge pull request #104739 from alculquicondor/job-tracking
...
Beta requirements for JobTrackingWithFinalizers
2021-09-17 04:57:00 -07:00
Wei Huang
a689ad4cda
sched: start dynamicInformerFactory along with regular informerFactory ( #105016 )
...
* sched: start dynamicInformerFactory along with regular informerFactory
* fixup: start all informers and then wait for their syncs
2021-09-16 19:33:00 -07:00
h4ghhh
0734820279
'New' Event namespace validate failed ( #100125 )
2021-09-16 04:29:45 -07:00
Kubernetes Prow Robot
047a6b9f86
Merge pull request #104874 from wojtek-t/migrate_clock_1
...
Unify towards k8s.io/utils/clock - part 1
2021-09-13 19:09:20 -07:00
Kubernetes Prow Robot
c79f7c1add
Merge pull request #104711 from claudiubelu/update-pause-3.6
...
update pause image references to use 3.6
2021-09-13 19:09:08 -07:00
Kubernetes Prow Robot
06ec11d71b
Merge pull request #104883 from aojea/service_finalizer_delete
...
Add integration test for Services Finalizes Racing with the Repair Loop
2021-09-13 18:01:20 -07:00
Antonio Ojea
7c12daed0f
move repair loop interval to a constant
...
use Extraconfig to configure the repair interval
and add an integration test for services finalizers, and
possible races with the services repair loop.
2021-09-13 23:54:19 +02:00
Aldo Culquicondor
7d9cb88fed
Limit number of Pods counted in a single Job sync
...
This prevents big Jobs from starving smaller ones.
2021-09-10 10:32:04 -04:00
wojtekt
53ce79a18a
Migrate to k8s.io/utils/clock in pkg/kubelet
2021-09-10 12:20:09 +02:00
Abu Kashem
d99497ef6d
apf: update e2e test to use v1beta2
2021-09-09 08:28:58 -04:00
Abu Kashem
e2b8701545
apf: ebable v1beta2
2021-09-09 08:28:53 -04:00
sanposhiho
1318f74609
Fix: use Fatalf and list all unused params in one error
2021-09-09 07:34:30 +09:00
sanposhiho
6bf6e424a1
Fix: rename getParams→get
2021-09-09 07:11:36 +09:00
sanposhiho
24643c67d5
Fix: make struct un-exported
2021-09-09 07:10:37 +09:00
Dave Chen
dda8090037
Format json file with proper indentation
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-09-07 16:14:34 +08:00
Kubernetes Prow Robot
295a8c1371
Merge pull request #104467 from khenidak/fix-104329
...
fix 104329: check for headless before trying to release the ClusterIPs
2021-09-02 10:55:39 -07:00
Kubernetes Prow Robot
8d707e5aae
Merge pull request #104570 from RyanAoh/cronjob_dev
...
integration test for cronjob with controllerv2
2021-09-02 07:42:57 -07:00
sanposhiho
cc846c9d33
Feature: check for unused template parameters
2021-09-02 01:46:34 +09:00
Kubernetes Prow Robot
9b0f560a19
Merge pull request #104391 from chendave/metric_new
...
Add the metric data for different extension points
2021-08-31 19:34:59 -07:00
Aohan Yang
4e190f36e3
integration test for cronjob with controllerv2
2021-08-31 21:15:10 +08:00
Claudiu Belu
18936d4785
updates pause image references
...
The pause:3.6 image has been published.
Also updates older / incorrect references.
2021-08-29 21:50:05 -07:00
Dave Chen
63b4710f38
Don't expose struct from prometheus client library
2021-08-27 22:21:24 +08:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev >
2021-08-24 15:47:49 -04:00
Dave Chen
58ab18bc1e
Add the metric data for different extension points
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-08-23 13:43:48 +08:00
Khaled (Kal) Henidak
89ae53d510
integration test
2021-08-20 22:03:43 +00:00
Kubernetes Prow Robot
341d312066
Merge pull request #97350 from FabianKramm/master
...
kubectl proxy: append context host path to request path
2021-08-20 11:19:31 -07:00
Antonio Ojea
0cd75e8fec
run hack/update-netparse-cve.sh
2021-08-20 10:42:09 +02:00
fabiankramm
b1a6f8cdf9
kubectl proxy: append context host path to request path
...
Signed-off-by: fabiankramm <fab.kramm@googlemail.com >
2021-08-19 17:32:19 +02:00
Abu Kashem
27f1503514
rename audit Checker interface
2021-08-12 17:42:41 -04:00
Kubernetes Prow Robot
4ab9c950d9
Merge pull request #102007 from vaibhav2107/perf-config
...
Update the typo in values of pods in performance-config.yaml
2021-08-12 13:59:50 -07:00
Kubernetes Prow Robot
48da959dbf
Merge pull request #104248 from liggitt/drop-beta
...
Drop dead beta storage and validation code
2021-08-10 11:52:40 -07:00
Jordan Liggitt
39a1293cbc
Drop beta REST APIs removed in 1.22
2021-08-09 11:10:16 -04:00
Wei Huang
dc079acc2b
sched: retry unschedule pods immediately after a waiting pod's deletion
2021-08-06 19:08:37 -07:00
Kubernetes Prow Robot
be0a1ecbd4
Merge pull request #99228 from Huang-Wei/hist-vec
...
sched: better support of HistogramVec in scheduler performance test
2021-08-05 19:44:53 -07:00
Kubernetes Prow Robot
98bd200217
Merge pull request #104102 from tnqn/dynamic-file
...
Improve dynamic cert file change detection
2021-08-05 16:36:26 -07:00
Quan Tian
3cfe3d048f
Improve dynamic cert file change detection
...
DynamicFileCAContent and DynamicCertKeyPairContent used periodical job
to check whether the file content has changed, leading to 1 minute of
delay in worst case. This patch improves it by leveraging fsnotify
watcher. The content change will be reflected immediately.
2021-08-06 01:45:24 +08:00
Kubernetes Prow Robot
02aa3edfd5
Merge pull request #100285 from 249043822/it-hsts
...
add integration test for apiserver hsts
2021-08-05 01:43:00 -07:00
Kubernetes Prow Robot
ddbdd3eca1
Merge pull request #103693 from alculquicondor/integration-parallelism
...
Add integration tests for updating Job parallelism
2021-08-04 22:11:56 -07:00
KeZhang
952aa1b2d2
add integration test for apiserver hsts
2021-08-05 10:41:52 +08:00