Michael Taufen
a846ba191c
Improve dynamic kubelet config e2e node test and fix bugs
...
Rather than just changing the config once to see if dynamic kubelet
config at-least-sort-of-works, this extends the test to check that the
Kubelet reports the expected Node condition and the expected configuration
values after several possible state transitions.
Additionally, this adds a stress test that changes the configuration 100
times. It is possible for resource leaks across Kubelet restarts to
eventually prevent the Kubelet from restarting. For example, this test
revealed that cAdvisor's leaking journalctl processes (see:
https://github.com/google/cadvisor/issues/1725 ) could break dynamic
kubelet config. This test will help reveal these problems earlier.
This commit also makes better use of const strings and fixes a few bugs
that the new testing turned up.
Related issue: #50217
2017-09-07 15:50:17 -07:00
Manjunath A Kumatagi
ee4d54c70c
Port e2e tests for multi architecture
2017-09-01 05:40:52 +05:30
Dr. Stefan Schimanski
637fe0844c
e2e/integration: simplify deepcopy calls
2017-08-29 20:11:50 +02:00
Michael Taufen
a90d81620b
Revert "Merge pull request #51008 from kubernetes/revert-50789-fix-scheme"
...
This reverts commit f4afdecef8
, reversing
changes made to e633a1604f
.
This also fixes a bug where Kubemark was still using the core api scheme
to manipulate the Kubelet's types, which was the cause of the initial
revert.
2017-08-21 11:28:05 -07:00
Shyam JVS
5591914d62
Revert "Don't register the kubeletconfig group with the default Scheme"
2017-08-21 11:15:27 +02:00
Michael Taufen
0af9f756cd
Don't register the kubeletconfig group with the default Scheme
2017-08-18 13:51:39 -07:00
Kubernetes Submit Queue
a4f6ae4402
Merge pull request #50277 from yguo0905/live-restore-test
...
Automatic merge from submit-queue
Add node e2e test for Docker's live-restore
Ref: https://github.com/kubernetes/kubernetes/issues/42926
This PR adds a test for docker live-restore. If this is fine, we can close the unfinished PR https://github.com/kubernetes/kubernetes/pull/40364 .
**Release note**:
```
None
```
2017-08-17 21:44:09 -07:00
Yang Guo
9f1f83020b
Add node e2e test for Docker's live-restore
2017-08-17 16:58:21 -07:00
Michael Taufen
24bab4c20f
move KubeletConfiguration out of componentconfig API group
2017-08-15 08:12:42 -07:00
Michael Taufen
443d58e40a
Dynamic Kubelet Configuration
...
Alpha implementation of the Dynamic Kubelet Configuration feature.
See the proposal doc in #29459 .
2017-08-08 12:21:37 -07:00
Mik Vyatskov
e79a228a78
Move the sig-instrumentation test to a dedicated folder
2017-08-07 10:33:03 +02:00
Jacob Simpson
a765b8cfca
Migrate api.Scheme to scheme.Scheme
2017-07-17 15:05:38 -07:00
gmarek
55880e6b4b
Move metrics_grabbert to test/e2e
2017-07-07 13:13:44 +02:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
David Ashpole
0bd0d705e3
log age of stats used for evictions during eviction tests
2017-05-18 13:51:23 -07:00
Michael Taufen
cbad320205
Reorganize kubelet tree so apis can be independently versioned
2017-05-12 10:02:33 -07:00
David Ashpole
ac612eab8e
eviction manager changes for allocatable
2017-03-02 07:36:24 -08:00
Vishnu Kannan
cc5f5474d5
add support for node allocatable phase 2 to kubelet
...
Signed-off-by: Vishnu Kannan <vishnuk@google.com>
2017-02-27 21:24:44 -08:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
David Ashpole
c3951a72ab
use dynamic config to set eviction hard threshold
2017-01-09 15:27:12 -08:00
Wojciech Tyczynski
a9ec31209e
GetOptions - fix tests
2016-12-09 09:42:01 +01:00
Chao Xu
29400ac195
test/e2e_node
2016-11-23 15:53:09 -08:00
David Ashpole
f6224590f7
Test Container Garbage Collection
2016-11-15 09:15:31 -08:00
Michael Taufen
5190a7d72d
Add dynamic kubelet configuration utilities to node e2e tests
...
Also modify dynamic kubelet configuration test to rely on new utility functions
2016-11-02 10:02:21 -07:00
Michael Taufen
aa1d273584
Wait for the memory pressure condition to be absent before finishing the memory eviction test
2016-08-26 10:15:28 -07:00
Dawn Chen
24e81af7b3
Revert "Avoid disk eviction node e2e test using up all the disk space"
2016-08-26 08:59:42 -07:00
Kubernetes Submit Queue
cce68024e4
Merge pull request #31391 from ronnielai/container-gc
...
Automatic merge from submit-queue
Avoid disk eviction node e2e test using up all the disk space
2016-08-26 05:25:53 -07:00
bindata-mockuser
d0577e7c74
Avoid disk eviction node e2e test using up all the disk space
2016-08-24 22:07:58 -07:00
Random-Liu
afb780d4ee
Move utilities into different packages. Add local and remove runner.
2016-08-24 20:18:45 -07:00
Random-Liu
3910a66bb5
Add run-services-mode option, and start e2e services in a separate
...
process.
2016-08-15 14:45:01 -07:00
Random-Liu
13c8381dc4
Move the node name initialization to first function of
...
SynchronizedBeforeEach, so that we can pass right node
name when starting e2e services.
2016-08-03 18:14:53 -07:00
Random-Liu
9d48c76361
Make the node e2e test run in parallel.
2016-07-29 16:40:59 -07:00
Random-Liu
e40e82bd5c
Make it possible to share test between e2e and node e2e,
...
and make container probing test shared to validate.
2016-07-18 14:05:08 -07:00
Random-Liu
62337e7c44
Disable kubenet for local node e2e test.
2016-07-06 14:04:35 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Tim St. Clair
376b5f247a
Refactor common pod patterns to e2e framework.
2016-06-28 17:20:08 -07:00
Yu-Ju Hong
a6a3ed210c
Port the downward api test to the node e2e suite
...
Also extend the framework to allow a custom client config loading function, so
that the node e2e suite can reuse the same framework across tests.
2016-06-03 18:16:24 -07:00
Vishnu kannan
fa476b8044
Framework support for node e2e.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-29 15:37:35 -07:00
Phillip Wittrock
3de94cd23c
Supply volume fs metrics to server/stats/handler.go
...
* Metrics will not be expose until they are hooked up to a handler
* Metrics are not cached and expose a dos vector, this must be fixed before release or the stats should not be exposed through an api endpoint
2016-02-05 16:00:24 -08:00
Phillip Wittrock
ad37e2654e
Node e2e test fixes:
...
- Improve documentation and method naming
- Fix command this is run remotely
- Never reschedule the busybox logging test pod since it is supposed to terminate
- Update log test condition retrylogic to correctly retry instead of failing the test
- localhost -> 127.0.0.1 to work on coreos
- give name to etcd to work on coreos
- allow using full hostname for nodename for coreos
2015-12-16 09:22:48 -08:00
Phillip Wittrock
ec5ecb18fa
Initial Pod e2e test
2015-11-24 15:40:16 -08:00