Jordan Liggitt
52519ecb1c
remove deprecated openapi paths in favor of /openapi/v2
2019-01-21 16:33:41 -05:00
Tomas Nozicka
b762d2c0d7
Make UntilWithSync wait for integrated informers to stop
2019-01-21 18:30:00 +01:00
Silvery Fu
537c5ed9bc
Fix error-prone integration test for ImageLocalityPriority
2019-01-18 12:59:43 -08:00
Kubernetes Prow Robot
24643fd116
Merge pull request #72336 from danielqsj/apimetrics
...
Change apiserver metrics to conform metrics guidelines
2019-01-17 21:40:03 -08:00
Guoliang Wang
18434c3465
fix scheduler_perf integration test fails
2019-01-17 10:05:02 +08:00
Patrick Barker
34d57f295f
adds dynamic audit integration test generated
2019-01-16 16:27:51 -08:00
Patrick Barker
d995047366
adds dynamic audit integration test
2019-01-16 16:24:02 -08:00
Jordan Liggitt
9229399bd6
Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config
2019-01-15 13:33:06 -05:00
Justin SB
dd19b923b7
Remove executable file permission from OWNERS files
2019-01-11 16:42:59 -08:00
danielqsj
8b418631c0
Move etcd latency metrics to histogram and update test case
2019-01-11 20:38:24 +08:00
Kubernetes Prow Robot
2c8b571d57
Merge pull request #71875 from wgliang/cleanup/remove-newfrom-functions
...
Move users of `factory.NewConfigFactory` to `scheduler.New`
2019-01-09 13:55:51 -08:00
Guoliang Wang
3c24c99b08
Move users of `factory.NewConfigFactory` to `scheduler.New`
2019-01-09 06:40:30 +08:00
Kubernetes Prow Robot
8327e43359
Merge pull request #72645 from liggitt/service-account-test
...
Wait for propagation of secret deletion
2019-01-07 15:25:31 -08:00
Kubernetes Prow Robot
349ebc78bd
Merge pull request #72200 from sttts/sttts-test-graceful-shutdown
...
kube-apiserver: test graceful shutdown
2019-01-07 12:09:14 -08:00
Jordan Liggitt
1afce6db13
Wait for propagation of secret deletion
2019-01-07 08:53:06 -05:00
Kubernetes Prow Robot
34ca1301da
Merge pull request #72537 from mortent/FixEvictionsFlake
...
Fix flaking evictions test
2019-01-04 20:11:32 -08:00
Davanum Srinivas
8c8c01f913
Add debug logs for etcd server in integration tests
...
Change-Id: Ic1dd8a7c7e0adef27b969007e24c2eb089d6bb12
2019-01-04 15:22:29 -05:00
Kubernetes Prow Robot
18778ea4a1
Merge pull request #72521 from dims/ensure-capture-of-http-and-trace-logs
...
Ensure we capture http and trace related logs
2019-01-03 15:52:06 -08:00
Morten Torkildsen
4b3078fe9a
Fix flaking evictions test
2019-01-03 11:45:29 -08:00
Davanum Srinivas
e6f8e51c50
Ensure we capture http and trace related logs
...
When we are running apiserver related code, we do not currently capture
the logs from `httplog.NewLogged` and `trace.LogIfLong` since the
default log verbosity is not set. So just make sure we have a minimum
verbosity set in these circumstance.
Change-Id: I64a30029778615e679b244ddba801833218d1573
2019-01-03 11:03:12 -05:00
Dr. Stefan Schimanski
00a717b572
apiserver: start only one compactor per unique storage transport config
2019-01-03 12:01:47 +01:00
Dr. Stefan Schimanski
a2e19f1228
kube-apiserver: add e2e graceful shutdown integration test
2019-01-02 15:26:04 +01:00
Dr. Stefan Schimanski
7b242533a2
apiserver: separate transport setting from storagebackend.Config
2019-01-02 12:52:38 +01:00
Kubernetes Prow Robot
6e182ed5ea
Merge pull request #71816 from liggitt/service-account-lookup
...
Look up service accounts from informer before trying live lookup
2018-12-31 21:18:55 -08:00
Kubernetes Prow Robot
65f87b5a4a
Merge pull request #72259 from bsalamat/fix_nominated_node
...
Fix a race in setting nominated node and the scheduling cycle after it.
2018-12-30 00:01:26 -08:00
Bobby (Babak) Salamat
b75672c4ba
autogenerated files
2018-12-29 22:54:15 -08:00
Jordan Liggitt
73dcfe12da
Stop checking VolumeScheduling feature gate
2018-12-27 17:45:45 -05:00
Bobby (Babak) Salamat
5581497846
Add a test that reproduces the race condition between setting nominated node name of a pod and scheduling cycle of other pods
2018-12-27 02:15:59 -08:00
Kubernetes Prow Robot
eb79f8f279
Merge pull request #69615 from k82cn/update_node_ns
...
Fixed node namespace to none.
2018-12-23 23:39:09 -08:00
Kubernetes Prow Robot
37dc6789d7
Merge pull request #71978 from denkensk/move-predicate-types
...
Move predicate types from algorithm to predicates
2018-12-21 19:05:29 -08:00
wangqingcan
b82a1d4600
Move predicate types from algorithm to predicates
2018-12-21 22:26:47 +08:00
wojtekt
73d14dede6
Promote Lease API to v1
2018-12-20 15:39:57 +01:00
Kubernetes Prow Robot
00ca6939cb
Merge pull request #72038 from bowei/change-gce-cloud-provider
...
Change gce cloud provider
2018-12-19 14:13:55 -08:00
Jordan Liggitt
0ff455e340
generated files
2018-12-19 11:19:12 -05:00
Jordan Liggitt
fd9e9b01b1
Remove uses of extensions/v1beta1 clients
2018-12-19 11:18:53 -05:00
Weibin Lin
842bd1e1ec
update deployment, daemonset, replicaset, statefulset to apps/v1
2018-12-19 10:46:45 -05:00
Bowei Du
6ef9105978
Update Bazel
2018-12-18 10:28:02 -08:00
Bowei Du
dfac4f7a2c
Update other references
2018-12-18 10:26:46 -08:00
Harry Zhang
797601d99d
Fixed outdated bazel
2018-12-17 17:05:49 -08:00
wangqingcan
1081e919e3
Eclass Task 1: clean up old equiv class code
...
Co-authored-by: Harry Zhang <resouer@gmail.com>
Co-authored-by: Wang Qingcan <wangqingcan@baidu.com>
2018-12-17 17:05:49 -08:00
Kubernetes Prow Robot
e2be7c91d9
Merge pull request #70344 from andrewsykim/consolidate-node-delete
...
consolidate node deletion logic between kube-controller-manager and cloud-controller-manager
2018-12-17 15:49:16 -08:00
Kubernetes Prow Robot
05183bffe5
Merge pull request #71872 from yuexiao-wang/scheduler-nodeinfo
...
[scheduler cleanup phase 2]: Rename `pkg/scheduler/cache` to `pkg/scheduler/nodeinfo`
2018-12-12 08:08:33 -08:00
yuexiao-wang
7b6f60f085
modify BUILD
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:22:06 +08:00
yuexiao-wang
f3353c358d
[scheduler cleanup phase 2]: Rename to
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:21:12 +08:00
Krzysztof Siedlecki
04c4bef206
adding 5000 nodes test to scheduler benchmark
2018-12-10 13:54:53 +01:00
Jordan Liggitt
a9dc919f82
Look up service accounts from informer before trying live lookup
2018-12-06 16:48:39 -05:00
andrewsykim
5329f09663
consolidate node deletion logic between node lifecycle and cloud node controller
2018-12-03 13:33:53 -05:00
Bobby (Babak) Salamat
679d88c1a0
Add 'reserve' and 'prebind' plugin tests
2018-11-30 16:09:43 -08:00
Bobby (Babak) Salamat
e60f510e38
Autogenerated files
2018-11-30 16:03:47 -08:00
k8s-ci-robot
8b6d20ab60
Merge pull request #71339 from cofyc/fix71301
...
Add prebound pvs test cases in integration stress tests
2018-11-30 00:04:08 -08:00
k8s-ci-robot
79e5cb2cb7
Merge pull request #71302 from liggitt/verify-unit-test-feature-gates
...
Split mutable and read-only access to feature gates, limit tests to readonly access
2018-11-29 21:45:12 -08:00
Wei Huang
ad6e3617d3
update logic of adding default DS pod tolerations
...
- update DS pod default tolerations: add PIDPressure, remove OutOfDisk
- remove useless tolerations testcases
2018-11-29 01:18:32 -08:00
Yecheng Fu
37b20f0116
refactor volume binding stress tests to test scheduling one pod repeatedly
...
this helps to detect races between Find/Assume and Bind volumes
2018-11-22 18:02:57 +08:00
Jordan Liggitt
4dca07ef7e
Fixup incorrect use of DefaultFeatureGate.Set in tests
2018-11-21 11:51:33 -05:00
Sergei Orlov
21c1bb8830
kubeapiserver: rename '--experimental-encryption-provider-config' to '--encryption-provider-config'.
...
This change renames the '--experimental-encryption-provider-config'
flag to '--encryption-provider-config'. The old flag is accepted but
generates a warning.
In 1.14, we will drop support for '--experimental-encryption-provider-config'
entirely.
Co-authored-by: Stanislav Laznicka <slaznick@redhat.com>
2018-11-19 16:34:09 +01:00
k8s-ci-robot
46ebebcc4f
Merge pull request #65763 from x13n/audit-logging
...
Add option to k8s apiserver to reject incoming requests upon audit failure
2018-11-17 04:39:56 -08:00
k8s-ci-robot
f38cc95505
Merge pull request #62692 from mikedanese/trev2
...
authn: extend authenticator.Token to support audience validation
2018-11-16 20:27:25 -08:00
k8s-ci-robot
39c8219999
Merge pull request #71158 from liggitt/revert-openapi-publish
...
Revert openapi publish
2018-11-16 18:22:43 -08:00
k8s-ci-robot
1e22f080ec
Merge pull request #67383 from stlaz/enc_config_promotion
...
Introduce apiserver.config.k8s.io/v1 and use standard method for parsing encryption config file
2018-11-16 16:31:30 -08:00
Mike Danese
effad15ecc
patch webhook authenticator to support token review with arbitrary audiences
2018-11-16 19:30:42 -05:00
Jordan Liggitt
8799eb4e2e
Revert "Merge pull request #67205 from roycaihw/crd-openapi-spec"
...
This reverts commit 54ee58b2d6
, reversing
changes made to 9e2820e4c9
.
2018-11-16 16:36:24 -05:00
David Eads
9b31985b08
fix client-side specification of timeout now that it is honored
2018-11-16 11:43:37 -05:00
k8s-ci-robot
54ee58b2d6
Merge pull request #67205 from roycaihw/crd-openapi-spec
...
Serve OpenAPI spec for registered CRDs
2018-11-16 05:12:41 -08:00
k8s-ci-robot
1a54fd4319
Merge pull request #71021 from liggitt/node-self-deletion
...
Remove self-deletion permissions from kubelets
2018-11-16 01:53:31 -08:00
Daniel Kłobuszewski
7a10f4eda7
Add option to k8s apiserver to reject incoming requests upon audit failure
2018-11-16 10:32:49 +01:00
Haowei Cai
4625bf7dad
add basic e2e test and integration for CRD openapi
2018-11-15 16:39:49 -08:00
saad-ali
9d4810f25a
Bump grpc from 1.7.5 to 1.13.0
2018-11-15 16:39:42 -08:00
k8s-ci-robot
b1a52a38e9
Merge pull request #67257 from pbarker/audit
...
dynamic audit configuration
2018-11-15 02:42:59 -08:00
k8s-ci-robot
726c07eb26
Merge pull request #69929 from jsafrane/csi-ga
...
Promote CSIPersistentVolume feature to GA
2018-11-14 20:34:58 -08:00
Patrick Barker
eb89d3dddd
adds dynamic audit configuration
2018-11-14 17:54:06 -07:00
k8s-ci-robot
9c304cf0cb
Merge pull request #70157 from mikedanese/trev1
...
retrofit svcacct token authenticator to support audience validation
2018-11-14 13:16:44 -08:00
Jan Safranek
e95b188656
Generated files
2018-11-14 14:01:16 +01:00
k8s-ci-robot
3e6d414b55
Merge pull request #70967 from mikedanese/fixtropts
...
Fix broken defaulting and validation in TokenRequest enablement
2018-11-13 22:03:42 -08:00
Jordan Liggitt
8d7cc39031
Remove self-deletion permissions from kubelets
2018-11-14 00:42:06 -05:00
Mike Danese
67bbf753cb
retrofit svcacct token authenticator to support audience validation
2018-11-13 20:38:41 -08:00
Mike Danese
06935e1c90
split TokenRequest initialization out of run and into complete and validate
2018-11-13 17:27:13 -08:00
Bobby (Babak) Salamat
1b8e1d9ed8
Disable equivalence cache by default in the scheduler integration tests
2018-11-13 11:23:19 -08:00
Stanislav Laznicka
628d1fef37
autogen files
2018-11-13 18:06:12 +01:00
Slava Semushin
c21cb548e6
Introduce kubeapiserver.config.k8s.io/v1 with EncryptionConfiguration and use a standard method for parsing config file.
...
Co-authored-by: Stanislav Laznicka <slaznick@redhat.com>
2018-11-13 14:05:21 +01:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
k8s-ci-robot
e133ab274d
Merge pull request #70515 from davidz627/feature/csiNodeInfo
...
Add explicit "Installed" field to CSINodeInfo and change update semantics
2018-11-09 06:42:09 -08:00
David Zhu
4621887037
Updated test files with new fields
2018-11-08 19:45:01 -08:00
k8s-ci-robot
be800e623a
Merge pull request #69663 from sttts/sttts-scheduler-secure-serving
...
scheduler: enable secure port and authn/z
2018-11-08 17:36:14 -08:00
Dr. Stefan Schimanski
1588af4031
kube-scheduler: add secure serving and authn/z integration tests
2018-11-08 16:43:59 +01:00
Dr. Stefan Schimanski
98d8e87120
integration: rename test/integration/{controllermanager -> serving}
2018-11-08 16:43:59 +01:00
Dr. Stefan Schimanski
d91feb6d18
kube-scheduler: move stopCh creation out of scheduler factory code
...
Enforces clean ownership of the channel.
2018-11-08 16:43:59 +01:00
Davanum Srinivas
43f523d405
Switch to sigs.k8s.io/yaml from ghodss/yaml
...
Change-Id: Ic72b5131bf441d159012d67a6a3d87088d0e6d31
2018-11-07 13:17:32 -05:00
k8s-ci-robot
7fe59165b6
Merge pull request #70193 from saad-ali/csiCRDAddon
...
Register CSI CRDs as addon
2018-11-06 23:55:56 -08:00
saad-ali
a679486a5e
Register CSI CRDs as addon
2018-11-06 10:58:09 -08:00
k8s-ci-robot
c8604653f0
Merge pull request #70449 from mikedanese/simplcache
...
remove webhook cache implementation and replace with token cache
2018-11-05 16:32:34 -08:00
Mike Danese
0ec4d6d396
remove webhook cache implementation and replace with the token cache
...
The striped cache used by the token cache is slightly more sophisticated
however the simple cache provides about the same exact behavior. I used
the striped cache rather than the simple cache because:
* It has been used without issue as the primary token cache.
* It preforms better under load.
* It is already exposed in the public API of the token cache package.
2018-11-05 13:08:45 -08:00
Monis Khan
f39158a310
Add CRDs to etcd storage path test
...
This change updates the etcd storage path test to exercise custom
resource storage by creating custom resource definitions before
running the test.
Duplicated custom resource definition test logic was consolidated.
Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-11-04 16:54:35 -05:00
k8s-ci-robot
03cbb2c321
Merge pull request #70571 from lichuqiang/provision-test-fix
...
remove meaningless case in volume binding test
2018-11-02 18:01:48 -07:00
k8s-ci-robot
9fb1153bd8
Merge pull request #70550 from liggitt/cleanup-scale-clients
...
Drop generated clients for Scale types
2018-11-02 05:29:15 -07:00
lichuqiang
f7dbcce272
remove meaningless case
2018-11-02 15:17:20 +08:00
k8s-ci-robot
4351cea80c
Merge pull request #70046 from cheftako/lintCleanGce
...
Fixed lint errors for pkg/cloudprovider/providers/gce.
2018-11-01 13:44:06 -07:00
Jordan Liggitt
ff9dc86b3c
Drop generated clients for Scale types
2018-11-01 14:49:51 -04:00
zqm19941101
05013135b4
fix typo
2018-10-30 19:27:36 +08:00
walter
735ad9ed63
Fixed lint errors for pkg/cloudprovider/providers/gce.
...
Fixed minor issues.
Cleaned up from merge errors.
2018-10-29 11:52:24 -07:00
Samuel Davidson
294e02ed4b
Revert "limit forbidden error to details of what was forbidden"
...
This reverts commit ecbd013795
.
2018-10-26 15:58:09 -07:00
Kim Min
79599ac419
Prune internal clientset/informer from kubeapiserver admission initializer ( #70167 )
...
* externalize pv resize admission controller
* externalize podtolerationrestriction admission controller
* externalize podnodeselector admission controller
* remove internal clientset/informer from kubeapiserver admission initializer
* minor change: fixes scheduler integration test compiliation
2018-10-24 14:47:16 -07:00
k8s-ci-robot
10121e6448
Merge pull request #69898 from Huang-Wei/scheudler-perf-more-cases
...
add more scheduler benchmark testcases
2018-10-24 14:47:06 -07:00
Wei Huang
5259d09c38
add more scheduler benchmark testcases
...
- add benchmark test for PodAffinity
- add benchmark test for NodeAffinity
- add 1000-nodes test for PodAntiAffinity/PodAffinity/NodeAffinity
2018-10-24 11:06:32 -07:00
zuoxiu.jm
38ddb4413a
update token authn constructor
2018-10-24 16:56:38 +08:00
k8s-ci-robot
4d182cec03
Merge pull request #70105 from mikedanese/trev1
...
promote --service-account-api-audiences to top level kube-apiserver config
2018-10-22 23:59:34 -07:00
k8s-ci-robot
baa8d800ad
Merge pull request #69582 from mikedanese/trev7
...
tokenreview: authenticator interface changes
2018-10-22 23:59:04 -07:00
Mike Danese
371b1e7fed
promote --service-account-api-audiences to top level kube-apiserver config
...
The service account authenticator isn't the only authenticator that
should respect API audience. The authentication config structure should
reflect that.
2018-10-22 18:21:37 -07:00
Mike Danese
e5227216c0
rebase authenticators onto new interface.
2018-10-22 10:16:59 -07:00
Monis Khan
c16edb2738
Refactor dry run test to reuse ETCD storage data
...
This change updates the ETCD storage test so that its data is
exported. Thus it can be used by other tests. The dry run test was
updated to consume this data instead of having a duplicate copy.
The code to start a master that can be used for "one of every
resource" style tests was also factored out. It is reused in the
dry run test as well.
This prevents these tests from drifting in the future and reduces
the long term maintenance burden.
Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-10-19 18:35:56 -04:00
Patrick Barker
b8e1250487
adds dynamic audit api generated
2018-10-16 13:07:27 +00:00
Patrick Barker
381d0a5d14
adds dynamic audit api
2018-10-16 06:46:34 -06:00
k8s-ci-robot
d54e0fc0bc
Merge pull request #69670 from atlassian/simplify-rand-seed
...
Simplify rand seeding
2018-10-15 13:53:01 -07:00
tanshanshan
b7c7966b9f
Move pkg/scheduler/algorithm/well_known_labels.go out
2018-10-13 09:10:00 +08:00
Zhen Wang
e35d808aa2
NodeLifecycleController treats node lease renewal as a heartbeat signal
2018-10-11 16:07:15 -07:00
k8s-ci-robot
94306c12f5
Merge pull request #69057 from denkensk/create-a-new-scheduler-constructor
...
create-a-new-scheduler-constructor
2018-10-11 13:45:02 -07:00
Mikhail Mazurskiy
55bc668f8d
Seed math/rand in TestMain before tests are executed
2018-10-11 22:07:45 +11:00
k8s-ci-robot
a9fb3f5fc9
Merge pull request #69616 from k82cn/sched_perf_owner
...
Aligned sched_perf owner.
2018-10-10 20:25:04 -07:00
wangqingcan
a74fd15e62
create a new scheduler constructor
2018-10-10 17:10:10 +08:00
Da K. Ma
f6ad347982
Fixed node namespace to none.
...
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-10-10 16:17:15 +08:00
Da K. Ma
0064c2c4d4
Aligned sched_perf owner.
...
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-10-10 16:05:04 +08:00
lichuqiang
db775814e2
add volume topology-aware dynamic provisioning integration case
2018-10-10 09:38:04 +08:00
k8s-ci-robot
664d797245
Merge pull request #69466 from mooncak/fix_test_issues
...
Remove the duplicated words in test files
2018-10-05 22:18:31 -07:00
mooncake
4894f5583d
Remove the duplicated words in test files
...
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-05 22:55:16 +08:00
Walter Fender
f3f46d5f5a
Moving the cloudprovider interface to staging.
...
Individual implementations are not yet being moved.
Fixed all dependencies which call the interface.
Fixed golint exceptions to reflect the move.
Added project info as per @dims and
https://github.com/kubernetes/kubernetes-template-project .
Added dims to the security contacts.
Fixed minor issues.
Added missing template files.
Copied ControllerClientBuilder interface to cp.
This allows us to break the only dependency on K8s/K8s.
Added TODO to ControllerClientBuilder.
Fixed GoDeps.
Factored in feedback from JustinSB.
2018-10-04 14:41:20 -07:00
k8s-ci-robot
68536e4382
Merge pull request #68520 from verult/top-auth-integration
...
Auth integration tests for CSINodeInfo changes
2018-10-03 21:32:01 -07:00
k8s-ci-robot
5dd78df7da
Merge pull request #68982 from aruneli/master
...
Fixes #65869 Do not listen insecurely if secure port is specified
2018-10-03 17:32:28 -07:00
Cheng Xing
c65d7c9a49
NodeAuthorizer and NodeRestriction integration test for CSINodeInfo permissions
2018-10-03 14:31:16 -07:00
Yu Liao
fc21115c3f
Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s.io/cluster-bootstrap
2018-10-02 09:46:13 -07:00
k8s-ci-robot
0787715978
Merge pull request #69124 from tanshanshan/httpcode
...
replace 200 with http.StatusOK
2018-09-27 09:51:48 -07:00
k8s-ci-robot
3d2fcf4155
Merge pull request #68892 from ravisantoshgudimetla/fix-pdb
...
PDB checks should not be done for terminal pods while evicting
2018-09-26 22:59:14 -07:00
tanshanshan
acdc45628f
use http.StatusOK instead of 200
2018-09-27 08:33:27 +08:00
Bobby (Babak) Salamat
c051f0d31a
autogenerated files
2018-09-26 14:22:21 -07:00
Bobby (Babak) Salamat
f340f8baf8
Remove PDB and its event handlers from the scheduler cache
2018-09-26 14:22:21 -07:00
Arun
1761031f5f
Fixes #65869 Do not listen insecurely if secure port is specified
2018-09-25 19:06:34 -07:00
k8s-ci-robot
0805860dba
Merge pull request #67870 from yue9944882/refactor/externalize-resource-quota-admission-controller
...
Externalize resource quota admission controller & controller reconciliation
2018-09-25 02:41:40 -07:00
k8s-ci-robot
6b1af84d4a
Merge pull request #64803 from misterikkit/etcd-main
...
Make integration test work with `go test`.
2018-09-24 19:48:52 -07:00
k8s-ci-robot
2fb9fc2400
Merge pull request #67230 from tanshanshan/schedulertest810
...
add ns for pod in scheduler integration test
2018-09-24 13:19:55 -07:00
k8s-ci-robot
b223e880d5
Merge pull request #66937 from mortent/CronJobIntegrationTest
...
Integration test for CronJob
2018-09-24 13:19:09 -07:00
ravisantoshgudimetla
d776f865a2
PDB checks should not be done for terminal pods while evicting
...
Signed-off-by: ravisantoshgudimetla <ravisantoshgudimetla@gmail.com>
2018-09-20 14:30:34 -04:00
Cheng Xing
8555408f42
Removing CRD installation from attach detach controller
2018-09-18 14:25:15 -07:00
ravisantoshgudimetla
b2e92f1ba2
Fix test cases and build files
2018-09-12 14:19:29 -04:00
Jonathan Basseri
117288e285
Make integration test work with `go test`.
...
The EtcdMain function in integration tests is designed to launch an etcd
instance only when running in a bazel test. For non-bazel, we rely on
hack/make-rules/test-integration.sh to bring up the etcd instance.
This patch fixes the following in EtcdMain:
1. If etcd is not found in ${RUNFILES_DIR} then look in ${PATH}.
2. Try to connect to the etcd started by `make test-integraion`; if it
is up, then don't start etcd.
3. Gracefully shut down etcd after tests.
4. Get a port from the OS instead of deriving it from argv[0].
5. Don't use sync.Once.
The benefit of this change is that integration tests work with `go test`
as well as `make test-integration` without users needing to do anything
special. That makes it much easier to pass go testing flags to tests and
integrate with IDEs.
2018-09-10 14:12:25 -07:00
Kubernetes Submit Queue
323e1375b3
Merge pull request #64954 from k82cn/k8s_61312_2
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md .
Added unschedulable and network-unavailable toleration.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
part of #61312
fixes: https://github.com/kubernetes/kubernetes/issues/67606
**Release note**:
```release-note
If `TaintNodesByCondition` is enabled, add `node.kubernetes.io/unschedulable` and
`node.kubernetes.io/network-unavailable` automatically to DaemonSet pods.
```
2018-09-09 19:46:37 -07:00
Da K. Ma
e39b510726
Added unschedulable and network-unavailable toleration.
...
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-09-07 16:53:49 +08:00
Cheng Xing
becc6a9c19
Implemented logic in kubelet for registering node info, including wiring to CSINodeInfo; added unit tests for node updates; updated RBAC, NodeAuthorizer, NodeRestriction.
2018-09-06 19:16:51 -07:00
Kubernetes Submit Queue
c3062bae21
Merge pull request #68233 from luxas/ccm_cleanup
...
Automatic merge from submit-queue (batch tested with PRs 68171, 67945, 68233). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md .
Move the CloudControllerManagerConfiguration to an API group in `cmd/`
**What this PR does / why we need it**:
This PR is the last piece of https://github.com/kubernetes/kubernetes/issues/67233 .
It moves the `CloudControllerManagerConfiguration` to its own `cloudcontrollermanager.config.k8s.io` config API group, but unlike the other components this API group is "private" (only available in `k8s.io/kubernetes`, which limits consumer base), as it's located entirely in `cmd/` vs a staging repo.
This decision was made for now as we're not sure what the story for the ccm loading ComponentConfig files is, and probably a "real" file-loading ccm will never exist in core, only helper libraries. Eventually the ccm will only be a library in any case, and implementors will/can use the base types the ccm library API group provides. It's probably good to note that there is no practical implication of this change as the ccm **cannot** read ComponentConfig files. Hencec the code move isn't user-facing.
With this change, we're able to remove `pkg/apis/componentconfig`, as this was the last consumer. That is hence done in this PR as well (so the move is easily visible in git, vs first one "big add" then a "big remove"). The only piece of code that was used was the flag helper structs, so I moved them to `pkg/util/flag` that I think makes sense for now.
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
ref: kubernetes/community#2354
**Special notes for your reviewer**:
This PR builds on top of (first two commits, marked as `Co-authored by: @stewart-yu`) https://github.com/kubernetes/kubernetes/pull/67689
**Release note**:
```release-note
NONE
```
/assign @liggitt @sttts @thockin @stewart-yu
2018-09-05 21:36:41 -07:00
Kubernetes Submit Queue
ca43f007a3
Merge pull request #67731 from gnufied/fix-csi-attach-limit
...
Automatic merge from submit-queue (batch tested with PRs 68161, 68023, 67909, 67955, 67731). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md .
Fix csi attach limit
Add support for volume limits for CSI.
xref: https://github.com/kubernetes/community/pull/2051
```release-note
Add support for volume attach limits for CSI volumes
```
2018-09-05 14:51:55 -07:00
Lucas Käldström
7e10810ed0
Move CloudControllerManagerConfiguration from pkg/apis/componentconfig to cmd/cloud-controller-manager/app/apis/config
2018-09-05 14:02:25 +03:00
Michelle Au
e124159990
Add scheduler option for bind timeout
2018-09-04 17:25:23 -07:00
Michelle Au
8091c7975b
Integration and e2e tests
2018-09-04 16:30:14 -07:00