Aaron Crickenberger
a7af20922f
use forbiddenPrefixes instead of allowedPrefixes
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
c2e7ccf2d4
default import-boss --include-test-files=true
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
c209fe8439
fix .import-restrictions to work with import-boss --include-test-files
...
this is mainly to ensure integration tests (which all end in _test)
are properly bossed around for their imports
I had to adjust some of the _test files to adhere to existing
reverse_rules specified elsewhere
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
81881e4a12
prune .import-restrictions
...
specifically:
- cmd/kubeadm/.import-restrictions
- we don't need to explicitly allow k8s.io repos (external or published)
- rm pkg/controller/.import-restrictions
- pkg/client/unversioned was removed in 59042
- pkg/kubectl/.import-restrictions
- pkg/printers is no longer used
- pkg/api was masking all of the pkg/apis prefixes
- rm staging/src/k8s.io/code-generator/cmd/lister-gen/.import-restrictions
- noop / empty file
- test/e2e/framework/.import-restrictions
- we don't need to explicitly allow k8s.io repos (external or published)
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
f306a0dbb4
convert .import-restrictions to yaml
...
yaml has comments, so we can explain why we have certain rules or
certain prefixes
for those files that weren't already commented yaml, I converted them to
yaml and took a best guess at comments based on the PRs that introduced
or updated them
2020-04-28 08:41:36 -07:00
Andrew Sy Kim
4c3d9dad5f
update github.com/moby/ipvs to v1.0.1 to fix IPVS compatiblity issue with old kernels
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-04-28 10:31:36 -04:00
knight42
b9fb9b82f3
test(kubectl::explain): move the flaky test out of conformance
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-04-28 21:35:30 +08:00
Kubernetes Prow Robot
7814f3aaf7
Merge pull request #88723 from wawa0210/kubectl_taint_short_forms
...
Support kubectl more flexible matching method to match whether the current resource type is node
2020-04-28 04:32:05 -07:00
Kubernetes Prow Robot
885e1e929a
Merge pull request #90501 from tanjunchen/component-base/metrics-improve-code
...
k8s.io/component-base/metrics/testutil/:improve code
2020-04-27 22:26:52 -07:00
Kubernetes Prow Robot
fabe9cddf1
Merge pull request #90467 from Huang-Wei/honor-runAllFilters
...
Simplify status handling of scheduler RunFilterPlugins
2020-04-27 22:26:43 -07:00
Kubernetes Prow Robot
62880cb122
Merge pull request #90421 from neolit123/1.19-remove-cluster-clientbin
...
/cluster: cleanup clientbin.sh
2020-04-27 22:26:33 -07:00
Kubernetes Prow Robot
3c3497bed9
Merge pull request #89981 from gaurav1086/VolumeMode_nil_ptr_check
...
[volume] VolumeMode nil pointer check
2020-04-27 22:26:19 -07:00
Kubernetes Prow Robot
f86bf71dbe
Merge pull request #89560 from gavinfish/direct-k8s-pod
...
e2e/framework: remove direct imports to /pkg/api/v1/pod
2020-04-27 22:26:05 -07:00
Kubernetes Prow Robot
54e1e5b62f
Merge pull request #90527 from alculquicondor/optimize-scoring-map
...
Spreading score optimization: Store ignored instead of qualifying nodes
2020-04-27 19:40:05 -07:00
Kubernetes Prow Robot
df1a4c4e55
Merge pull request #90537 from freehan/enable-externalip
...
Enable externalPolicyForExternalIP by default
2020-04-27 16:28:04 -07:00
Minhan Xia
432ad6c677
enable externalPolicyForExternalIP by default
2020-04-27 14:52:14 -07:00
Lubomir I. Ivanov
b4bbf0a69f
/cluster: cleanup clientbin.sh
...
clientbin.sh is only used in kubectl.sh. It contains logic
for finding a binary that was build from the k/k tree
and for printing errors if the binary cannot be found.
- Remove clientbin.sh
- Remove references of clientbin.sh from /cluster/BUILD
- Use hack/lib/util.sh's kube::util::find-binary for finding the binary
2020-04-28 00:27:33 +03:00
Hemant Kumar
850da22c02
Azure - do not use 0 zone or empty string for zone when creating PVs
2020-04-27 17:14:50 -04:00
Kubernetes Prow Robot
6abb8ebd19
Merge pull request #90524 from kubernetes/revert-90249-bookmark_every_minute
...
Revert "Send watch bookmarks every minute"
2020-04-27 13:40:43 -07:00
Kubernetes Prow Robot
b9ac921f31
Merge pull request #90463 from deads2k/beta-annotations-05-autoscaling
...
add prerelease lifecycle tags to autoscaling
2020-04-27 13:40:33 -07:00
Kubernetes Prow Robot
e00e89ae1c
Merge pull request #90449 from wojtek-t/remove_events_deprecated_field
...
Remove events deprecated field
2020-04-27 13:40:19 -07:00
Kubernetes Prow Robot
7fdc1275d9
Merge pull request #90377 from cbf123/container_cpuset_fixup_2
...
Fix exclusive CPU allocations being deleted at container restart
2020-04-27 13:40:04 -07:00
Kubernetes Prow Robot
77bf313584
Merge pull request #90457 from deads2k/beta-annotations-03-apps
...
add beta annotations to apps
2020-04-27 12:09:38 -07:00
Kubernetes Prow Robot
561b2aba94
Merge pull request #90419 from klueska/upstream-update-reusable-cpus-strategy
...
Update strategy used to reuse CPUs from init containers in CPUManager
2020-04-27 12:09:23 -07:00
Davanum Srinivas
36025f0aa6
Drop Digest for Hyperkube
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-27 14:06:19 -04:00
Chris Friesen
ab5870d808
Fix exclusive CPU allocations being deleted at container restart
...
The expectation is that exclusive CPU allocations happen at pod
creation time. When a container restarts, it should not have its
exclusive CPU allocations removed, and it should not need to
re-allocate CPUs.
There are a few places in the current code that look for containers
that have exited and call CpuManager.RemoveContainer() to clean up
the container. This will end up deleting any exclusive CPU
allocations for that container, and if the container restarts within
the same pod it will end up using the default cpuset rather than
what should be exclusive CPUs.
Removing those calls and adding resource cleanup at allocation
time should get rid of the problem.
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
2020-04-27 11:36:54 -06:00
Aldo Culquicondor
a9461fe6f5
spreading: Store ignored instead of qualifying nodes
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-27 13:18:34 -04:00
wojtekt
13d74c8c04
Update compatibility test
...
--- FAIL: TestCompatibility (1.44s)
--- FAIL: TestCompatibility/core.v1.Event (0.02s)
--- FAIL: TestCompatibility/core.v1.Event/v1.17.0 (0.01s)
compatibility.go:488: proto differs
compatibility.go:490: strings.Join({
... // 79 identical lines
" 2: 456715000",
" }",
- ` 3: ""`,
" }",
` 12: "30"`,
... // 18 identical lines
}, "\n")
compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
--- FAIL: TestCompatibility/core.v1.Event/v1.18.0 (0.01s)
compatibility.go:488: proto differs
compatibility.go:490: strings.Join({
... // 79 identical lines
" 2: 456715000",
" }",
- ` 3: ""`,
" }",
` 12: "30"`,
... // 18 identical lines
}, "\n")
compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
--- FAIL: TestCompatibility/events.k8s.io.v1beta1.Event (0.02s)
--- FAIL: TestCompatibility/events.k8s.io.v1beta1.Event/v1.17.0 (0.01s)
compatibility.go:476: json differs
compatibility.go:477: strings.Join({
... // 43 identical lines
` "series": {`,
` "count": -1971381490,`,
- ` "lastObservedTime": "2429-02-18T17:57:56.343118Z",`,
- ` "state": "鯹)晿\u003c"`,
+ ` "lastObservedTime": "2429-02-18T17:57:56.343118Z"`,
" },",
` "reportingController": "19",`,
... // 31 identical lines
}, "\n")
compatibility.go:482: yaml differs
compatibility.go:483: strings.Join({
... // 60 identical lines
" count: -1971381490",
` lastObservedTime: "2429-02-18T17:57:56.343118Z"`,
- " state: 鯹)晿<",
`type: "36"`,
"",
}, "\n")
compatibility.go:488: proto differs
compatibility.go:490: strings.Join({
... // 54 identical lines
" 2: 343118000",
" }",
- ` 3: "\351\257\271)\346\231\277<"`,
" }",
` 4: "19"`,
... // 43 identical lines
}, "\n")
compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
--- FAIL: TestCompatibility/events.k8s.io.v1beta1.Event/v1.18.0 (0.01s)
compatibility.go:476: json differs
compatibility.go:477: strings.Join({
... // 43 identical lines
` "series": {`,
` "count": -1971381490,`,
- ` "lastObservedTime": "2429-02-18T17:57:56.343118Z",`,
- ` "state": "鯹)晿\u003c"`,
+ ` "lastObservedTime": "2429-02-18T17:57:56.343118Z"`,
" },",
` "reportingController": "19",`,
... // 31 identical lines
}, "\n")
compatibility.go:482: yaml differs
compatibility.go:483: strings.Join({
... // 60 identical lines
" count: -1971381490",
` lastObservedTime: "2429-02-18T17:57:56.343118Z"`,
- " state: 鯹)晿<",
`type: "36"`,
"",
}, "\n")
compatibility.go:488: proto differs
compatibility.go:490: strings.Join({
... // 54 identical lines
" 2: 343118000",
" }",
- ` 3: "\351\257\271)\346\231\277<"`,
" }",
` 4: "19"`,
... // 43 identical lines
}, "\n")
compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
2020-04-27 18:53:11 +02:00
wojtekt
5a9b6a3114
Autogenerated
2020-04-27 18:53:11 +02:00
wojtekt
edc60a970a
Remove deprecated State fiel in EventSeries
2020-04-27 18:53:11 +02:00
lixiang
5844bc3b9f
There's no need to set moveRequestCycle and do broadcast twice.
2020-04-28 00:43:58 +08:00
Kubernetes Prow Robot
95bb85378d
Merge pull request #89992 from zhouya0/remove_cobra_command_from_options
...
Remove *cobra.command from options
2020-04-27 09:35:44 -07:00
Kubernetes Prow Robot
ca8db0b396
Merge pull request #85806 from beautytiger/dev-191202-urlspace
...
fix: add space in front of url in command desc
2020-04-27 09:35:30 -07:00
Lukasz Szaszkiewicz
6e0211b3d8
provides RequestHeaderAuthRequestController for dynamically filling RequestHeaderConfig struct
2020-04-27 17:41:42 +02:00
张潇
8fda1f361c
Kubectl Taint now also accepts short forms for "node","nodes","no"
2020-04-27 23:18:27 +08:00
Wojciech Tyczynski
1cb98ed237
Revert "Send watch bookmarks every minute"
2020-04-27 17:07:27 +02:00
Kubernetes Prow Robot
75aede28e1
Merge pull request #90484 from nilo19/cleanup/add-unit-tests-for-race-condition
...
Add unit tests for azure race conditions.
2020-04-27 06:39:29 -07:00
Kubernetes Prow Robot
64d55ae13b
Merge pull request #90270 from gaurav1086/aws_block_test
...
[Provider/AWS] fix block test
2020-04-27 05:13:29 -07:00
Antonio Ojea
2c2e9cdd72
Fix e2e network performance test
2020-04-27 11:57:10 +02:00
Kubernetes Prow Robot
cdc9e337d2
Merge pull request #90337 from gaurav1086/aws_use_TrimPrefix
...
[Provider/aws] use strings.TrimPrefix()
2020-04-27 02:51:29 -07:00
t-qini
e48f69de10
Add unit tests for azure race conditions.
2020-04-27 16:44:27 +08:00
Patrick Ohly
e3d258d6ca
e2e storage: wait for PV deletion also for late binding
...
When a test pattern or storage class uses late binding, the cleanup
code didn't know about the PV that may have been created for the PVC
since setting it up and thus then also didn't wait for PV deletion.
This is problematic for test isolation because the next test was
allowed to be started before fully cleaning up. Worse, it the driver
gets removed after the test, the volume might never get deleted.
2020-04-27 10:34:50 +02:00
Sascha Grunert
519686faeb
Update runtime-spec to v1.0.2
...
We can now use the new version since v1.0.2 has be officially released.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-04-27 09:34:54 +02:00
SataQiu
afb1ea44b9
kubeadm: do not set deprecated '--cgroup-driver' flag in kubeadm-flags.env, this value will be set in config.yaml
2020-04-27 15:32:10 +08:00
Kubernetes Prow Robot
d3d870f051
Merge pull request #90459 from liggitt/rbac-deprecated
...
add prerelease API lifecycle tags for rbac APIs
2020-04-26 16:39:28 -07:00
tanjunchen
807a7e2426
k8s.io/component-base/metrics/testutil/:improve code
2020-04-26 15:27:51 +08:00
Kubernetes Prow Robot
31b90f3bc0
Merge pull request #90500 from tanjunchen/remove-prometheus_import_allow_list-20200426
...
remove staging/src/k8s.io/apiserver/pkg/admission/metrics/ in prometheus_import_allow_list
2020-04-25 22:09:28 -07:00
tanjunchen
ff8c7fda32
remove staging/src/k8s.io/apiserver/pkg/admission/metrics/ in prometheus_import_allow_list
2020-04-26 11:36:38 +08:00
Kubernetes Prow Robot
e7de96e635
Merge pull request #90493 from KnicKnic/cert_path
...
fix cert path generation in windows
2020-04-25 20:05:29 -07:00
Knic Knic
a381e1b04e
fix cert path generation in windows
2020-04-25 15:49:02 -07:00