Commit Graph

90699 Commits

Author SHA1 Message Date
Lukasz Szaszkiewicz
f83f4a873f generated 2020-04-29 11:38:45 +02:00
Lukasz Szaszkiewicz
f3a7f057c4 expose RunOnce method on RequestHeaderAuthRequest controller 2020-04-29 11:38:05 +02:00
Lukasz Szaszkiewicz
cb4b4cb5a6 provides DynamicRequestHeaderController that combines DynamicCAFromConfigMapController and RequestHeaderAuthRequestController into one controller
the unified controller will dynamically fill RequestHeaderConfig struct
2020-04-29 11:38:05 +02:00
Yecheng Fu
38c5da01ad regenerate namespace name if the name is already taken 2020-04-29 17:27:52 +08:00
Kubernetes Prow Robot
0c3c2cd6ac
Merge pull request #89660 from pjferrell/kubectl-jsonpath-nonprimitive-types
client-go/util/jsonpath: resolve #16707 by outputting json for non-primitive types
2020-04-28 22:56:25 -07:00
wccsama
7d45e12523 use sub test in gc_controller_test.go 2020-04-29 11:12:35 +08:00
Kubernetes Prow Robot
961a5ed144
Merge pull request #90380 from spiffxp/import-boss-test-files
Update import-boss files to yaml, include test files in CI job
2020-04-28 15:58:24 -07:00
Kubernetes Prow Robot
4099ad6e0d
Merge pull request #90542 from lixiang233/master
There's no need to set moveRequestCycle and do broadcast twice.
2020-04-28 12:58:25 -07:00
David Eads
d47894fbfb add prerelease lifecycle tags to discovery 2020-04-28 15:43:38 -04:00
David Eads
6b52499a86 add prerelease lifecycle tags to certificates 2020-04-28 15:34:01 -04:00
David Eads
a38d9eb4fa add api lifecycle tags to admission.k8s.io 2020-04-28 14:04:45 -04:00
Kubernetes Prow Robot
f7907083c2
Merge pull request #89160 from tedyu/symlink-first-seen
Remove potentially unhealthy symlink only for dead containers
2020-04-28 09:58:07 -07:00
David Eads
d0c555fbb4 add prerelease lifecycle tags to coordination 2020-04-28 12:54:43 -04:00
Davanum Srinivas
a7b9ba784b
Add cloudbuild.yaml for debian-base/debian-iptables and pause
Tested this locally using:
```
gcloud builds submit --config build/cloudbuild.yaml .
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-28 12:01:39 -04:00
Aaron Crickenberger
64c0c4792a cmd/api/testing no longer overrides pkg's rules 2020-04-28 08:46:49 -07:00
Aaron Crickenberger
c05629eac4 empty forbiddenPrefixes is same as not being there at all 2020-04-28 08:41:36 -07:00
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