Artyom Lukianov
b95d45e803
memory manager: add new flag type BracketSeparatedSliceMapStringString
...
Add BracketSeparatedSliceMapStringString to parse config like the below
{numa-node=0,type=memory,limit=1Gi},{numa-node=1,type=memory,limit=1Gi}
Signed-off-by: Byonggon Chun <bg.chun@samsung.com>
2021-02-09 00:54:58 +02:00
Artyom Lukianov
95f81372e2
memory manager: implement the manager interface methods
...
The commit adds implementation for methods:
- Start
- AddContainer
- Allocate
- RemoveContainer
- State
- GetTopologyHints
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 00:54:58 +02:00
Artyom Lukianov
d0caec90e2
memory manager: add the policy interface
...
The commit also adds two policy skeletons:
- none
- static
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 00:54:58 +02:00
Artyom Lukianov
86df524948
memory manager: provide unittest for the state package
...
The commit includes tests to verify the functionallity:
- to restore state from the file
- to store the state to the file
- to clean the state from old data
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 00:54:58 +02:00
Artyom Lukianov
48ca6e53e6
memory manager: provide and use the checkpoint manager
...
The checkpoint manager provides a way to save the memory manager
`MemoryTable` both under the memory and under the state file.
Saving the `MemoryTable` under the state file can be useful when kubelet
restarted and you want to restore memory allocations for running containers.
Also, it provides a way to monitor memory allocations done by the memory manager,
and in the future, the state file content can be exposed under the pod metrics.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 00:54:58 +02:00
Artyom Lukianov
4c75be0604
memory manager: provide the skeleton for the memory manager
...
Provide memory manager struct and methods that should be implemented.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 00:54:58 +02:00
Stephen Heywood
c88a838282
Promote pod and service ProxyWithPath e2e test to Conformance
2021-02-09 11:50:22 +13:00
Han Kang
c3f550f3cb
fix arguments too long error
2021-02-08 11:55:25 -08:00
Kubernetes Prow Robot
f266f60da9
Merge pull request #98839 from Mattias-/kubeadm-fix-config-print-placeholder
...
kubeadm: Fix placeholder in config print help text
2021-02-08 11:54:43 -08:00
Michelle Au
1025997abf
PD CSI: disable resizer volume inuse error check as it is not necessary for PD and requires new RBACs
...
Change-Id: I5844eaed0b23389ac07584e8b9ee82f47df5a90e
2021-02-08 11:27:01 -08:00
Kubernetes Prow Robot
d11e475b9b
Merge pull request #98770 from pohly/e2e-mock-container-versions
...
test: bump CSI container versions for mock testing
2021-02-08 10:45:37 -08:00
Jacek Kaniuk
c891207ab7
Simplify leader election code
2021-02-08 19:39:42 +01:00
Kubernetes Prow Robot
0867767d6e
Merge pull request #98882 from kvaps/flatten-adminconfig
...
kubeadm: flatten admin.conf for cluster-info generation
2021-02-08 09:26:28 -08:00
Andrei Kvapil
9de0b2bf46
kubeadm: flatten admin.conf for cluster-info
2021-02-08 17:22:01 +01:00
Kubernetes Prow Robot
74e5080b0e
Merge pull request #97251 from navidshaikh/pr/fix-68026-test-e2e-common
...
Fix golint errors in test/e2e/common
2021-02-08 08:11:47 -08:00
Claudiu Belu
3945c8972c
tests: Switch dockerhub registry images to promoted registry
...
Due to the dockerhub rate limiting, we had to find an alternative solution. We've mirrored the dockerhub
images into our own.
Additionally, our own busybox, httpd, and nginx images also have Windows support.
2021-02-08 08:01:04 -08:00
Maciej Szulik
c24b0a2a08
Promote cronjob controller v2 to beta
2021-02-08 14:54:20 +01:00
Dave Chen
06bc3b48af
Improve test coverage for service affinity
...
Pods that are filtered by the plugin should has UID associated, otherwise all those
matching pods will be filtered out, this is the against of the spec of testcases.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-02-08 17:02:53 +08:00
Navid Shaikh
2e63bad5a3
Fix golint errors in test/e2e/common
...
- Add comments for exported types
- Replace Uid with UID
2021-02-08 10:47:41 +05:30
Tonis Tiigi
fd01467c0c
avoid hardcoding amd64 specifics on cross compiling
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-02-07 21:08:00 -08:00
Kubernetes Prow Robot
97d40890d0
Merge pull request #98802 from dabaooline/fix-ignorederr
...
fix ignored podinfo parserr
2021-02-07 17:53:11 -08:00
Abdullah Gharaibeh
880bbdad23
Graduate TTLAfterFinished to beta
2021-02-07 17:23:14 -05:00
Kubernetes Prow Robot
15a8a8ec4a
Merge pull request #97738 from knabben/deny-all-ns
...
Default DENY all egress from pods in the namespace
2021-02-07 12:37:12 -08:00
Amim Knabben
f1da11078a
UDP protocol on connect agnhost command
2021-02-07 15:29:58 -05:00
Sai Harsha Kottapalli
a2ef69060a
fix staticcheck failures for test/e2e and test/integration
2021-02-07 23:47:23 +05:30
Kubernetes Prow Robot
fc7b785e64
Merge pull request #98818 from chewong/remove-duplicated-code
...
fix: remove duplicated code in image-util.sh due to merge conflict
2021-02-07 09:23:11 -08:00
Amim Knabben
189edf1e73
Default deny all egress from pods in the namespace
2021-02-07 11:55:50 -05:00
Amim Knabben
c8031e5b13
Netpol e2e test should overwrite allow with another deny
2021-02-07 11:48:20 -05:00
Claudiu Belu
6b090886de
tests: Separate registry configuration for etcd image
...
Current gcRegistry configuration is responsible for both etcd and pause images. We should
use the upstream pause image in testing.
The etcd image doesn't have Windows support yet, so we need to have a separate configuration
for it.
2021-02-07 06:20:14 -08:00
Claudiu Belu
3e0b66b802
test images: Bump resource-consumer to 1.9
...
We've added Windows support to the resource-consumer image and 1.8 tag is already promoted.
We need to bump the VERSION, so we can promote the new image.
2021-02-06 23:54:25 -08:00
Angela Li
1edb548b09
Use -LiteralPath instead of -Path
2021-02-06 22:45:46 -08:00
Kubernetes Prow Robot
23a46d8843
Merge pull request #97819 from damemi/bz1876918-priorities-test-refactor
...
Move deferred taint cleanup call to ensure all are removed
2021-02-06 21:37:12 -08:00
Kubernetes Prow Robot
425d29b39a
Merge pull request #98688 from wangkai1994/fix/pvc_protection_controller_log
...
migrate pkg/controller/volume/pvc_protection_controller.go to structured logs
2021-02-06 20:13:11 -08:00
shawnhanx
fa8d07d3e1
Apply suggestions from code review
...
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
2021-02-07 09:23:07 +08:00
Claudiu Belu
a7de2d82d3
test images: Retrigger some image jobs
2021-02-06 16:43:52 -08:00
Kubernetes Prow Robot
3534e31ade
Merge pull request #98834 from cpanato/go1158
...
[go1.15] Update to go1.15.8
2021-02-06 15:35:11 -08:00
Kubernetes Prow Robot
5fa704c6a8
Merge pull request #98836 from hasheddan/kubeadm-ci-k8s-infra
...
kubeadm: get k8s CI version markers from k8s infra bucket
2021-02-06 11:23:11 -08:00
Kubernetes Prow Robot
4db3c93af3
Merge pull request #98805 from cpanato/k8sio-GH-1525-csi
...
e2e/storage-csi: replace gcr.io/gke-release to the community registry k8s.gcr.io/sig-storage
2021-02-06 10:03:11 -08:00
Mattias Appelgren
7e80d4d191
kubeadm: Fix placeholder in config print help text
2021-02-06 18:32:45 +01:00
hasheddan
8ae6a20485
kubeadm: drop explicit constant override in version test
...
The k8s release bucket constant is not longer overriden in network tests
because the fetcher is mocked rather than using httptest.NewServer. See
previous implementation in
https://github.com/kubernetes/kubernetes/pull/49119/files#diff-82f2b09991047d4a1884d53dedadd64a473d5c4dc75293514e71773ceedf08e2R128
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-02-06 11:03:00 -06:00
hasheddan
1d164d0747
kubeadm: get k8s CI version markers from k8s infra bucket
...
Updates kubeadm version resolution to use kubernetes community infra
bucket to fetch appropriate k8s ci versions. The images are already
being pulled from the kubernetes community infra bucket meaning that a
mismatch can occur when the ci version is fetched from the google infra
bucket and the image is not yet present on k8s infra.
Follow-up to kubernetes/kubernetes#97087
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-02-06 10:59:15 -06:00
Carlos Panato
c2e90d8baf
[go1.15] Use go-runner:buster-v2.3.1 image (built on go1.15.8)
2021-02-06 15:58:12 +01:00
Carlos Panato
06740b1848
[go1.15] staging/publishing: Set default go version to go1.15.8
2021-02-06 15:56:05 +01:00
Carlos Panato
8b5bf8ef91
[go1.15] Update to go1.15.8
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-02-06 15:55:39 +01:00
Kubernetes Prow Robot
25d5d657c7
Merge pull request #98796 from pacoxu/kubeadm/dual-stack-1
...
kubeadm: improve error message about node subnet size validation
2021-02-06 04:35:11 -08:00
Claudiu Belu
6dae3054b5
test images: Fixes Windows php source
...
The PHP release page tends to get updated and changed every time there's a
new release, removing the old ones. Because of this, the PHP link in the
httpd and httpd-new images may become invalid.
Updating the links to the archives solves this issue.
2021-02-06 11:32:21 +00:00
dabaooline
7c99f426cd
fix ignored podinfo parserr
...
Co-authored-by: Jie Shen <drfish.me@gmail.com>
2021-02-06 18:59:12 +08:00
Carlos Panato
c9ccfe6ccc
e2e/storage-csi: replace gcr.io/gke-release to the community registry k8s.gcr.io/sig-storage
2021-02-06 11:29:14 +01:00
Angela Li
0fd36b00bb
Escape the special character in vsphere windows path
2021-02-06 02:13:31 -08:00
Kubernetes Prow Robot
c15851b777
Merge pull request #98793 from wzshiming/ut/speed-up-endpointslice
...
Speed up pkg/controller/endpointslice unit tests
2021-02-05 17:51:11 -08:00