summaryrefslogtreecommitdiffstats
path: root/recipes-containers/kubernetes
Commit message (Collapse)AuthorAgeFilesLines
* treewide: bulk update patches with status fieldBruce Ashfield2023-01-272-0/+4
| | | | | | | | | | | | | | | While the insane.bbclass upstream-status check hasn't been made default, users of meta-virtualization may have it enabled in their distros .. so the effect is the same. We must have this tracking tag in out patches. This is a bulk update to add the tag and silence the QA message. As packages get updated, the normal/routine process of checking the patches will continue, and the status fields may (or may not) get more useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: fixed typosGuenther Meyer2022-09-201-2/+2
| | | | | | | | | | After upgrading from honister to kirkstone the build always failed during the package_write_ipk step, because the package name has been overwritten because of the typo in FILES. While investigating, I discovered another typo in class-devupstream. Signed-off-by: Guenther Meyer <g.meyer@signum-media.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: fix more TMPDIR referencesBruce Ashfield2022-09-154-19/+16
| | | | | | | | | | | | | | | | | | | | | | Changing the clone location of kubernetes allows us to remove the vendor symlink "fix". This reduces the number of TMPDIR references in the binaries. kubernetes takes care of most of the rest via using asmflags and gcflags interally which specify -trimpath, but unfortunately these flags are being recorded into the binaries and leave us with 4 references to the TMDIR: -asmflags=all=-trimpath=/opt/poky/build/tmp/work/core2-64-poky-linux/kubernetes/1_v1.24.0+git8b1b4db3834ddf7cf1b97137180f413cb9e2186f-r0/git/src/github.com/kubernetes/kubernetes/_output/local/go/src/k8s.io/kubernetes -gcflags="all=-trimpath=/opt/poky/build/tmp/work/core2-64-poky-linux/kubernetes/1_v1.24.0+git8b1b4db3834ddf7cf1b97137180f413cb9e2186f-r0/git/src/github.com/kubernetes/kubernetes/_output/local/go/src/k8s.io/kubernetes -asmflags=all=-trimpath=/opt/poky/build/tmp/work/core2-64-poky-linux/kubernetes/1_v1.24.0+git8b1b4db3834ddf7cf1b97137180f413cb9e2186f-r0/git/src/github.com/kubernetes/kubernetes/_output/local/go/src/k8s.io/kubernetes -gcflags="all=-trimpath=/opt/poky/build/tmp/work/core2-64-poky-linux/kubernetes/1_v1.24.0+git8b1b4db3834ddf7cf1b97137180f413cb9e2186f-r0/git/src/github.com/kubernetes/kubernetes/_output/local/go/src/k8s.io/kubernetes We leave these for now, as attempts to remove them have broken the build, and kubernetes uses 'go install' versus 'go build' to construct the binaries .. making our normal solutions non functional. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to 1.24 releaseBruce Ashfield2022-06-033-61/+12
| | | | | | | | | | | Bumping to the 1.24 kubernetes release from May 2022. We refresh one patch, and drop another as the build race looks to be different (since it is no longer installed seperately). Otherwise the build is the same, and smoke tests have passed. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: inhibit package QA warningBruce Ashfield2022-06-031-1/+1
| | | | | | | | | | WARNING: kubernetes-1_v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0 do_package_qa: QA Issue: kubernetes-misc: ELF binary /usr/bin/kubectl-convert has relocations in .text [textrel] This textrel is acceptable, so we can inhibit the warning. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: update to 1.23.6Bruce Ashfield2022-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kubernetes to version v1.23.6-rc.0-16-gfbcfa330181, which comprises the following commits: 1e8f6d51484 Copy request in timeout handler edd7a386c61 kube-up: use registry.k8s.io for containerd-related jobs 3194c87ba25 e2e: Wait only for the service account a62ee8e5c3b e2e: Wait for kube-root-ca.crt to be created 651b1fa1cce Include pod UID in secret/configmap cache key 33d089b173c Move kubelet secret and configmap manager calls to sync_Pod functions 7f02733e4d8 test: Verify that nodes do not transition to Failed while ready 77865d3db93 test: Add E2E for job completions with cpu reservation b51d11be7a4 test: Add E2E for init container pod deletion 290cdbf8792 kubelet: Delay writing a terminal phase until the pod is terminated 914475e2e9f Update CHANGELOG/CHANGELOG-1.23.md for v1.23.5 b3b64745789 Release commit for Kubernetes v1.23.6-rc.0 c285e781331 Release commit for Kubernetes v1.23.5 01c2f1c6420 Remove apf_fd from httplog c52cd9c5920 Update Go to 1.17.8 1a897af197a cluster/gce: update konnectivity image tags to v0.0.30 d741174d7e1 bump sigs.k8s.io/apiserver-network-proxy/konnectivity-client@v0.0.30 0b8199041d1 fix dryrun when ca file exists 903f164b679 fix regression introduced by PR 100320 56bfc202e45 Add unit tests a5faf0b5ce2 Fix nodes volumesAttached status not updated 4c85abf90bb Fix default config flags 1570a75766b test/e2e/framework: include the new control plane taint 60cd43c44e0 kubelet: Clean up a static pod that has been terminated before starting 33863be9478 Add an e2e test for updating a static pod while it restarts 621894de9d6 cronjob_controllerv2: do not filter jobs to be reconciled by labels c9f904304d9 kube-proxy: fix duplicate port opening f783e573f11 increase Azure ACR credential provider timeout ba2cd0ca3db Updating EndpointSlice strategy to retain node name in topology until field is set 4e69dd88613 fix: do not return early in the node informer when there is no change of the topology label. 68ea240512a /test/e2e_kubeadm: adjust label checks for 1.23 2efffd62367 Ignore container notfound error while getPodstatuses 9f5e25033b6 Update CHANGELOG/CHANGELOG-1.23.md for v1.23.4 d4b2d8cf961 Release commit for Kubernetes v1.23.5-rc.0 e6c093d87ea Release commit for Kubernetes v1.23.4 949798fe712 Add PDB selector patch integration test 47fc5aea4a2 Revert v1beta1 PodDisruptionBudget select patchStrategy ef293a9ee95 test/e2e_kubeadm: fix matching UnversionedKubeletConfigMap defaults 799ffd58065 kubeadm: fix the bug that 'kubeadm init --dry-run --upload-certs' command failed with 'secret not found' error c465ceccb32 Update Go to 1.17.7 f0eac451011 Use serializable struct for x-kubernetes-validations in openapi 02d1a291c8b Make JSON schema round tripping test more strict 30eff360132 ignore CRI PodSandboxNetworkStatus for host network pods 34a8474e600 set secondary address on host-network pods 14c399ec5e3 Deeply copy JSONSchemaProps.XValidations. 9fe0c40c8e5 wrap error from RunCordonOrUncordon 0d487176d3a Ensure the execHostnameTest() compares hostnames 733c0ebc7c3 Revert "Fix comparison between FQDN and hostname" ebfa08cd39b service REST: Call Decorator(old) on update path 92d09f90c01 add namespace in azurefile volumeid 5830d1474ff fix: azurefile volumeid conflict in csi migration bce4e5ba5b1 Mark device as uncertain if unmount device succeeds 4b868d09c98 Update CHANGELOG/CHANGELOG-1.23.md for v1.23.3 72506a8439c Release commit for Kubernetes v1.23.4-rc.0 816c97ab8cf Release commit for Kubernetes v1.23.3 f2c6108f462 kubelet: fix podstatus not containing pod full name 398effdfe0d Fix bug with node restriction blocking pvc.status.resizestatus change 6d08a56228a Fix regression pruning array fields with x-kubernetes-preserve-unknown-fields: true 996d8fca977 Set max results if its not set 9c31df589b7 Update CHANGELOG/CHANGELOG-1.23.md for v1.23.2 918dd8343f0 Release commit for Kubernetes v1.23.3-rc.0 9d142434e3a Release commit for Kubernetes v1.23.2 4935e0a527e Update k/utils to v0.0.0-20211116205334-6203023598ed 38e9dce15f4 [go] update to Go 1.17.6 28ad5463fda fix: remove outdated ipv4 route when the corresponding node is deleted dfea07a3b04 fix: delete non existing disk issue 65b309c76d8 Revert "Automated cherry pick of #107554: Correct the feature gate string for RBD migration." 677eae51666 fix containers order after applying 89d8be52ef4 generated: ./hack/update-vendor.sh 04f3c5793c1 upgrade sigs.k8s.io/structured-merge-diff/v4 to v4.2.1 8c8fe66f7aa Execute sync before taking the snapshot 4b1d9d80da7 Correct the feature gate string for RBD migration. 50e813278cd fix: azuredisk parameter lowercase translation issue 879947434c0 removed unnecessary log line 88249a973a8 kubectl: add integration test for result reporting 16a4de9268a cli: let kubectl handle error printing c5365784330 cli: avoid logging command line errors in more cases 26dae30f913 Fix header mutation race in timeout filter 81c8d0aad93 clear pod's .status.nominatedNodeName when necessary f61c4b18c42 use node informer to check volumes attachment status before backoff f4ba875cdfd When volume is not marked in-use, do not backoff e36b9382ecd kubeadm: remove the restriction that the ca.crt can only contain one certificate f4835a2cd3e flake fix: remove the error handler for cronjob integration test 962ab763c5e Fix the leak of vSphere client sessions cc6c36f286d client-go: Clear the ResourceVersionMatch on paged list calls d42a44fcb2f Enabling kube-proxy metrics on windows kernel mode e6a8826e992 Remove JSON logging performance regression Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to v1.23.2Bruce Ashfield2022-01-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kubernetes to version v1.23.2-rc.0-26-gfa546d8cc76, which comprises the following commits: cce0b96068c fix nil pointer in create secret commands 27a66989d0f Fix order of commands in the snapshot tests for persistent volumes cc6c36f286d client-go: Clear the ResourceVersionMatch on paged list calls 271a9f0e58d Improving performance of EndpointSlice controller metrics cache 98cc4f9e96a fix the error when cleaning up jobs for cronjob 6ca361089db Update CHANGELOG to add missing release notes. 40d718778d4 apf: ensure exempt request notes the classification 77b0a633575 Update CHANGELOG/CHANGELOG-1.23.md for v1.23.1 aef116487af Release commit for Kubernetes v1.23.2-rc.0 86ec240af8c Release commit for Kubernetes v1.23.1 1292aee8707 add gce loadbalancer no-op finalizer and existingFwdRule tests 40c6f562eb3 disable gce service handling if has rbs forwarding rule 41b00595137 add ELBRbsFinalizer 036fd24b91c add gce elb rbs opt-in annotation 78e8cb0743c cherry pick of knp 0.0.27 0072226ca87 Re-introduce removed kubectl --dry-run values. c237c5c78fc Point flowcontrol users at v1beta2 c836ebae52f [go1.17] Update to go1.17.5 d065f7ffe77 dependencies: Update golang.org/x/net to v0.0.0-20211209124913-491a49abca63 ea103cb23a9 mount-utils: Detect potential stale file handle 1346242fd57 Skip creating HNS loadbalancer with empty endpoints 38a678fccfb Add regression test for CPUManager distribute NUMA algorithm 6d437c7e827 Add unit test for CPUManager distribute NUMA algorithm verifying fixes 53fd9db1629 Fix accounting bug in CPUManager distribute NUMA policy 9cb973ac5ee Fix error handling in CPUManager distribute NUMA tests 462f3c90b05 Add a sum() helper to the CPUManager cpuassignment logic 03666ecf4fc Allow the map.Values() function in the CPUManager to take a set of keys 22b6be8c2cb Fix CPUManager algo to calculate min NUMA nodes needed for distribution 471dd78f5ea Fix unit tests following bug fix in CPUManager for map functions (2/2) 1db0c5136e7 Fix unit tests following bug fix in CPUManager for map functions (1/2) 18392c0c4ca Fix bug in CPUManager map.Keys() and map.Values() implementations 4c7bcbddd62 Ensure we balance across *all* NUMA nodes in NUMA distribution algo d1248480b20 Short-circuit CPUManager distribute NUMA algo for unusable cpuGroupSize 3a9b3072612 Round the CPUManager mean and stddev calculations to the nearest 1000th 5fc309181ab updated deprecation messages from 1.23 to 1.24 f94a022c1bb kubelet: set failed phase during graceful shutdown b63d5a805b3 kubeadm: avoid requiring a CA key during kubeconfig expiration checks a18dbc12a46 kubeadm: print the CA of kubeconfig files in "check expiration" 880e0ac50f7 kubeadm: validate local etcd certficates during expiration checks f9c8af54ccb publishing-bot/doc: add component-helpers to the readme 3245fe216f2 publishing-bot/rules: remove non existing component-helpers branch 1.19 from the rules 57f88ec404e Changelog: mention kube-scheduler bits deprication f42cbbbff43 rbd: initialize ceph monitors slice with an empty value. 0a1d2914614 Direct v2betaX users to migrate to HPA v2 064a272ee03 DelegateFSGroupToCSIDriver e2e: skip tests with chgrp dd1b0a12471 Update CHANGELOG/CHANGELOG-1.23.md for v1.23.0 8aef834386e [go1.17] Update to go1.17.4 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: add sysctl.d configurationBruce Ashfield2021-12-152-1/+6
| | | | | | | | The startup of kubernetes relies on some kernel/runtime configuration. We create a sysctl.d snippet to ensure that critical ones are set when installing our packages. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: add READMEBruce Ashfield2021-12-151-0/+117
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: introduce host/controller initialization scriptBruce Ashfield2021-12-132-1/+42
| | | | | | Adding a simple helper to setup a host to the NodeReady state. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to 1.23.x seriesBruce Ashfield2021-12-102-6/+50
| | | | | | | | | | | | | Bumbing kubernetes to the latest release branch (now that our go compiler meets the minium standards). We also add a networking configuration similar to the k3s one, but named appropriately so that CNI will read and do basic configuration. We also add some missing rdepends that were preventing the controller node from fully initializing. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to v1.22.4Bruce Ashfield2021-11-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kubernetes to version v1.22.4-rc.0-26-ga82c1e72259, which comprises the following commits: a1bc265ce68 Fixed unit test SELinux support 9286d722d5e Add shortcut for SELinux detection 8ddc2963808 Don't guess SELinux support on error 24b725f29f1 Use separate pathSpec for local and remote to properly handle cleaning paths 3bf2248bda7 [go1.16] Update to go1.16.10 bd146ab0e1b Automated cherry pick of #105122: added keys for structured logging (#105137) 98ad7ac4ef4 Update debian, debian-iptables, setcap images to pick up CVE-2021-33910 fixes b9236d7cd4a Fixing how EndpointSlice Mirroring handles Service selector transitions 9e778cb6ede Fix race condition in logging when request times out dee25f4db12 Remove nodes with Cluster Autoscaler taint from LB backends. e565102bce7 Support cgroupv2 in node problem detector test 33b5f0f1eaf Update CHANGELOG/CHANGELOG-1.22.md for v1.22.3 39f5a506c81 Release commit for Kubernetes v1.22.4-rc.0 c9203682049 Release commit for Kubernetes v1.22.3 6765a52acd9 Free APF seats for watches handled by an aggregated apiserver. dd8563b0184 Run storage hostpath e2e test client pod as privileged fc580a41252 support more than 100 disk mounts on Windows 176ba1d5236 [go1.16] Update to go1.16.9 cdfd8141855 Clear initial UDP conntrack entries for loadBalancerIPs b30f24e2579 Verifying the auth headers are set for upgraded aggregated API requests 0dfe8e33143 apiserver aggregator upgrade unit test 36a9689ce81 Aggregator uses the regular transport even if the request requires upgrades 5fb05afd9f8 Fix PreferNominatedNode test 410c0413757 Remove Error Message Check Dynamic PV Tests fcb66167905 go fmt 82cd11e646e Add e2e test to verify kubelet restart behaviour 8fa5ff3712c kubelet: set terminated podWorker status for terminated pods bc392586f01 Fix quota controller hotloop in integration tests af46778d58d remove StartedPodsErrorsTotal metrice message 13d852c73dc Copy VolumeSnapshotContent annotations in snapshottable.go test ae10967d23f Fix bugs in e2e pod test 60e425c9009 Ensure terminal pods maintain terminal status c44db53f2c2 Do not sync Waiting statuses for Terminated pods 4ca2cee155c Adds CancelRequest function to CommandHeadersRoundTripper cd94fec74c9 Fixes kubectl command headers which hangs on kubectl run 60ee69c79bb Revert "Build non-static binaries with PIE buildmode" e989925e232 Ignore VMs in vmss delete backend pools 407cc91f95a Fix CSR test to accept certs shorter than the requested duration 6bf5db2e3f7 fix: skip not found nodes when reconciling LB backend address pools 3ceb7b87649 fix: consolidate logs for instance not found error e15dcbe404c Remove a duplicate StorageClass creation call 6763300949a Update Containerd version - GCE Windows a135518af00 e2e scheduling priorities: do not reference control loop variable cc1eb760389 storege e2etest: Delete restored PVC/Pod in snapshottable 614988c6626 pkg/kubelet/cm/memorymanager: Fix ErrorS key/value pair 2f850d636e8 v1.22: Fix test flake in old svc registry 20fa03d60ea 'New' Event namespace validate failed 2ff2780dcc5 kubelet: Handle UID reuse in pod worker a6539a662cd Add test for recreating a static pod 2d9957274a4 Update CHANGELOG/CHANGELOG-1.22.md for v1.22.2 9f314ed137d Release commit for Kubernetes v1.22.3-rc.0 8b5a1914753 Release commit for Kubernetes v1.22.2 4fa7cdfa93c Refine locking in API Priority and Fairness config controller b23fffb83ed kube-controller-manager: properly check generic ephemeral volume feature 38c7182897c Fix null JSON round tripping aeff924339a Propagate conversion errors a69920a9588 integration test b7854d5f1c9 fix 104329: check for headless before trying to release the ClusterIPs d8ead0e1c7b fix detach disk issue on deleting node c948d8cc53b kubelet: fix sandbox creation error suppression when pods are quickly deleted Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: convert github SRC_URIs to use https protocolBruce Ashfield2021-11-021-5/+5
| | | | | | | | | | | github is removing git:// access, and fetches will start experiencing interruptions in service, and eventually will fail completely. bitbake will also begin to warn on github src_uri's that don't use https. So we convert the meta-virt instances to use protocol=https (done using the oe-core contrib conversion script) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: add explicit branch to all SRC_URIsBruce Ashfield2021-11-021-1/+1
| | | | | | | | | | | | | | As introduced in the oe-core post: https://lists.openembedded.org/g/openembedded-core/message/157623 SRC_URIs without an explicit branch will generate warnings, and eventually be an error. We run the provided conversion script to make sure that meta-virt is ready for the change. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: add SRCREV_FORMATBruce Ashfield2021-10-191-1/+1
| | | | | | | | | | recipes that use multiple SCMs in the SRC_URI, must supply SRCREV_FORMAT or SRCPV triggers an expansion error. While this isn't fatal during the build, it can cause issues with setscene (and possibly) other tasks failing, which then leads to no sstate re-use, etc. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: introduce devupstream variantBruce Ashfield2021-10-121-1/+15
| | | | | | | | | | | | | | Introduce a devupstream variant of k8s, so we can track development while also packaging the latest released versions. We set the SRECREV to 1.23.x as it was previously, and before the go version dependency bumps to above where OE core is currently providing. We move the patches to a :append, so they can apply to both the released and devupstream versions. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: set to 1.22.3 releaseBruce Ashfield2021-10-121-3/+4
| | | | | | | | | | | | As it turns out 1.23.x won't release in time for the next meta-virt release, so we back off to the 1.22.x release branch. To avoid PV issues when the number goes backwards, we add PE = "1" to the versioning. 1.23.x will return in a devupstream format in another commit. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update sed expressionKai Kang2021-09-301-1/+1
| | | | | | | | | | It misses a backslash in sed expression and causes warning when run do_compile: | sed: -e expression #1, char 35: Unmatched ) or \) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to 1.23-alpha latestBruce Ashfield2021-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kubernetes to version v1.23.0-alpha.1-58-gf6331c74b67, which comprises the following commits: 6616655b7b6 create common interface for controllers. c1284118156 fix typo: Modify PodTrackingWithFinalizers to JobTrackingWithFinalizers 6dfae64d9be REST: Document mutable inputs on Create() 42c7e621804 Fix registry tests to look at result objects 75dea6b8bc2 Service REST: Use DeepCopy() on Create() and fix tests 322bc827771 Fix buffered signal channel go vet error 183498a410c Adds CancelRequest function to CommandHeadersRoundTripper bdedd2a4c16 apiserver: add key/value pair to httplog 3a660b72941 bump e2e loadbalancer timeouts to 15m 2c73d7834ac update vendor e1e4408ab34 allow k8s.io/utils/net imports 0cd75e8fec6 run hack/update-netparse-cve.sh e9ddac5d853 rename net.ParseCIDR on messages to avoid false positives 06f2d678eec update and verify netparse c2532351525 vendor: bump k8s.io/util to get fix for LRU cache 21491aa5a1a Bump livenessprobe to 2.4.0 in e2e hostpath driver spec 0af1c83e035 CHANGELOG: Update directory for v1.22.1 release b1a6f8cdf90 kubectl proxy: append context host path to request path 950c4dafecb CHANGELOG: Update directory for v1.23.0-alpha.1 release 3c1a3dea59c test images: Adds Windows Server 2022 to the BASEIMAGEs c3509f49f96 Update-vendor to add k8s.io/utils/strings/slices/ 25453708ea2 Remove pkg/utils/slice from kube-proxy b18d6ee61d0 Update cobra to v1.2.1 f5e97186d29 Lower requests b/c multiple containers will leave pending pods ccbdf041a2f Fix slice type comparison bug 0ba731253e0 add tkashem as a reviewer of apiserver 513b55b00d8 hostNetwork tests can't share the same port 6a6e24702c9 Update cri-tools to v1.22.0 fa9d5546cdf Upgrade the default csi-proxy version installed by kube-up.sh f9375f20584 Update kubectl GitHub support issue template 5e03a1f070e Regenerate applyconfigurations ffed59d168c Fix allowed imports for kube-openapi 0e925f266f7 Update unit tests to handle go1.17 certificate parsing error messages 72fd01095de re-order imports for kubeadm b15c2130aad Bump k8s.io/kube-openapi 7cbac6bde0f [volumeScheduling/metrics] Fix buckets initialization 76f03f000a1 Fix use variables in the loop in vsphere_util 04d83edd3c3 SCTP tests run only on 2 nodes 5b3c226c34a Add name and namespace to structuredmerge errors 00dd02f89c8 test images: Use PULL_BASE_SHA for non-git image building cdbfd009dac Mention seccomp annotation removal in v1.25 edc19b80727 fix: skip case sensitivity when checking Azure NSG rules 804ce496e32 image: Change http to https 7953cf0ce9f fix typo of rate limiter 8264dbe17d0 Add unit tests for validateStructuralInvariants 28de406a379 Allocator renames for clarity 907fceb2067 Remove unused NewContiguousAllocationMap 9c4d5b69ecf Fix storage class setup in regional_pd.go a26f7f2b58d Add non-vendor version ldflags 87a4e082aca Change defaulter-gen input to package path a619be8e48f bump gengo to include defaulter-gen package support eba9d33c3ee Fix insufficient privileges to bind to port 37e9517c2f6 Fix typo in CHANGELOG-1.22.md d2a27a58f0a Fix extra latency and add tests for that and width 29bd66d0189 Remove "pkg/controller/volume/scheduling" dependency from "pkg/scheduler/framework/plugins" 4849bdcc0a1 updating co-chairs 27f15035147 rename audit Checker interface aa9380e017a Add termination hook to the startup script - GCE Windows e36a14730bd reducing the number of containers created based on the ports used 6e3923d0a4f send retry-after until ready 096c3e8f2d2 kubeadm: further improve the dynamic version population c295a850c66 update instrumentation reviewers 593eda4ad34 Add unit tests for local volume expansion d68186452d9 apf: free seats in use after additional latency 05beda5c402 Increase time to wait for nodes to become unready 704628fde41 Update golang used in etcd image to 1.16.7 1013e000af5 code cleanup:fix spelling mistake in CHANGELOG-1.22 67e14290aae Fix build with multiple GOFLAGS 145cec925af reduce the number of containers created by 66% 8771d60e541 CHANGELOG: Update directory for v1.21.4 release 874199aff28 CHANGELOG: Update directory for v1.20.10 release c4f18223dab CHANGELOG: Update directory for v1.19.14 release c69f55519e2 Revert "E2E test for kubelet exit-on-lock-contention" 11ed96baf57 generated swagger docs dfaeacb51f9 CSIDriver: allow "StorageCapacity" to be modified ea3c7d98a5c test images: Removes Windows 1903 and 1909 images d9f22688166 test images: Adds sync.exe to Windows agnhost images 94ac8962693 test images: Simplifies the agnhost binary version 3b6cd89f016 add aojea to test OWNERS 1181421112c Update version of Cluster Autoscaler to 1.22.0 e6cb526f6bb set umask on linux and darwin when testing kubeadm copycerts ff7307bf9c2 fix single pointer variable 3af26bae2c3 Refactor defaultpreemption for out-of-tree plugins c799a37654d revert test STABLE declaration 08bec6da0fc Keep MakeMountArgSensitive and add a new signature that receives flags 83889ae5940 apiserver: refactor WithRetryAfter server filter c4ecdad5708 Copy golang license to staging copies 0379c8f96a7 Fix documented version for DisableKubeletCloudCredentialProviders feature gate 3182b69e970 apiserver: add a new mode for graceful termination e8381733068 apiserver: rename test variables f63dbd481fc Warn if docker buildx is not available 95e000fd657 support kubeadm join dry-run 1db36ae3b30 Refactor goroutine counting 75f0a94aba5 Remove 1.20.0 API test data bb08d70f403 Add 1.22 API test data 30e9a420c46 kubelet: fix sandbox creation error suppression when pods are quickly deleted 1ea65e6213c remove listx from OWNERS_ALIASES 86c6e25016a Typo in a comment. b9b76dba6ee Update the unit tests to handle mountFlags 338f8ba0bf8 Add missing interface method in mount_unsupported.go 296b30f1436 Pass additional flags to subpath mount to avoid flakes in certain conditions 3b0c8980824 Regenerate openapi f98ff655647 Drop DefaultGarbageCollectionPolicy checks for legacy apps REST API versions 97c5b8de9ae Drop legacy validation logic for CRD API e3538edc227 kubeadm: update unit tests to support dynamic version updates 207ffa7bdc6 kubeadm: dynamically populate the current/minimum k8s versions 1ceb118e3cb Drop legacy status logic for volumeattachments API c702dd43940 Drop legacy validation logic for networking API b1d344db44d Drop legacy validation logic for certificates API befffd1565e Drop legacy validation logic for admission registration 8fd371353c1 Fixes 104067; Explicitly states Docker CLI plugin buildx required for building using Docker 39a1293cbc8 Drop beta REST APIs removed in 1.22 808659cc428 pin-dependencies.sh: support switching repos 768d69a423a add 'projects/' suffix if this library is used with an older version of the google api library cdc225f2979 bandwith --> bandwidth 2c2661a4113 e2e test: lock-file and exit-on-lock-contention 5eae896d71a Remove AllowInsecureBackendProxy feature gate 4af506c9895 Add getOSInfo err info 73a5cce3e64 device manager: do not clean admitted pods from the state 93a237abd82 memory manager: do not clean admitted pods from the state 66babd1a90c cpu manager: do not clean admitted pods from the state 85d83ebd288 staging/publishing: Set go1.15 version to go1.15.15 619e38141b6 remove unnecessary waits from watch conformance test 1ce594b7ee0 Fixes flaky GKE kubectl test 80ca6a4ae6f Some cleanup of the package for event clocks dc079acc2be sched: retry unschedule pods immediately after a waiting pod's deletion 4f1b1d72e31 Update setcap image to buster-v2.0.4 cafad985366 Update debian-iptables image to buster-v1.6.6 08d8f29a7a3 Update debian-base image to buster-v1.9.0 d166cabd9e2 Add e2e for local volume expansion f9efd14d443 TAG used when building pause is configurable b98594bc793 Add ibabou to gce/windows OWNERS file d2ed3b28b79 Revert "revert Bump DynamicKubeConfig metric deprecation to 1.23 by delta update" 6b9dc099f88 [go1.16] Update to go1.16.7 296c18ec323 apf: estimate list width 7db782ee039 apimachinery: remove unused ignoredConversions map and nameFunc in converter. b66d52f6a8b make notes more easily to understand 561ce035b5b Avoid spurious calls to update/delete validation 00d89aad506 Allow a custom kube-cross image + tag to be specified c2a3b793d3e apf: use EventClock rather than a PassiveClock for queueset 023f6a90db8 Add SergeyKanzhelev to node e2e test approvers ddaa06abeea Propose myself as a reviewer for cluster/gce/gci c8431f42d9a kubeadm: Reduce the backoff time of AddMember for etcd dfde50b1856 fix unsafe json construction for digestConfigObjects. 8ed1628a6e7 Add a new webhook metric tracking request totals. 3cfe3d048ff Improve dynamic cert file change detection f9a791ff262 Remove kubectl book a947c32783e Add feature gate to disable in-tree credential providers d866272d65a Correct comment related to HugePageStorageMediumSize feature gate a04a98154e5 Remove the StartupProbe feature gate af2129b77d0 Allow override of `CGO_ENABLED=0` d9d41b70f64 Fix metrics reporting for the deprecated watch path dcb298c9552 Introduce event clocks based on k8s.io/utils/clock 2c60feffbee apiserver: add callback to get notified of object count c486b229d28 refactor(kubeadm): remove the flag --port from KCM manifest 9351b57defe Skip node e2e test for recovering from ip leak with docker ff0e1f4fe97 Add the pod field to all volumeToMount info level logs 691b45e220c Clarify ready (#103782) 9cf3ad5cffa Remove duplicate dependencies from 1.22 changelog 952aa1b2d26 add integration test for apiserver hsts ff165c88239 Replace usage of Whitelist with Allowlist within Kubelet's sysctl package (#102298) 3e44139ae46 [jobs][registry]: Warn if no propagationpolicy set 9cffbab037e Log kube-env variables from startup script a7834389b44 check APIStatus.Code in Is* family of functions 5d84ffa6c26 Update configure-helper.sh b0039559ddf Update configure-helper.sh 572a24d854e add a keepalive time to the konnectivity server 0376c58c44d Update configure-helper.sh ab595f37d25 CHANGELOG: Update directory for v1.22.0 release 8cf10d9a200 set showHiddenMetricsForVersion=1.22 in dynamicKubeletConfiguration test 9d30eb88dfd retry apiserver errors on e2e service tests ea1bc18bc17 Use docker buildx for etcd image ee7562a2f8a add clusterIP allocator metrics 94a58a3b146 remove GAed feature gates sysctls ac076838c81 Add ehashman to node e2e test approvers 3463c2dfa97 Skip NVidia GPU test in node e2e CI jobs for containerd and other runtimes 4efc9a95695 Fix zone calculation - consider only untainted nodes c8208247113 Add pod context to volume lifecycle logs c35502ad4bd Remove AUFSUmountHung from NPD test dab19517e5a Explicitly restart kubelet to stabilize serial-containerd job 980cf854397 revert Bump DynamicKubeConfig metric deprecation to 1.23 by delta update 72223406ac6 Remove stray DNS port references in NetPol tests b7ea7a7766b kubeadm: disallow the mixture of --config and --patches 375ef778c4b kubeadm: remove deprecated --experimental-patches 34f49596332 replace e2e WaitForPodsReady by WaitTimeoutForPodReadyInNamespace 7e2d6301bf9 [k8s.io/kubectl/pkg/drain/drain]: minor typo fixup 1a3eda9394b fix: 81134: display conflicted taint without a json representation. a77f4f4c29b Log e2e-node kubelet output directly to file 163e4974b63 e2e node server: fix crash in log line 1a87ae19a62 Revert "Add a namespace label to admission metrics and expand histogram range to 0-10s" 09dc055984e Update golang.org/x/time/rate (#104014) a2a22903bc0 delete stale UDP conntrack entries for loadbalancer IPs 2635415482b fix error variable name 9f735e71bbb Simplify APF promise to what is really used in the code 9cee586ee98 apiserver: avoid repeated loading context for requestInfo in Namer.Name c406f2edab6 Fix: ignore not a VMSS error for VMAS nodes in reconcileBackendPools f720c4fd44b hack/verify fixes ecb38137269 Update component-base OWNERS to include SIG-Architecture fec260d083f Add release note block to cherry-pick script 260b5ef1554 fixing scripts from https://github.com/google/protobuf/releases to https://github.com/protocolbuffers/protobuf/releases 59a7cc12c9f Mark failing node serial tests as flaky b5f24c334e4 Bump DynamicKubeConfig metric deprecation to 1.23 a1cf44eab44 Remove unused promise code from APF 05cfbecab99 test images: Adds image labels by default bbb368b7012 Update e2e test images url 4549573a447 minor cleanups ca90849724e add kube-openapi/pkg/schemaconv to kubeadm import-restrictions 4606ebe423a update node-problem-detector v0.8.9 99bc2b077fd Added support for multiple --from-env flags 4edb6e01bed Add kube-openapi to client-go import restrictions df1d9380fbd Fixes (temporarily) curl piped to shell security vulnerability 3628065b455 fix boilerplate and staticcheck 85bc3c4f857 fix vendor 49c86bde556 fix extract_test af11c4ac9be remove apiserver impor from client-go 93ef5acb35f Fix kubectl version unit test a4dfe406507 Start the informerFactory in the ControllerContext db48793269e Set idle and readheader timeouts f1e1f3a416b Fix disruptive subPath test failures 363d47c08c8 staging/publishing: fix rules for legacy-cloud-providers for 1.22 d38c2df2c4b client-go: deltaFIFO trace slow handlers 55765f1b49e sched: support HistogramVec in scheduler performance test 479e2ae307c wrap extractor errors 7bfc420351f simplify test to only test the new logic of extractUnstructured 1122091b065 Revert caching in favor of simple ttl 53582a0104f remove commented out code c9e97de46bb Address PR feedback around gvk parser generation ergonomics 9b9925f56db Restructure caching logic 7cb18e84f13 comments f6ce385e444 remove test script 604db6eb2ad rename cache, add to integration test 235a57a29e5 Add HasOpenAPISchemaChanged to DiscoveryInterface 7b9757faa49 basic caching working dda31bbf2e7 Manually set GVK in extract, add commentary to extractor 9f4a4d812d2 Write TestUnstructuredExtract 6e481c5db19 Initial UnstructuredExtract without caching b15ed04c9dc Allow non-subsetting ILBs to update when the feature is enabled. 2ad2bc68443 kubectl: Add labels to ingress describe 004e4414839 refactored master to controlplane 00080d400fe Allow customizing spam filtering in event client library 822eb29b6f3 client-go/events: avoid referencing a nil related object 1555877cc5d fix data race for Test_Run_Positive_VolumeMountControllerAttachEnabledRace 8dc091ef2e2 Fix wrong log ae7b9787ee7 cleanup description on deprecated include-uninitialized flag dc9eb82e0aa Fix NPE in test/e2e/framework/providers/azure 7fa0b9b6c10 add --concurrent-ephemeralvolume-syncs flag for kube-controller-manager 93146048b4c Mark "update Node.Spec.ConfigSource" node e2es as slow 4115bef8268 Update references to test/conformance/image 024930df119 Move cluster/images/conformance to test/conformance/image 3520e8b3393 Fix a typo in comment 75f0007d2bc Overlaid OS's environment variables with the ones specified in the CredentialProviderConfig 00e31ce565a Fix incorrect comments in scheduler_queue.go fef5c0c1a63 Improve storage test skipping pattern. 523b4c0918f Replace 'x.Sub(time.Now())' with 'time.Until(x)' 326471d8806 k8s.io/code-generator: Change BoilerplatePath() to locate file or require explicit flag 2cacfada265 Update Containerd version - GCE Windows 45cf1697ba0 Changed flag name underscore warning to avoid recommending potentially invalid flag name 97ba475941f add new metric 94977dce8d1 Update doc description for --audit-log-maxbackup 971e0c4400c Fix a typo in comment f174307e494 k8s.io/code-generator: Enable generate-* scripts usage as module deps 8ad83fd685f Make crictl tests host local 80e4007bc3b test: e2e: HPA ContainerResource 5be47eaf275 kubeadm: update references to legacy artifacts locations e2b6816953c Deprecate apiserver_longrunning_guage and apiserver_registered_watchers 019e8f71b6a refactor: normalizing URL string locally and move out from purell package 38239d3025d migrate cmd/kube-proxy/app logs to structured logging dd2c3830600 decouple timeBudget from real clock 66803689585 Add: specify that reason is a field to record the reason why failed 6490fcc5bbc setting the status to fix on the known issue 9f09064104e feat: Provide IPv6 support for internal load balancer 51e4694cd66 fix typo scheduling queue to active queue ef181c14e12 Provide reference to impersonation options for kubectl auth can-i command. b09bbd808ae testing patches. add k8s.io/staging, remove local home 6d988acb558 Ignore 'wait: no child processes' error when calling mount/umount d05b232afc8 optimize the code 5fdfe872d61 e2e: update makefile example for building images ac09f7a8bd3 TODO comment should have been removed with #2912, the restartCount docs wasn't updated as part of #6794. 318b9a95786 remove superfluous [Feature:SCTP] tag in some test names 50b3cbe9990 e2e: remove unused sync.WaitGroup 9d405710fe7 e2e: remove runKubernetesServiceTestContainer 5347f67e35b Using full url format as runtime endpoint d9b8c5f992c add deprecation for Azure Disk Kind in csi migration baf0bf831d1 Fix typo in comment in endpoints_controller f0b34bd24a7 Pass unknown labels in allowedTopologies during CSI translation 4101c8b3cb3 Set out.TargetCPUUtilizationPercentage correctly when converting autoscaling_HorizontalPodAutoscalerSpec to v1_HorizontalPodAutoscalerSpec 1980b18c458 Solved the test problem and added update comment d1e9da9f8a0 update comment with EnqueueExtensions 5f0925a2941 Flake #99979 increase delay for ready state propagation 1887ddfc968 Make --configure-cloud-routes configurable in local-up-cluster 169583bf4ed tests for path resolver, add KUBE_ROOT to both top level func calls 2d3323d1fb4 try to fix the in_tree_volumes cases: refactor the projectBasePath logic 82728b5f71d Add integration tests for updating Job parallelism 7911a08fb31 Remove ServiceAccountIssuerDiscovery feature gate e75f3fb563e add happy path tests for two types of imports d3aabe23974 fix existing unit tests 585ce7f04dd missed a paren bde2ef2a1a0 review comments 60d446fe3db Drop end of sunrpc port range to avoid port conflicts. c79a0a08828 Get rid of unused flowSchemaRVs in P&F 73211256e8f Rename width to workEstimate in P&F code 2b03c771895 e2e: fix NFS options test for IPv6 d02568aab52 client-go/tools: update events version in doc 7a36a5b827e fix test failures in legacy cloud provider: add 'projects/' after upgrade ef3c344868d seems to work, needs tests and a lot of cleanup 2bc5ff6ab34 Set EC2 instance cache max age to 10 mins 2926b4572e6 upgrade google.golang.org/api to v0.45.0 18d583653c6 upgrade github.com/prometheus/common to v0.28.0 abd8acc2599 fix exec failure for gomock finish calling 6c87c222771 Add structured logging for more steps a9b7dcc8c21 kubelet: update remote runtimes for cri stat changes 2dc2b1e239d CRI: add fields for pod level stats to satisfy the /stats/summary API a9a3c4bb9aa Refactor of TestValidateIngressClass and TestValidateIngressClassUpdate methods by adding Boilerplate in helper functions #FIXES: 99005 bf9f3dc7b3d deprecate unused option deployment-controller-sync-period for deployment controller 927d0c39322 cleanup: Removes GcrRelease and SampleRegistry from manifest.go abf735daa83 remove stack trace log when sorting with a bad unsortable field 18955db4161 fix azure disk translation issue 5d80d6e7c3d Make cpu request of kube proxy configurable by env variable. de442ef8604 Retry hostname->IP: [Errno -2] Name or service not known 03f9f75e880 fix typo for daemon_controller_test.go f2eec0a8167 ResourceConfigForPod: check initContainers as other QoS func a7c48e97076 images: Removes OS Version workaround for manifest list images 97bcfbd674b Allow the actual inhibit delay to be greater than the expected inhibit delay d9be5abc378 kubelet: add shutdown events 0839c00b76b Increase pressure timout on DiskPressure test 992993257d8 Removed usage of github.com/pkg/errors 8eee78a61f0 Update github.com/pkg/errors to go native errors pkg 7b98a0770fe remove not used IsStaticPod, prevent possible panic f9e4a015e22 tests: Spawn poststart / prestop pods on the same node as the http pod e2477171ca2 Ensure images are pulled after eviction tests a93ad421ee9 Return StatusError 404 in fake client when resource is not found a0e8a98bcb6 Add support for expanding local volumes c882437f220 e2e test: bump ProgressDeadlineSeconds in Deployment iterative rollouts 9d636fea046 e2e test: fix Pause in Deployment iterative rollouts a1e56b4f6d1 Update the typo in values of pods in performance-config.yaml 5b426818404 Correctly drain timer 6a0452e861e cleanup: fix errors ending with punctuation in proxy 82402c5af0c Omit redundant nil check in type assertion 68ec18a050d code-generator/register-gen: groupName can't use '// +groupName=somegroup ' to override 1dc4a29a1ae fix typo in retry doc 7aab5df381f use already defined variable 72271dcc9c5 Fix error path in file /verify-prerelease-lifecycle-tags.sh. 82a9fb9d0ec subatomic: Creates the symlinks to user-visible files later Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: overrides syntax conversionBruce Ashfield2021-08-021-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OEcore/bitbake are moving to use the clearer ":" as an overrides separator. This is pass one of updating the meta-virt recipes to use that syntax. This has only been minimally build/runtime tested, more changes will be required for missed overrides, or incorrect conversions Note: A recent bitbake is required: commit 75fad23fc06c008a03414a1fc288a8614c6af9ca Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Jul 18 12:59:15 2021 +0100 bitbake: data_smart/parse: Allow ':' characters in variable/function names It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: update to v1.12.0-alphaBruce Ashfield2021-07-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kubernetes to version v1.23.0-alpha.0-33-gd9d4f0c69cb, which comprises the following commits: 363d47c08c8 staging/publishing: fix rules for legacy-cloud-providers for 1.22 6d1556df7bb Update to using apiserver-network-proxy v1.22 7728428f017 Do not try to create an audit log file named "-" 77afa53f9d3 Add e2e testing manifest bundle to e2e_node test suite 0cce9a4a6c6 Remove conformance status from a sysctl test and relabel 0aa16fae5b8 staging/publishing: add release-1.22 rules 3af4fe8c9b6 Use pointer gomega comparison for UsageNanoCores 2a4a1c1d005 disable aufs module 0610968bfaa bump metrics-server to 0.5.0 c5aead020b6 cluster: fix CI metrics-server deployment 9103b7187c9 Fetch metrics from controller manager & scheduler no run once 236e72cf8a9 Make CSR cleaner tolerate objects with invalid status.certificate c1bac408803 Fix SIG Node SSH e2e test 33feaee2c2d Fix windows storage tests fac3dd6914f CHANGELOG: Update directory for v1.22.0-rc.0 release 59c0523bca0 Using ServiceIPs instead of DNS names in the NetworkPolicy Probes + adding Interface decoupling (#102354) 536cf819747 Add konnectivity agent to log dump d7ee024cc5d kubelet: Make condition processing in one spot c2a6d07b8f0 kubelet: Avoid allocating multiple times during status 9efd40d72ad kubelet: Preserve reason/message when phase changes 9d0b32858a5 update cos 85 version to latest. e5b434e990d kubelet/cm: don't set Devices eb5df869baa vendor: bump runc to 1.0.1 aeb82243fc8 Revert "tests for statefulset PersistentVolumeClaimDeletePolicy api change" faed88bb720 Add additional APF test for handling other panic types ef435b85b47 Optimize APF support for watch initialization to fix the pod startup time regression. 1f2902a336c Fix panic in master upgrade tests e5a1f86e0ac add apiserver tracing integration test, and fix endpoint validation 10a3cc815be Revert "statefulset PersistentVolumeClaimDeletePolicy api change" fb5b966a88a Revert "Add StatefulSetAutoDeletePVC feature gate" 0d1aa3a1b87 CHANGELOG: Update directory for v1.21.3 release 1e5ba82fd0b CHANGELOG: Update directory for v1.20.9 release fc6a5be694a CHANGELOG: Update directory for v1.19.13 release be34dc95b5d Remove E2E test for NodePreferAvoidPods scheduling Score a2ea04bab3e tests: Updates cuda-vector-add:1.0 image to the promoted registry a3b6f0557d2 device-plugins: replace gcr.io/gke-release to use the community registry f5bc129a991 CHANGELOG: Update directory for v1.22.0-beta.2 release a6ac42082b4 client-go exec: fix metrics related to plugin not found 5e1b5ec398c Revert counting deleted pods as failures for Job 75748c185ea enable verify-golangci-lint.sh 07332ad3985 fix ineffassign and varcheck 26cc8e40a8f fix deadcode issues b74fe232e34 update golangci-lint to newer version 416efdab26a Remove Endpoints write access from aggregated edit role 6c61ee51b90 Revert granting EndpointSlice write access to edit role de9cdab5ae3 kubelet: Prevent runtime-only pods from going into terminated phase aaa7de0ac67 Update API description for probe.terminationGracePeriodSeconds bf2ae14501e Move feature flag to beta (but leave as false) and remove the feature flag from Kubelet 83f8d1ad72d [go1.16] Update to go1.16.6 65618bfd696 Add sync reconstructed volume from desired state of world for volumemanager 9fa641b9add test/integration/endpoints: check for pod existencen in TestEndpointWithTerminatingPod 1280a365e4a Revert "use PermitWithoutStream=true for etcd: send pings even without active stream" bc475373b24 Drop direct dependency on gotest.tools 32783f75684 PodSecurity: Initial webhook implementation 2878e472ad7 test/integration/endpoints: improve docs for TestEndpointWithTerminatingPod 0aa1b3b0bfc test/integration/endpoints: add a test to ensure Endpoints does not include terminating pods 642eff0c69d Rename NodeSwapEnabled flag to NodeSwap d1ef44242a3 Make khenidak a sig-net approver c2aaf0667fd PodSecurity: make integration tests run sparsely 9dd59017c4c add tracing to webhook requests 581b088f760 integration test: provide a timeout for /health a570008cbd6 apf: fix virtual clock 5918869ed6c Revert 103327: "kube-scheduler: ensure the default config output of --write-to-config is usable" 1727cea64c1 Fix index out of range if multiple default plugins are overridden b14c10ae301 create LeaderMigrationConfiguration v1beta1 40b2155ddb7 promote ControllerManagerLeaderMigration to beta. 995278c9fbb add ControllerManagerLeaderMigration as beta 513bd93f76d update test for feature gate 412962204ff Fix the code is leaking the defaulting between unrelated pod instances 2b88dc381e1 [PodSecurity] Add test coverage for pod-template-containing objects 0fa01c371c9 Mark volume mount as uncertain in case of volume expansion fails fd0db61d6c3 test/intergration/endpointslice: add tests for endpointslice terminating condition 826a5219dac promote EndpointSliceTerminatingCondition to Beta a2fb8b00392 smtalign: e2e: add tests 23abdab2b77 smtalign: propagate policy options to policies 6dcec345dfb smtalign: cm: factor out admission response c5cb263dcf2 smtalign: propagate policy options to cpumanager 6dccad45b4f smtalign: add auto generated code cc76a756e40 smtalign: add cpu-manager-policy-options flag in Kubelet 649b87aaf85 prevent mutation of deletion options during delete collection d95b14e1abf Revert "apiserver: add callback to get notified of object count" d5d9327351d Only use dualstack if the node and config supports it 8e2b728c68a Explicitly skip host file mounting for windows 2dd26221881 Track Job Pods completion in status 7da1a0b2304 update the help text of KubeletConfig following the DynamicKubletConfig feature deprecation 41c5bca3496 kubectl: update set command description to include cronjob resource (#102503) bb56a0bd048 Add Job.status.uncountedPodUIDs 418fa71b6b1 Simplify use of the fake dynamic client 62d7a417fa6 CHANGELOG: Update directory for v1.22.0-beta.1 release 40f1db8d2d4 update license gathering script for forked code 79e230ea212 fix kubelet panic when DynamicKubeletConfig enabled b6b3a692843 Don't set sysctl net.ipv4.vs.conn_reuse_mode for kernels >=5.9 369c4a2b98b Use cmp.Diff() replace reflect and diagnosis 7f9d2eda828 limit warnings to requests that would otherwise succeed, reformat warning message 36907db929e PodSecurity: Drop field path from container visitor 78953990777 PodSecurity: seLinuxOptions: regenerate files d5419707516 PodSecurity: seLinuxOptions: cleanup 19c8ab297c0 PodSecurity: sysctls: cleanup e178695c25b PodSecurity: seccompProfile_baseline: regenerate files bebf6129672 PodSecurity: seccompProfile_baseline: cleanup 2af08d1a5a0 PodSecurity: seccompProfile_restricted: regenerate files 88a12412998 PodSecurity: seccompProfile_restricted: cleanup 43146d4377f PodSecurity: runAsNonRoot: regenerate files 5fc06591a2c PodSecurity: runAsNonRoot: cleanup edb7cdb02aa PodSecurity: restrictedVolumes: regenerate files 676240a342a PodSecurity: restrictedVolumes: cleanup 4a69c579923 PodSecurity: procMount: cleanup f9b8dfd0e69 PodSecurity: privileged: cleanup 7c704674003 PodSecurity: windowsHostProcess: regenerate files 9dce1d6a493 PodSecurity: windowsHostProcess: cleanup 45485bb7aea PodSecurity: hostPorts: cleanup f709cf05f41 PodSecurity: hostPathVolumes: regenerate files a39c448684a PodSecurity: hostPathVolumes: cleanup 826c57701c7 PodSecurity: hostNamespaces: cleanup 62b71175e74 PodSecurity: restricted capabilities: regenerate files f10dfc6e304 PodSecurity: restricted capabilities: cleanup bd4dc42a72e PodSecurity: baseline capabilities: regenerate files 809abf4f5b9 PodSecurity: baseline capabilities: cleanup b390e9e32dd PodSecurity: appArmorProfile: cleanup 8291f8490b9 PodSecurity: allowPrivilegeEscalation: regenerate files 1e2886341a6 PodSecurity: allowPrivilegeEscalation: cleanup 648b970718e PodSecurity: add message helper 92541f46e6b Restore ability to print long strings 5d80665b0a6 Fix dbus config path for GracefulNodeShutdown e2e 6c72fbaa899 update vendor after switch 79d0c6cdc10 switch from golang-lru to the one in k8s.io/utils 3a221b33324 update to new k8s.io/utils a3f57886a26 fix CleanScope so we can resolve correct verb for apiserver_request_terminations_total a6b30e96294 podsecurity: added ValidatePodSecurityConfiguration c3d9b10ca83 feature: support Memory QoS for cgroups v2 80dda49ce22 Service: Fix semantics for Update wrt allocations 6cf3e36c370 kubeadm: statically default the "from cluster" InitConfiguration 0a42f7b9890 Graduate EndpointSliceProxying and WindowsEndpointSliceProxying Gates 1dfacd3c702 PodSecurity: use code/reason/details from admission library fb9cafc99be sched: provide an option for plugin developers to move pods to activeQ 9bd857ca047 Truncate endpoints over a 1000 addresses d9e3fbff949 apf: fix bootstrap ensurer log message bb3fe633b47 add test for triggering race condition 33e6ebc8f8d update translations ab1807f2bcb copy podStatus.ContainerStatuses before sorting it 1e0f695afa9 fix translations location in update-translations.sh 6408f3dffc0 Update generated files 250f47a45c5 Rename to capabilities_restricted 08608a24f14 Update dropCapabilities check/fixtures ce257266aa7 client-go: copying object to fix data race (#103148) 2c116055f7e [disruptioncontroller] Don't error for unmanaged pods a8793dcb3e2 Implement check_dropAllCapabilities.go and test/fixtures_dropAllCapabilities.go 3fadea4ea2e Bump version of Addon Resizer used by Metrics Server 6b736f34848 Minor adjustments to descriptions and example text cea1dcfeed2 Add watch tracker to APF for request cost estimation 2df05df6982 Avoid code duplication in watchcache 96406b915d3 Clean up the remaining master names in test/integration 7f1c4977d7a Refinements to pick queue logic in P&F 26e83ac4d43 kubelet: ignore /dev/kmsg error when running in userns 192790c52fe kube-proxy: allow running in userns dbe01551397 kubelet/cm: ignore sysctl error when running in userns b16323e37ce New feature gate: KubeletInUserNamespace af19d7f415d fix delete nil pointer panic d8fe255f413 Add test for validateProbe e378600c90d Add validation for Prober TerminationGracePeriodSeconds 1ff5ae2cb5f Regenerate 20de04d6c30 Update API documents 00dba76918e Add DataSourceRef field to PVC spec 5b787aa1843 Clean up testing of AllocateLoadBalancerNodePorts eae4a19bd35 Fix small bug with AllocateLoadBalancerNodePorts 3eadd1a9ead Keep pod worker running until pod is truly complete 68dadd40d63 Fix pkg/api/pod/util tests to ensure feature gate is set adcfcfa2e78 add yaml separator validation and avoid silent ignoration 04d59ff2df3 test/e2e/network: add Service internalTrafficPolicy test for pod (w/ host network) -> pod (w/ host network) 9977ea371b1 test/e2e/network: add Service internalTrafficPolicy test for pod -> pod (w/ host network) 025c95a778b test/e2e/network: add Service internalTrafficPolicy test pod (w/ host network) -> pod f6bc5d01402 test/e2e/network: add Service internalTrafficPolicy test pod to pod 2d0f99fba18 Fix resource metrics e2e test 28152a26fee fix: return empty VMAS name if using standalone VM ad8275f294f Added unit tests for ExpandPathsToFileVisitors dffc2a60a28 deprecate and disable by default DynamicKubeletConfig feature flag 68ccb8a9477 Use system-validators v1.5.0 b1f34ea205f add RetryOnConflict to pod status updates 6d4096cc69a Upgrade kustomize-in-kubectl to v4.2.0 a46b42a92b8 Manually update kustomize attachment points. 212ce7c2871 Shorten test time a42c066af70 Fix Data Race in nodeshutdown restart c69ad8c57a3 e2e: increase readiness gate timeout 71f810bb71e Add distributed tracing to the etcd client babebf76d39 Apply PSP container tests to EphemeralContainers aff49ca6846 Generated code for securityContext in EphemeralContainers 70765fa24d5 Allow securityContext in EphemeralContainers ebe550bd488 Upgrade etcd to 3.5.0 7839668877e GCE Windows: Set TCP/IP parameters to keep idle connections alive on GCE. 30d2ad576ac Remove ManagedPod,ManagedContainer metrics 1c8675fc02f Ensure node e2e apiserver and test suite can open enough files c4e644406ed test images: Adds windows-nanoserver image d5cb5065c46 Skip node container manager test on systemd 03d60a89a0c Add build instruction for buildx CLI plugin 82e4ab5ec62 Improve slice allocation in LabelSelectorAsSelector 19c23949154 Add benchmark for LabelSelectorAsSelector 3f0b64ec959 kubectl: show consistent unit format in quota describe 0a83041d4d3 remove Factory that not used 9e372bffeff e2e: test SSH port on NodeSSHHosts c12aa0f6b75 promote HugePageStorageMediumSize to GA 849dbe034b3 use PermitWithoutStream=true for etcd: send pings even without active streams 29178fff1c9 Add kubelet managed pod metrics b42c1a3e474 test images: Adds cuda-vector-add-old image a70323d6320 Updating OWNERS_ALIASES for SIG-Windows Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: update to 1.22-betaBruce Ashfield2021-07-082-39/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to 1.22-beta. We drop our bindata patch, since the generated bindata is no longer used. The following commits are part of this update: 9e87082b85f [Pod Security] Baseline + restricted policy checks for seccomp (#103341) a7469cf6804 sort and filter exposed Pod IPs cf6ba6096f9 Move pod-security-admission to an external Attributes interface 6bfaeaf9165 Deprecate azure and gcp in-tree auth plugins 55847256058 Explicitly set LimitedSwap case with fallthrough 0ecc7ba311a Update the logic to pick the best queue in P&F 4c9c761bbb2 instantiates scheduler ComponentConfig after parsing feature gates 74f5ed6b172 This introduces an Impersonate-Uid header to server side code. 2220fc61496 PodSecurity: clean up unnecessary passing fixtures ea54b1b152c PodSecurity: Make check-specific passing fixtures optional 9a5237ca63a Custom plugin config should take precedence over default plugin config 823a0f101ac Don't return in api validation 4b9230ed27f Promote LogarithmicScaleDown to beta 24e19229101 apf: add additional latency into width 20e1c4d7548 exec credential provider: update tests+metadata for v1 04d59ff2df3 test/e2e/network: add Service internalTrafficPolicy test for pod (w/ host network) -> pod (w/ host network) 9977ea371b1 test/e2e/network: add Service internalTrafficPolicy test for pod -> pod (w/ host network) 025c95a778b test/e2e/network: add Service internalTrafficPolicy test pod (w/ host network) -> pod f6bc5d01402 test/e2e/network: add Service internalTrafficPolicy test pod to pod 28f3f365057 Promote the ServiceInternalTrafficPolicy field to Beta and on by default (#103462) d0c422fd9c8 Hide long and multiline strings when printing edbaf9d5d36 test/integration/quota: poll for ResourceQuota used status in TestQuotaLimitService caf42fde430 test/integration/quota: refactor Service forbidden check into helper function 54bc1babe16 test/integration/quota: update TestQuotaLimitService to explicitly check for Forbidden status when quota limit is exceeded 87cef2ca736 test/integration/quota: deflake TestQuotaLimitService by collapsing test cases and adding a short delay for resource quota to propagate a85f3e4cce6 Fix(test/integration/util): fix typo on logging message a2c1b284da2 update url 1002b0d163d apiserver: add callback to get notified of object count b6b1674f560 Switch to the version instead of the `latest` 194ed1408dd update translations 66dbfbce105 update-translations.sh: add fix translations option (-k) 079d8aeb1e4 fix update-translations.sh 06124c1d1c6 Add backwards compatibility for kubectl debug f01d251e38c kubeadm: statically default ImagePullPolicy in v1beta3 bb6d5b1f95a memory manager: provide unittests for init containers re-use 960da7895cc memory manager: remove init containers once app container started b965502c495 memory manager: re-use the memory allocated for init containers 94414bea475 kubeadm: fix godoc formatting for v1beta3 61d88af9e40 Revert "Update runc to 1.0.0" 5ea9460234a Readable error message on the plugin configs of the removed plugins 2069ff9efcd fix compatibiltiy_test failures 1f24a198e76 reduce cpu usage of kube-proxy with iptables mode 29814890f6a fix compatibiltiy test f1f0183d2bb refactored extenders from scheduler/core to scheduler 570365178a8 merge packages of scheduler/core and scheduler 26f223fa6ed Bump `distroless/base` image to latest version 772344aef22 kubeadm: fix nil pointer in Cfg() feature gate checking c2a8cd359f1 re-order the imports in kubeadm c50b3074fe8 Moved VOLUME_MOUNT_GROUP capability check from NodeStageVolume to MountDevice; added log message in SetupAt to indicate FSGroup is delegated to driver 794a925a85f Pass FsGroup to NodeStageVolume 0e315355dfc Pass FsGroup to MountDevice ae5668edefd Pass FsGroup to NodePublishVolume 65db13a3a5f Combine capability check implementations 99700f7faff feature gate c24dfe528a0 cluster,hack: Use community infra GCS bucket for retrieving CI builds 1ae9b8f04dc Update kernel components to run as non-root in kubeadm. 83ee392ed42 implement EnqueueExtensions interface in volumebinding c96c809539f Add integration test for LB node port control c8bc4202454 Fix the beta release version. 79b6df96fc6 Add tests for LB type service 24592ca9890 Update the related tests 05c6eaf0d16 promote ServiceLBNodePortControl to beta 8972efc65fe change tracing service from kube-apiserver to apiserver 58b91ffca9e adds HasBeenReady signal that fires when the readyz endpoint succeeds ca108d109d5 readyz signals when the handler succeeds for the first time. 968185e1f7c Warn user for runtime support of debug targeting 6d6d200c3a7 dry-run can work when using an external ca 6c88a62cb4c remove logging from the Signal method dae08bc3a73 rename terminationSignals to lifecycleSignals c91496dda04 cluster: enable debug handlers on GCE master nodes 2b84b49ea98 Service REST test: Remove pointless cleanup ca708fa9ac3 Service REST test: Fix some names 54b6a416fba Service REST test: better IP and port alloc checks 8d49502fcd4 csr: update e2e conformance test with expirationSeconds usage 29b3fa78263 Generated cd91e59f7c3 csr: add expirationSeconds field to control cert lifetime 0a38b2804d9 add deprecated message for igonre-errors flag, and fix unsafety http link 43b13840db5 Service REST test: remove obscure const 44eb475b101 Service REST test: remove unused return value d6208606f33 Service REST test: remove pointless scaffolding 48e591eba23 Service REST test: remove obsolete setup param a3b05033f66 Move endpoints test-helper funcs to a package 012bfaf98d3 Service REST test: remove last use of "inner" 22ed090e734 Service REST test: mostly remove tests of "inner" 7e8882d189f Service REST test: Remove pointless scaffolding 175f4f33873 Move service test-helper funcs to a package b1fcbab8014 Service REST test: helper funcs for ports, too 5f65ba7d766 Service REST test: Use helper funcs to streamline d64bb1b29ed Service REST test: always check errors d3a0332b6cd Service REST test: remove unused fields 292b1444ebf Remove bad test for AllocateLoadBalancerNodePorts 0bb280044ec Fix typo in IP allocator error 5970c4671cc Add an IPFamily() method to ipallocator 89b633d3532 Fix doc comment 13a1804a5f5 podsecurity: add restricted volume type check 622f69bf8d4 kubeadm: update v1beta3's godoc changelog 11d444b00e0 kubeadm: remove versioned copies of the bootstrap token API and utils 14fa296bb38 kubeadm: use the bootstraptoken/v1 API across the code base 5b7bda90c03 kubeadm: introduce apis/bootstraptoken/v1 1cfbb0aa25b remove webhook.go to revert changes to conformance test ac4bb885be8 hostProcess test fixture data 49d31c45b12 PodSecurity: baseline hostProcess check 80494481135 [PodSecurity] baseline - apparmor Implement the "AppArmor" check from https://kubernetes.io/docs/concepts/security/pod-security-standards/#baseline b0ffaa93f5c move tracing instantiation further up, and check for nil f0ffba75ad5 Add baseline check for procMount type 210c610d662 make sure to split NPD hashes by architecture when upgrading to 0.8.9 db3534dd648 master too main cleanup e2e1c94f063 use native error instead of github.com/pkg/errors 2cab85a4034 Mark net.ipv4.ip_unprivileged_port_start as a safe sysctl ba6b4c5a18c PodSecurity: test GA-only cases and alpha/beta fields separately e87016cf941 PodSecurity: add ability to skip failure cases if relevant features are disabled b522e95aaeb Prioritizing nodes based on volume capacity: API changes 03b7a699c24 Kubeproxy uses V1 EndpointSlice ab5b77944ec kubelet/cm: don't set Devices 4e7cf5413d5 vendor: bump runc to 1.0.0 pre 67bc23411b6 [storage] [test] Ensure proper resource creation 5bd3334ad69 [PodSecurity] Add privileged containers baseline check b790cf388ce Bump SMD to v4.1.2 to pick up #102749 fix 1c39cf23652 Fix incorrect user and group for kube-scheduler when it is running as non-root. 7ad44d04fce Enforce ReadWriteOncePod access mode during scheduling d57e143277e [PodSecurity] Implement host ports check 9c150b0f22f Error string should not be capitalized or end with punctuation. 584eb5e947f Update local-cluster-up.sh to auto-detect darwin and skip kubelet and kube-proxy 1ac0e018d5b [PodSecurity] Implement sysctls check 4a2aef00d6d adds metrics for authorization webhook 6c86c34457e kube-scheduler: ensure the default config output of --write-to-config is usable 1441a330300 hostPath baseline check for Pod Security Standards 1fa673c15c9 Extent the `NodeResourcesBalancedAllocation` plugin to cover more resources 71cb2d71a87 podsecurity: add baseline hostNamespace check da4aaf81cdd Error should be checked first, then go to other steps. c1d5a3a99e1 Update golang.org/x/net to v0.0.0-20210520170846-37e1c6afe023 03f85e9ade8 Update NPD release version and include windows defender config 5c00024c70b kubeadm: fix wrong check for keys/certs during "download-certs" f0d917a3caa add fuzzer patch to fix tests 39f32d7286a Ensure MemorySwapConfig can't be set without feature flag d4041cb80f9 Add generated files for swap API changes d3fd1362ca1 Rename NoSwap to LimitedSwap as workloads may still swap 0deef4610e8 Set MemorySwapLimitInBytes for CRI when NodeSwapEnabled 7342acb0b83 Add validation for KubeletConfig MemorySwap 7d50271d217 Update CRI with memory_swap_limit_in_bytes bda03b4818d API change: add MemorySwap to KubeletConfiguration 9eeec68d67e Update local-up-cluster.sh swap warning 0dd4ce40adc Add NodeSwapEnabled feature flag ac41e565822 docs: add documentation on adding files to the embedded data deb14b995ac Add score plugin for NodeResourcesFit ebc3fdb2936 Store PVC reference counts in NodeInfo cache c65b80a6378 [storage] [test] Remove extra zone test 0ab03d3d5bb dependencies: remove go-bindata bbccf2ecb43 e2e-node: move to embedded test manifests d98b2dd2d62 generated: remove usage of go-bindata 68b334d02bf test: setup embedded file sources for manifests ceb42d09389 Update github.com/pkg/errors with go native errors pkg 8e4212c01a7 test/integration: rename package and files name from master to controlplane in test/integration 903d76f558e apiextension: fix typo and test case in conversion integration test 3af6329caf2 e2e-framework: add an EmbeddedFileSource to sources 7546e5d6dc9 vendor: update manifest 43c2e454a05 hack: remove bindata generation logic for translations eb75b343949 kubectl: use embedded translations instead of generated bindata 5ece28b77a2 kubectl: move translations to i18n package to kubectl staging directory 322c18c147d adds metrics for authentication webhook b7d732d3d6f Map PV access modes to CSI access modes 8db83c89aab CSI client helpers for NodeGetCapabilities 5f98f6cfa47 Update helper methods to print and parse ReadWriteOncePod access mode 2b98f8edc77 Enforce ReadWriteOncePod access mode during mount 7491d016519 Validate use of the ReadWriteOncePod access mode 48ba5020a28 ReadWriteOncePod PV access mode and feature gate 358d2e0bd1f Export contains access mode helper method 83e3ee780ad Rename access mode contains helper method dba8ee229ea Add validation options for PersistentVolumeClaims 9ba0eed7c50 Add validation options for PersistentVolumes 477aef192f5 fix loadbalancerclass integration test funcation name ffdf3f50073 update node-problem-detector npd to v0.8.8 f80f9eeb6d0 Destroy the created runtimeclass resources at the end of the test case. ab4918b6bc0 remove redundant clause in string_slice_flag f59523ab4c8 Update dns-horizontal-autoscaler to use the wqmulti-arch image c21f9cb59d2 Fix grammar 6f9011a4ae4 PodSecurity: vendor: generated files b8bdcf64419 PodSecurity: update dependencies 724fbfbb69b PodSecurity: test: generate fixture data 93c6f8969a8 PodSecurity: check: addCapabilities 3733e209c91 PodSecurity: check: allowPrivilegeEscalation a8206ef58be PodSecurity: check: runAsNonRoot 12ea930aae3 PodSecurity: check: selinux 42dc070b476 PodSecurity: kube-apiserver integration test f39bddd7677 PodSecurity: kube-apiserver: admission wiring 65a42a483cd PodSecurity: pkg/features: feature gate 02a61877576 PodSecurity: admission: admission library 29f5ebf1fe8 PodSecurity: test: framework 1436d35779f PodSecurity: policy: registry 5183ea0bf03 PodSecurity: metrics: stub interface a3ba921b168 PodSecurity: admission/api: configuration API 9ce17c87738 PodSecurity: api: runtime API 79d400c4416 add tracing to the apiserver's client-go requests 48dfa2a5542 generate scheduler merge patches on the pod status instead of the full pod def93317b48 Kubelet Credential Provider 30a6812aa13 promote client.authentication.k8s.io to v1 889dcb5b54d e2e: node: fix npd test failures bumping image 669fb501368 upgrade staticcheck to v0.2.0 and update the static failure packages 39a373b162f correct example command of kubeadm help a8d4cfac933 Allow delete with grace period 1s even if metadata period is negative 45ce2dfacc8 Treat negative as 1s in delete path 40593fa4d36 spec.terminationGracePeriodSeconds allow it to be set to 1s if it was previously negative 1b73a0040a4 Promote Stateful Status e2e test to Conformance 405e9a5172a Promote Deployment Status e2e test to Conformance d3ad1d77f36 Promote Statefulset list and deleteCollection e2e test to Conformance 266ffa85266 bug fix in sctp test 4add8ed9106 kubectl command headers as default in beta aeccadda4ff Update setcap image to buster-v2.0.3 1721be087d0 nodeport tests: node addresses must match the service IP family 0a8a9188c98 Update debian-iptables image to buster-v1.6.5 42f9333e7fa Update debian-base image to buster-v1.8.0 70124846fa4 control plane typo in node role path 21fd224ebdb Updated to use konnectivity client v0.0.21, and implemented placeholder context 2eb50ee2fd5 fix comment on dual-stack integration test 80171465b35 Renamed variable containing master to control plane fa7b5d86e63 remove duplicate validation on services 20f84b12a16 Optimize scheduler res scorer on non-requested extended res 0cdd8c1c109 Removing ServiceAppProtocol feature gate 913c449a42f add unit test to verify graceful termination behavior a84c1b71005 apiserver: NonBlockingRun should return a listener stopped channel d85619030e3 apiserver: refactor graceful termination logic 79550ed40c6 Add distributed tracing to the apiserver using OpenTelemetry 916dbc335c9 nodeport tests: node addresses must match the service IP family 02a3caba9c4 refactor default IP family cluster detection 9accb994dff tests: Wait for the network connectivity first 16b7d473f23 Narrow the scope of the json/register test case usage checking 179e48c4bec Add missing comments in APF API types fe161579e20 Add integration test to promote serviceloadbalancerclass feature to beta. ecc53182475 Remove MPL-licensed dep from lruexpirecache 1e250610b20 Fix panic in pkg/volume/csi tests 7f893f6bd62 Split documentation according to both mechanisms available for migration b6a317aeafc add a function that returns default scheduler configuration 5feff280e1a remove fakefs to drop spf13/afero dependency af825b43577 Remove default JSON logging format registration from component-base/logs package d3dfe124dac Update mounter interface in volume manager 4233056f804 Move HPA v2beta2 deprecation to 1.23. 538e7777c39 kubeadm:remove deprecated flags CSROnly and CSRDir 8f08db9164b Change log level to Debug 7cf30d56906 fix/remove-errors-pkg 89a4d4b0717 kubelet: modify the function of getCgroupSubsystemsV2 to use libcontainer API 23ce7977b75 Loadbalancer IngressIP policy should be configured as non-DSR to enable routing mesh by default cf07d42337b removes unused libraries 7e891e5d6cf csr: correctly handle backdating of short lived certs 70a524659aa kubeadm: add {Init|Join}Configuration.Patches.Directory to v1beta3 a4402122b4f kubeadm: add the --patches flag and deprecate --experimental-patches 70c0fdda0c6 Add lilic as Instrumentation reviewer b259686b367 tests for statefulset PersistentVolumeClaimDeletePolicy api change 43f8f58895d add containers starttime metrics for metrics/resource endpoint 0762f492c5b Add config checking for inflight limits e4e735cd1cf statefulset PersistentVolumeClaimDeletePolicy api change 0feba0c4eec Add StatefulSetAutoDeletePVC feature gate 5d461adb3b8 Apply suggestions from code review 93365919b50 Fix staticcheck failures 674802147c8 update to remove github.com/pkg/errors 730c21d386a Drop etcd tests dependency 01760927b82 Simplify running embedded etcd server in tests cf9510751d5 StatefulSet minReadySeconds e2e 47615c20207 e2e: node: remove obsolete AlphaFeature tag e7a240395e9 uses native errors instead of github.com/pkg/errors 12dcd2f84d4 Remove usage of github.com/pkg/errors 8b7003aff4c Add SeccompDefault feature 4b140218747 update github.com/pkg/errors to go native errors pkg in staging 3b36e6bcea4 kubeadm: fix image pull policy integration b4dddbafa2f CHANGELOG: Update directory for v1.22.0-beta.0 release c5498744c9e Making a run test. cd318aec0ba Disable deprecated volume limits test when migration enabled and replace with CSI-specific test 6583b05f07b replace more powershell commands with /bin/sh in volume/fixtures.go 7aa8a497df0 replaced usage of powershell commands with linux commands f0d7e9c9d1d undo windows compatibility changes because the linux commands work 9a146bc3e99 Remove [LinuxOnly] string from ginkgo tests 54070a66284 Enable another test in windows, use a /bin/sh command instead of a PS one ee34cd640ac enable gcpdcsi multivolume tests with windows nodes 58a83ecbdb3 integeration tests 2c6bba29360 fix auto upgraded preferDualStack services (in cluster upgrade) d4767ed5ebe memory manager: move to beta b6c75bee15e Remove balanced attached node volumes 63a23f1ed7a Transitive dependency: high CVE fix 681905706d4 e2e node: provide tests for memory manager pod resources metrics 03830db82de Implement all necessary methods to provide memory manager data under pod resources metrics 24023f9fcc7 Extend pod resource API response to return the memory manager information 0f922b200f3 Simplify the formula used in the RequestedToCapacityRatio plugin 3daef0a5343 Allows manual restart of dbus to work in Ubuntu. ec93b3b0be4 Stop using github.com/pkg/errors 0dd1624ec8e update cri-api v1 25f479c2ac7 fix'--log-file only works if --logtostderr=false' d95f677dd86 Fix OWNERS 249db7ceb39 wait for endpoints to be available 44360b315ca GCE Windows: Upgrade to flb-exporter v0.17.0 which reduces log spam. 459fe7d08ad add support of imagePullPolicy to kubeadm 8231a3e9210 CSIServiceAccountToken ga e2061cfcd81 Expose envvar CSI_PROXY_VERSION 518844fd25f use GA topology labels for vsphere 1e949fa9280 updating github.com/pkg/errors with native errors pkg 4d11c3cd8cb deflake TestClientReceivedGOAWAY test 6cb448c10e2 Specify etcdctl version for livenessProbe 676958c2bd0 Fix NodeAuthenticator tests in dual stack b22d0b13cc4 Fix verify staticcheck flake in cluster/images/etcd ea419eaf339 Add shu-mutou to dashboard approvers 6203d4fc6af apf: calculation of dR/dt should use seats in use 6d3fd8353c3 don't panic if nodeIPs are not found 1f9d448283a Use errors.Errorf instead of errors.Wrapf when the err is nil afea48d23f0 test/e2e/network: remove dependency to google.com for in-cluster networking tests 292f2a67bd6 Update logging example with caller e37d6d6c6dc Simplify zap logger initialization a2a8080169a Fix: typo with hack/update-codegen.sh fc38aeed6f8 Fix: typo on ExtractHoge b9d5d5536ed Add log sanitization klog integration tests cff40a7bcc1 Add info about source code location in JSON logging e371b27e6cb Fix frameworkImpl.extenders being not set 875f1ffe2bc chore: clean up the tests that have external dependencies 72a53288a5b Remove gcepd unmanaged zone test. 35e9d97f3e0 update Azure/go-ansiterm to v0.0.0-20210617225240-d185dfc1b5a1 8942cba24d4 log if we're running with -race 68d8bcb64fb remove redundant bits from test-dockerized.sh 4ee729ce5f2 disable race detector in test-cmd.sh 55d2868e9d8 don't redundantly set KUBE_RACE in test-integration.sh 3c44b86ad65 enable race detector by default in make test 6c0463bd2b6 fix: properly wrap errors when reading response body in the client 3930629e130 Track generalization for width 676f0450ed3 Add APF metrics about R(t) e72effbf12e Remove omitempty from PathType 774d228637d remove the path if it exists before writing pki data. 5d15ed02b56 Extract columnPrinter interface for printing the values behind additional columns 1c2ba3162db update internal modules e977740ae63 Rename master to apiserver in test/integration 9571b1f8844 update vendor 4eab19ae7d9 Clean up the master term in test/integration comments 54fde5d119f Make logged verbs match metric-reported verbs 762eeb0988c Use the hostprocess feature flag and assign a user ff716cef508 apf: take seats into account when dispatching request 47171077bf3 CHANGELOG: Update directory for v1.21.2 release 0ccf53dd200 CHANGELOG: Update directory for v1.20.8 release 780872223f2 CHANGELOG: Update directory for v1.19.12 release 6ae7b551143 update internal modules 97031da5e29 Correct comment block from openapi_v2.NewDocument to openapi_v2.ParseDocument c691386fef7 Update github.com/googleapis/gnostic to v0.5.5 and updating transitive dependencies go-cmp, protobuf,, to adapt the latest gnostic release which cosists of [Update protos for Go protoc plugin compatibility] edd0cd79eb0 Updating non-vendor specific code to support/use AWS-SDK-GO v1.38.49 1b27430b506 Updating AWS-SDK-Go to version 1.38.49 c673e166383 Fix ServerGroupsAndResources docs typo 1a4b0ee09bb remove excess error handling 45d18acbcc1 add info for possible failed listAndWatch grpc call c789898f793 when new manager failed should return err da35add03f7 Rename master to apiserver in test/integration eed37fa47d3 fix: cleanup outdated routes 5a0756c5f4f Update etcd in kubeadm to run as non-root. 9e694a45f94 test/e2e/network: mark tests in test/e2e/network/netpol/network_legacy.go with NetworkPolicyLegacy 3c59e742f3b Create List, Patch & DeleteCollection StatefulSet Test 63d12371021 Fix Node Resources plugins score when there are pods with no requests 584503d2ed3 Speed up unit tests in -race detection mode d41249f7803 CHANGELOG: Update directory for v1.18.20 release d5da73032f7 Add unit test for DSWP with uncertain volume f795b02f4f8 Refactor dswp unit tests 2fcb5e9cf79 Add PodRemovedFromVolume ca934b8f5cb Add GetPossiblyMountedVolumesForPod to let kubelet know all volumes were unmounted f4b41c0a171 Fix UnmountDevice error cases 54ad7e40f1a Add e2e test for NodeUnstage error cases a47afdded0e cmd/kubelet: replace KEP link with the documentation one as it is available now 0bfd1cb7c71 Update gomock to 1.4.4, removing a few extra dependencies. 7fcdbbef06d Switch to github.com/coreos/go-systemd/v22 and drop older package 265ef1741f9 Move scheduler plugin set and configuration defaulting to component config 057422504ab Run volume cloning tests in the same topology segment abf65843227 update string_slice_flag add nil judgment cf2a3c32309 Kube proxy for windows userspace, remove dns Mangling, vendor updates b98824c55d9 Update Azure Go SDK to v55.0.0 480093bd1f4 test/e2e/network: mark network_tiers.go tests with GCE tag f298a658aed e2e metrics: remove redundant checks around metrics tests a4c7e91b591 e2e metrics: skip tests when metrics grabbing is disabled 1d3420ca72f e2e metrics: check whether debug handlers are available 5e9076da93c e2e: grab controller and scheduler metrics via port forwarding 3e0269ce6e1 Move common code to ensureTopologyRequirements 4ee38f33d21 update etcd makefile to build v3.5.0 image 6448181d95c Update to etcd v3.5.0 client 207f9e8b714 switch go-flow-levee to tagged version 84112d36900 refactor cmd/kubeadm/app/preflight/checks_test.go() 5ca47deb0aa Promote DaemonSet Status e2e test to Conformance f7d02f4d25a Promote ReplicaSet Status e2e test to Conformance 503f5e1b528 Quiet grpc info logs in apiserver dd5f67d23c0 Kube proxy for windows userspace, remove dns Mangling 8fb909291fb Skip migrated metrics for Windows CSI tests f02948e7766 Use container-storage-interface spec v1.5.0 6ba7b3d26b3 allow enabling Leader Migration without config flag. bade96ed78f implement wildcard component. eadfe46e036 Do not throw error when we can't get canonical path 14085c50d3c bump KUBE_TIMEOUT to 180s 2f7456076e0 apf: always include seats in virtual time 9469756b6cb Ensure kubelet statuses can handle loss of container runtime state 211485c23d3 last-applied-config annotation no longer mirrored to endpoint slices ceb1dbd2f1f statefulsets: MinReadySeconds implementation 01bb0f86b02 update comments and owners file for pkg/util/removeall f1de598233e Improve terminated pod message when node is shutting down f9343f837dc Use LoggingConfig within LogOptions 5cfc39ef5e9 Update protobuf,grpc,etcd dependencies bc86d12dd9c Update generated files for endPort promotion to Beta a26c392de17 Fix etcd egress dialer addr parsing 19db126d76e Exercise egress configuration in local-up-cluster f283deee6b6 Quiet embedded etcd logs 068e4c55a8a Eliminate parallel and unnecessary embedded etcd instances 52b629efbc8 Drop use of deprecated clientv3.SetLogger 2979c3325e3 Switch to go.etcd.io/etcd/client/v3 ff2c6142459 Switch to non-deprecated timestamppb.Now() 1134456c89c Fix CSI mock driver to get marshaleable grpc error 77ab4bdbbcc Drop etcd v2 support from test util 5f1983d8710 Drop etcd v2 support from etcd migration image 1e1a60e310d publishing: Use go1.15.13 for 1.20 and 1.19 release branches 9f18ddf03ce Promote endPort field in netpolicies to beta e427d2f22a7 test/cmd: kubectl and exec plugins don't fight for stdin 60246f69cc0 kubectl: don't fight for stdin with exec plugins cd83d89ac94 exec credential provider: InteractiveMode support ca254e978b5 feature: add unified on cri to support cgroup v2 be48f1d272d Add test cases to the addAllocatableThresholds function in pkg/kubelet/eviction/helpers.go 8fe00a7e484 Start deprecation of --record flag 5ea3dd531c7 Update certs.go 83ee5da75e9 Fix:slow memory leak may be in kubelet podworkers.isWorking 74feb075948 kubeadm: CoreDNS permissions for endpointslices 188193e1c0b kubeadm: upgrade coredns 1.8.4 and corefile-migration to v1.0.12 a3e464490a5 Fix some typos and omissions in kubeadm APIs ff0f83b4b2d skipping more tests in case when ExecProbeTimeout set to false 4b36a5cbe95 Switch to github.com/robfig/cron/v3 f042b4968d3 Fix broken KEP link for issue #101008 c329202ee8e update comments to reflect wildcard component. 44cb4a63f61 Allow write on events to edit role 7560f33e27d kube-scheduler: stop using insecure serving bits 59b4b124df0 Update kubeadm control-plane to run as non-root. de2f9f17093 Remove error wrap from logs 2e06066bab8 Migrate kube-proxy to use v1 Event API 8748f3105bb Update corefile-migration to v1.0.12. 60ab908119f Fix - Winterm issue on Windows 8.1 in kubectl exec 9f7d61c520f Upgrade ANP components to v0.0.20. 106f416873c Upgraded konnectivity-client to v0.0.20 9109d928cd0 test(proxy::config): deflake TestInitialSync 44b396ae0e6 owners: update puerco/cpanato and clean up old members c13c3ebc793 Remove deprecated scheduler CLI flags hard-pod-affinity-symmetric-weight and scheduler-name c710f99ef73 apf: add a gauge for the number of seats currently in use 9d514b2de42 Konnectivity: tune flags for larger clusters (5k nodes). 36eaa11d50b cleanup usage of NewPodNominator fd972934e49 client-go: reduce log level of reflector again 369416b7636 cm: handle nil cpumanager avoiding segfault 29aa4c0ee81 Check content of volumes in snapshot/clone multivolume tests 89284a1ba7f run_remote: improve error reporting 654ec0866a9 kubeadm: use a suggested example in v1beta2/3 docs 9255f2ccf38 Fix kubelet cpuset typo 68f139548b3 Remove unused parameters from TestConcurrentAccessToRelatedVolumes 77c04d22844 Increase KUBE_TIMEOUT default to a passing default 110c39ef60c unroll extenders dae335c1150 Fix test failure in some envs. 90df026709d JSON log format registration for kube-controller-manager 170c93bf05e JSON log format registration for kube-apiserver 52f5ba3a58d Remove SchedulerAlgorithmSource from scheduler's internal CC API a5825d68365 JSON log format registration for kube-scheduler e6bf19bcf69 Update CreateInitStaticPodManifestFiles, CreateStaticPodFiles and CreateLocalEtcdStaticPodManifestFile to take into account if the command was run as dry-run. 183bc3cece7 Allow scheduler maintainers to approve changes in the internal apis pkg 46f3e4dfdd4 Define in-tree scheduler plugin names in separate pkg to break a cyclic depednecy when moving plugin defaulting to CC a84b91f08c1 fix net-tiers e2e test 6d7c83f2cd1 the last upperbound of kms latency metric is too small 9b72eb1929a apf: add plumbing to estimate width" of a request 12447bc8038 Upgrade etcd server version to 3.5.0-rc.0 c98306a09e9 test: adjust summary test for cgroup v2 c0c9f1f318c Ignore first SIGINT in node-e2e tests bd80603c9e5 JSON log format registration for kubelet 386036d23d0 Add k8s.io/component-base/logs/json/register to vendor dc5626cc183 Upgrade debian-base to buster v1.7.1 897f8012fdd kubeadm:Run preflight checks for diff to check that the manifests already exist 484eb018222 kubelet: do not call RemoveAll on volumes directory for orphaned pods 528baa09f6d e2e storage: disable health-monitor controller in hostpath deployment 1932536ebe3 CHANGELOG: Update directory for v1.22.0-alpha.3 release a94aa0ea9a3 Update version of go-flow-levee for verify-govet-levee check. de7e56bf374 apiserver: close handler chain right after shutdown delay duration 652e056e61f Add dims as approver in build/ directory 3968ee532d9 CSI e2e: stop leaking pvs in CSI mock snapshot test 1524526991c [go1.16] Update to go1.16.5 1eb8060dd61 Add test for CSI mounter 0fcd3c951c5 test/integration: Rename master to controlplane or apiserver 257b494478a test/integration: Rename masterConfig to instanceConfig ac5535c9491 test/integration: Rename MasterConfigOptions to ControlPlaneConfigOptions 3ac8d8c9cee endpointslicemirroring controller mirror address status 8d0936b7436 Check empty zone after the validation of providers aea2e33175b gendocs: using bytes.NewReader(nil)/ioutil.Discard instead of os input/output to generate command c065d7c7b3b Fix NPE for CSI mounter f22b07d8b42 add e2e test for immutable label selector in netpol ff164f90130 feat: remove ephemeral-storage etcd requirement bb6151906f1 Add utils to set file/directory owners and permissions. 95c8b02096b Add explicit capability for online volume expansion 28511e82ad9 Add e2e test for a volume + its clone used on the same node 7a63dff88bb Update konnectivity default 3c8e56bef95 scheduler: graduate CC to v1beta2, deprecate plugins 2067b69b922 storage e2e: extend timeouts for subpath restart tests 3a830aacb0e Trivial: fixed typo in logs requrested --> requested 64946cd50d6 fix flake integration rotation via informer 7ced405de5a Create a new modele component-base/logs/json/register for optional json register 92b52a4fb56 populate last successful time to cronjob status 77bb053102c Use native zsh completion 7b0fbb72929 add audit log test cases for cross-group subresource 46aa6045e4c Add tests for completion utility functions 1babceac650 Revert "Add Go tests for custom completions" 9625872d1e4 Join common functions for completion 9d03185d3c1 Update staging/src/k8s.io/kubectl/pkg/cmd/config/config.go c0b3a698fa1 Add Go tests for custom completions 879cdc5fa9e Move all completion bash code to Go code 663b13e8149 refactor: implement custom completions for some flags using Go c5d70e9db1e Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver} aa9321f534b Add example showing impact on log output 8e85a2b0c23 sched: fix a bug that a preemptor pod exists as a phantom c15fd76ee90 e2e storage: enable health-check controller in hostpath deployment 88174fc3f2c Add klog integration tests c9414c2bbaf fix bug where string slice flag is not assigned 2e167a1399b Disable zap sampling and cleanup config a9a2346e194 Cleanup json logging benchmarks d8e91ab7275 Fix test order in /pkg/probe/http/http_test.go 1010e6a9d98 proxier/ipvs: fix test cases where ready endpoints were not used cc2e9394be3 kubelet: Fix test order in verifyContainerStatuses 91e5d98b572 Fix audit unit test file location 4ebc0c94a4e Remove legacy metrics client from podautoscaler 3175dbd8554 Update owners for structured logging library f5739a15d1b The test was not very useful and required elevated access 8eb7e81bc94 proxy/ipvs: add unit test Test_HealthCheckNodePortWhenTerminating for ensuring health check node port fails when all local endpoints are terminating ed4fe073755 proxy/iptables: add unit test Test_HealthCheckNodePortWhenTerminating for ensuring health check node port fails when all local endpoints are terminating 14cc201b58b proxy: add test case in TestGetLocalEndpointIPs for when all endpoints are terminating 3e459997c83 proxy/ipvs: add a unit tests for when the ProxyTerminatingEndpoint feature gate is disabled 68ebd16a2ca proxier/iptables: refactor terminating endpoints unit tests with test table and test for feature gate f92265f6543 proxier/ipvs: check feature gate ProxyTerminatingEndpoints 8c514cb2329 proxier/iptables: check feature gate ProxyTerminatingEndpoints 25e2c92733c add feature gate ProxyTerminatingEndpoints cf9ccf5a8e2 proxier/ipvs: unit tests should specify Service ports d82d851d89a proxier/iptables: include Service port in unit tests 4c8b190372a proxier/iptables: reuse the same variable for endpointchains for better memory consumption 55881093d8a proxier/ipvs: add ipvs unit tests for falling back to terminating endpoints 9d4e24aa32d proxier/ipvs: fall back to ready terminating if no ready endpoint exists b54c0568d8c proxier/iptables: add unit tests for falling back to terminating endpoints 732635fd4b2 proxier/iptables: fallback to terminating endpoints if there are no ready endpoints be92fc83e2e proxier: simplify toplogy FilterLocalEndpoint function e797a5a1989 client-go: fix flake in test TestRequestWatchWithRetry 892d4fabb84 Revert "Merge pull request #102581 from liggitt/revert-watch-retry" fbf2d2df268 only delete forwardingrule and address when net tier annotation is specified d9f82f7eba4 Drop viper stuff in test/ 558bdd18aa2 Update cronjob integration test to batch/v1 6871b2b3c73 Rename masterConfig to controlPlaneConfig 812a04539cc remove redundant code 45179bb989a update debian-iptables to v1.6.2 c26c423b1ca storage e2e: disable health check containers 82be7aad262 Update etcd makefile to build v3.5.0-rc.0 image ceaf9b9d16a add ut for preventing dropping null from arrays ca279bbcc18 Fix race in attachdetach tests 6e0650e3e13 upgrade gopkg.in/evanphx/json-patch to v4.11.0 e35af41a123 Revert "client-go: add retry logic for Watch and Stream" 58833d652d5 Support subresource match 38d3ae1a060 api: update API compatibility tests to remove topologyKeys from Service e9c7fa49d95 core/v1: add unit tests to ensure deprecated protobuf field numbers are not re-used d96af5f2761 kube-proxy: remove ServiceTopology implementation f119b8df5f2 apis: update generated code after removing Service topologyKeys 4d38d21880a apis: remove Service topologyKeys 8c376426f3e features: remove alpha ServiceTopology feature gate 0b8dc56408f fix volume failing test a2a4b50bc15 fixed deadlock ae603a38bc2 remove -ssh-user from cluster scripts for GCE f94391789f1 Add doc.go for client-go apply support 5bf7bb52fe4 Remove -k from toCurl output ba708e5fc9e graduate SuspendJob to beta 8aba8e2a2cd remove the ssh tunneler implementation from kube-apiserver 6449416a3d7 Add scalability label to kubemark OWNERS 84590fe27cd remove --ssh- options, deprecated 13 releases, that only work on GCE ab45d5e4963 part of master to controlplane in test/integration SetMaster -> SetAPIServer 51717256f97 fix(timezone): the timezone is standardized to UTC 1331c76aa3d Added field-selector option for kubectl top pod 08ad7114d3f make lint-dependencies happy! 29def9ff6ab Updating to prometheus/common v0.26.0 77b5ad2fb02 Part of master to controlplane in test/integration(1.22) 2c9f02c3290 Add test 506fabc9ab9 Close the used modules file b87ad95fec3 Close the used file 918246d7a16 update error info with the new limit in #98753 387154f1a9a Part3: master to controlplane in test/integration Rename RunAMaster to RunAControlPlane f6d015be7a0 kubeadm: add utilities to manage users and groups dfd67c7d79e Add unit test coverage for init container phases 47a7fcb17b4 GCE Windows: Only create NPD kubeconfig when the file path is defined. b8edcd3bb33 add loadbalancer name to ESIPP tests so regex pick them 8e2eeffa792 PokeHTTP default timeout to avoid hanging connections 21073e3b347 loadbalancer outer poll loops should have a longer timeout that inner loop 27e20e226eb e2e lb use same variable for endpoint path bd2d63dd57e Fix closing of decorated watcher channel on timeout 8847a250267 apf: fix flake in test 5d4c1162b94 hotfix(staging_apiserver_pkg_httplog): restore depth to log calls 53af0027420 storage e2e: capture driver pod changes, including all events 9eea445bcce Update test cases for 'RESTARTS' column in 'kubectl get pods' ec4182d0032 Add last restart time to 'RESTARTS' column to 'kubectl get pods' output ce08fd59767 Add test cases to the LoadClientConfig function 211e9747224 Clarify and split up the "not actually SCTP" SCTP NetworkPolicy test 4b0d0d6fc7d Fix spurious Feature tags on some NetworkPolicy tests c3a9c7da160 Promote CronJobControllerV2 flag to GA 1619e8eb953 Clean apply's prune and kube addons with batch/v1 CronJob 1bf8edfdd44 remove GAed feature gates group: LegacyNodeRoleBehavior/ServiceNodeExclusion/NodeDisruptionExclusion 8054b0f808d Fix watch rejections in P&F filter 15c4d579f08 Use objGV instead of gvk.GroupVersion eac1d23825b nit: Update comment to match headers change. b049e1b9ab4 Cleanup redundant failure reason in InterPodAffinity plugin 95ac461a290 serviceOwnsFrontendIP shouldn't report error when the public IP doesn't match 58d7bf67d46 Simplify objGV construction b9b01a0f901 Simplify objGV construction 19c72a6cd05 Simplify objGV construction 0ae6a7bac6b Simplify objGV construction 86d68effc21 clean code 355be993906 Default GCE testing to using konnectivity 673352dbd25 Cleanup Framework interface 97ba90cbfb4 use subpath for coredns only for default repository 9880ceceb94 Add KEP links to sig-net feature gates 9d2135f703f reuse fake topology manager 8b3162d67b2 clean code f3f59d420a6 remove LinuxOnly tags for subset of dual-stack tests 39d45fcceff Add user and group name constants for kubeadm rootless control-plane. 3cb4f3e1bf0 GCE Windows: Upgrade to fluent-bit 1.7.7, 1.7.6 had a major regression. 8d9dd7b6eae Avoid warning on seccomp field usage f2ca9c17946 Fix regression for timed-out stream cleanups 452e2eaf1ba Fix RollingUpdateDaemonSet godoc regarding rounding e3841e91c81 fix watch_cache_capacity metrics 5b0bafabf6b vendor: upgrade cadvisor to 0.39.2 4567a431010 Return UnschedulableAndUnresolvable when looking up volume-related resources returns NotFound error e105611d3a7 Azure auth forwarding adal refresh error to tokenSource, fixes error when token refresh fails. d9d51541a87 Address watch panics in P&F handler and extend testing. 582b492cc09 Pre-allocated memory 341f6e42673 Refactor logs options 607d3819498 client-go: add retry logic for Watch and Stream f9249061737 Bump golang.org/x/text to v0.3.6 6a374b50f92 Add tests to logs eb114115fdb Improve func ToSelectableFields performance for event 1431eab36d3 Remove Godeps 329f7d55d13 Fix auditing failed of request: encoding failed ade167e53af Delete AvailableResources judgment for GA features c7111515c5b Enable protocol-buffers by default 3c899f9b54d sched: fix Dump's doc comment 24a1f9d817c kubeadm: use "SkipPhases" from configuration for "init" and "join" ac161866aa7 kubeadm: add SkipPhases in {Init|Join}Configuration for v1beta3 39d74049615 Uniform output string. 47c8c48e2cf Remove Redundant alias 2787e8c18ce Kill container runtime with SIGKILL 1b6cf83cf40 Error message should not be capitalized. d3f92af74f1 Part of master to controlplane in test/integration NewMasterConfig -> NewControlPlaneConfig cd3709232f8 Fix VolumeAttachment garbage collection for migrated PVs 02bade46443 Fix a grammar error in doc c9fe8ddf68d bump calico to v3.19.1 816a069d543 Add a test for verifying compute basepath. 36cdb72eb6f (scheduler e2e) Create balanced pods in parallel 3813ed1ef71 fix prometheus-to-sd image for fluentbit 12fe4dee2b0 Update setcap to buster-v2.0.1 and add setcap to dependencies.yaml f9a04f3bc4a Move error reporting to volume plugins 0ed0714f8c0 Simplify kube-cross dependency handling 39d9e98a6f9 Build non-static binaries with PIE buildmode ac17d03e76c Remove set errexit from etcd manifest ae4db677f41 Update kube-cross to v1.16.4-2 c694b9f7619 CronJob: switch storage version to batch/v1 in 1.22 781c65a40c2 fix: skip pods with empty ip 580b557592c Log spelling formatting and a redundant conversion 5c2841c8cd4 Forbid the use of --config and --cri-socket at the same time 6738380a80c cleanup tempDir after fsstore_test.go d9681d72669 AllowExpandedDNSConfig if haveSameExpandedDNSConfig(newPod, oldPod) 6317ce63c6a Add feature gate ExpandedDNSConfig 819059f641d kubelet: Validate the length of the DNS search path a95842095ec Retry reading /proc/mounts indifinetly in FC and iSCSI volume reconstruction 82cfe9f14f8 ConsistentRead tries 10 times 1d16f934b94 Bump k8s.io/utils 64e8396e300 Retry detaching FibreChannel volume few times faae926d15d Changes headers to IETF standard d7a67a3b8e5 change log line to print actual pod uid instead of address of the pod uid 876174125bc upgrade klog to v2.9.0 27044f48552 depracate ValidateProxyRedirects as it is with StreamingProxyRedirects 363b78fe883 Promote cronjob to batch/v1: kubectl sparse_test prune 90e215dfd29 add api e2e test for port ranges of netpolices 9cfbf062256 cleanup PodPreset testdata 0cc217647ca Implement support for watch initialization in P&F 507710b50f8 Update CNI plugins v0.9.1 4acb6a865c9 storage e2e: use csi-driver-host-path v1.7.2 in single pod d98a83bb01b kubeadm:return error info normally 80a5b004451 Removing utils/mount dependencies from vendor 2769e99dba2 remove scheduler deprecated algorithm-provider flag and clean up algorithmprovider pkg e89d2a77795 Promote Daemonset list and deleteCollection e2e test to Conformance 5e4c59ba991 Promote Replicaset list and deleteCollection e2e test to Conformance e43e9696cc6 Fixed sort-by not sorting Resources as expected 8651fcb25a7 Implement a windows Netpol NewModel 4c95bc8830b testdata: StatefulSet f3ab9550180 validation: Handle presence of api introduced d11cc95376c feature: Add minReadySeconds featuregate 5464b649812 generated: Changes for api introduced 49af8358522 api: Introduce minReadySeconds,AvailableReplicas in Statefulset df4c34e771c Update pd csi driver images to use v1 images (CSINode, CSIDriver, etc) 17551f291d0 Return UnschedulableAndUnresolvable instead of Error when failing to lookup pvc or storageclass in VolumeZone plugin f871475a5e5 Grant PSP permissions to all serviceaccounts in e2e, not just default 80fa50e0d74 Update etcd image revision 33fe4bb0764 Update debian-base to buster-v1.7.0 3bcc15e19dd Update debian-iptables to buster-v1.6.1 6c0976814ca use ownerReference to build default spreading contraints in the scheduler 2e771b8e745 Make a public ValidateAnnotationsSize 8e5a9824425 kubeadm: remove the cgroup driver detection code for Docker a013c6a2db5 Adding IPV6 (Dual Stack) support to handle IPV6 pod cidrs 93f79103e54 kubeadm: add "+optional" to fields with "omitempty" in v1beta3 2c79f52de90 Local PV e2e: fix leaked local volumes 38c56883f1c e2e: hugepages: delete test pod after the test e862421c2bc Update etcd makefile to build v3.5.0-beta.3 image 383ce85649c [scheduler] avoid comparing function pointers in unit tests c9ec4862872 Part of master to controlplane in test/integration Rename NewIntegrationTestMasterConfig to NewIntegrationTestControlPlaneConfig 1b6895c11fb Fix: remove framework.ScoreExtensions interface check 5908cd0d90d simplify returning boolean expression in /pkg/volume 9e257ec194f Optimization logging format for pkg/kubelet 55ff9630179 Make validation totalAnnotationSizeLimitB public. 69019a03d3a Add netpol tests for windows 2d361d43063 e2e: Flag questionable durations in container status on termination f9cb68a2b13 Fix EndpointSliceCache::getEndpointsMap for different endpoints with same IP f1aee7e0496 kubelet/cm: GetResourceStats -> MemoryUsage 517feed45b5 Add: interface check 202a0120937 Add restart unit test b344d4d4422 api link is missing 20c02357cad Add hint to fake topology manager. c299b8fc9a0 kubelet/cm: rm propagateControllers fadf3e15316 Graduate prefer nominated node to beta e8f69398c35 simplify return boolean value expression in cmd/kube-controller-manager/app/certificates.go c24b87b1336 Fixed a possible nil pointer dereference caused by variable `plug` c201a78dff9 Remove etcd connection apiserver preflight check 3c1576ae573 Create e2e Deployment status lifecycle test bcfa3604a28 Create e2e test for Statefulset Status endpoints 990d0949c4e Add test, after restart dbus, should be able to gracefully shutdown 9c59e6c85fa After dbus restarts, make GracefulNodeShutdown work again ae90e6b9a1f Retain the test coverage of TestObserveWebhookRejection. fb23e449ab6 Add attr to the argument list of ObserveWebhookRejection, and remove operation, as it is included in attr. f40b10e3aa0 Prevent data race condition in vsphere unit tests f9ee64007ee apf: always create missing bootstrap configuration object(s) 32c14da9025 fix(metrics-proxy): wait for enough component pods to show up first 6c63ef147cc extract same code of es and esm to pkg 72fe1b722ce Make the service account error more apparent 88b31814f4a BoundServiceAccountTokenVolume ga 619fff10eac handle Unmarshal error 074f25523b2 scheduler_perf: correct error handling 55be51a2dbe Issue [2683](https://github.com/kubernetes/org/issues/2683) was closed with PR [2690](https://github.com/kubernetes/org/pull/2690O) sSimran should now be part of kubernetes ORG 330fee13506 remove the RunAsGroup feature-gate 5ea01629066 e2e: deflake test by not relying on events 3916c009551 fix manual trigger of readinessProbe on startupProbe success fa1a4100c6c Remove CSIMigrationVSphereComplete flag baa88b26cdc Remove feature gate to GA the setHostnameAsFQDN feature 60377ba1a37 graduate IngressClassNamespacedParams to beta 2eb90f9b809 Default StreamingProxyRedirects to disabled afe28c6fc83 kubelet_pods.go: clean makeEnvironmentVariables 1df3a735d3b go-to-protobuf: small fixes to improve debuggability 2335547a9cf cleanup: delete tempDir after flexvloume_test is executed 650666406e1 update kubelet_running_pods metrics comments: pods that have a running pod sandbox a3b2e35d700 Making a run test. 125fb04dbf2 Relax node_id length limit to 256 2dbdfd0902e Extend the max of admission latency buckets to 10s. e7db88b0b65 Add a namespace label to admission metrics. 3bad31b531e Add allowAutoIOPSPerGBIncrease to translated AWS EBS StorageClasses 4272ac92a76 Document the NodeAddressType values b9d9cc38b52 fix: inaccurate miss schedule times of cronjob v2. 78323910db5 Fix typo: Use uniform format of structured klog 8725c960149 Fix csi_client_test.go metrics nil pointer dereference 79126376f02 Add test for counting inodes correct with hardlinks d45ba645a8f Get inodes and disk usage via pure go 6e54f067e9d Support dynamically set log level for kube-proxy 1d764952dad Fix incorrect test code in pkg/volume/csi/csi_attacher_test.go file 64fca6bda7d doc: remove the description `socat` is required 80b4277bff4 Optimize the structured Logging migration. 0eb40b3ded6 e2e: reduce pods used in shared local pv test dea89e549fc Fix use nil err 086cdfb3601 Use docker buildx for the build-image. 2d3073c5917 Tweak kubelet config comments for consistency and readability fdcbb54febd Improve kubelet config type documentation bc3e7b5dca3 nit: use %v for error as it is already quoted 04f091790ee e2e: TM: wait for SRIOV devices in pod scope tests 8e7b5ff480b staging/src/k8s.io/apiserver/pkg/registry:migrate logs to structured logs 3ec63238c53 fix kubectl alpha debug node does not work on tainted nodes 88fbd370407 Fix the url 'version's comparation of github.com/Azure/go-autorest/' lost 1995f28c64a Simply modify the Kubectl logs information 385b7d7ff07 fix --event-qps and --event-burst 620c23473fb fix Spelling error for klog 00da68dbc25 Adding restart kubelet flag on e2e test 07002e41bbe Update Calico to use a non-conflicting route table range ad156aff59e ignore "vmdk not found" vsphere errors during unmount (assume success) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> /
* k8s: bump to v1.22-alphaBruce Ashfield2021-06-041-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: move to 1.21 releaseBruce Ashfield2021-04-163-20/+17
| | | | | | | | | Updating kubernetes to the 1.21 release. Minor build changes and patch refreshes were required. The changelog is massive, so we won't list it here. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: update to v1.20.4Bruce Ashfield2021-03-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Moving off the 1.20.x-rc and onto a dot release tag. This pulls in the following commits: e87da0bd6e0 Release commit for Kubernetes v1.20.4 5682545c2da Update CHANGELOG/CHANGELOG-1.20.md for v1.20.3 f8f2fa827d3 Release commit for Kubernetes v1.20.4-rc.0 01849e73f3c Release commit for Kubernetes v1.20.3 58c5493f22a kube-cross: update image to use v1.15.8-legacy-1 e000e9722bb [go1.15] build: Update to k/repo-infra@v0.1.4 (supports go1.15.8) 3365196e9d8 Use go-runner:buster-v2.3.1 image (built on go1.15.8) 91f2745f08c staging/publishing: Set default go version to go1.15.8 3c777448311 Update to go1.15.8 b570189cf1f Revert "make hostPort match test linuxonly" 6698a4e7afc Revert "conformance changes" 6a31f8d17ef dockershim hostport respect IPFamily a456eb4eaf6 dockershim hostport manager use HostIP 5d9910a0172 Cherry pick of #98254:Fix the kube-scheduler binary's description of the --config parameter is inaccurate ac866d63911 make podTopologyHints protected by lock b84ee98db74 kubelet: Fix mirrorPodTerminationMap leak d381d6c52cc kubelet: Delete static pods gracefully b2576fb35f7 kubelet logs print 'kubelet nodes sync' frequently 7826a1c6b87 WIP: node sync at least once Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: bump to v1.20.3Bruce Ashfield2021-02-101-2/+2
| | | | | | | | | 0e3bf6dad9f kubeadm: drop explicit constant override in version test 1619e810d1c kubeadm: get k8s CI version markers from k8s infra bucket 42a3b9e85ef fix kube-scheduler cannot send event because the Note field is too large afb0de9647c Fix nil pointer dereference in disruption controller Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to latest 1.20-releaseBruce Ashfield2021-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following k8s commits: 62b808f34d7 Update region_pd e2e test to support PV have GA topology 85fd25ef54c Recover CSI volumes from dangling attachments b81c612b12b IsVolumeAttachedToNode() renamed to GetAttachState(), and returns 3 states instead of combining "uncertain" and "detached" into "false" 5a957b08153 Fixes Attach Detach Controller reconciler race reading ActualStateOfWorld and operation pending states; fixes reconciler_test mock detach to account for multiple attaches on a node 3a83880d442 Fix translation of Cinder storage classess to CSI e1ee8ed5f41 Resolve IP addresses of host-only in filtered dialer a73b4122b3c Deflake ingress updates 570e423af0e ignore cgroup driver check in windows node upgrade c0fc4d4dc38 aggregate errors when putting vmss c8cc26f1523 fix azure file migration issue 8ba5a06139d kubeadm: change the default image repository for CI images from gcr.io/kubernetes-ci-images to gcr.io/k8s-staging-ci-images baa6b2bd066 reduce buckets for etcd_request_duration_seconds 745bdd0016e cleanup subnet in frontend ip configs 3a5c02dbf51 conformance changes b241e6882c0 make hostPort match test linuxonly 20b66e4ec1e Clean up namespaced children of missing virtual parents with incorrectly cluster-scoped nodes 4c1bc2d6b06 Add unit test for child scope mismatch with missing parent 87344c8d52c vendor: update cAdvisor to v0.38.7 8ae140db2b9 Use volumeHandle as PV name when translating EBS inline volume a525ddc8521 Update CHANGELOG/CHANGELOG-1.20.md for v1.20.2 112e823d906 Release commit for Kubernetes v1.20.3-rc.0 faecb196815 Release commit for Kubernetes v1.20.2 7394cae9159 kubectl-convert import known versions 8e44c89eefe Revert "Merge pull request #92817 from kmala/kubelet" 1fc106ac183 fixes nil panic for nil delegated auth options d65732141da Lower the frequency of volume plugin deprecation warning d8a1dfb21f1 move all variables in sampleAndWaterMarkHistograms::innerSet ffed9c3a48c handle webhook authenticator and authorizer error c3e150fada2 use default unkown sock for kubeadm cmd if cri detect is not needed 2d0ffc16769 cherry-pick part of #97451: fix nodeport quota check failure during creating clusterip d0dfecaf038 fix the panic when kubelet registers if a node object already exists with no Status.Capacity or Status.Allocatable 287ca883635 Release reserved GCE IP address after ensure completes. 37e3feac7cb Ensure reproducible builds when build through docker 4d8ac66fce1 Fix cadvisor machine metrics 3c67a0a760b Create OWNERS for most of the API Priority and Fairness impl a1ac5f4894b fix the deadlock in priority and fairness config controller 16559f765ea Cherry pick 443 and 448 from cloud provider azure d8ba4e4af42 Fix bug in CPUManager with race on map acccess 0f764ea81e6 clean up executing request on panic a79db17be1a fix azure file secret not found issue 98dffa75232 fix: azure file latency issue for metadata-heavy workload 0c0d4fea8dd Update CHANGELOG/CHANGELOG-1.20.md for v1.20.1 764cafccc4e Release commit for Kubernetes v1.20.2-rc.0 c4d752765b3 Release commit for Kubernetes v1.20.1 afaa0c6e621 Avoid checking the entire backend service URL for FR equality. 6666afa3317 Revert "Use host IP instead of localhost for control plane component kubeconfig files." 787e3a62cab Add more logging for Mount error 8a224b526c3 etcd version for 1.19 is 3.4.13 for cve fixes 5483a7230d7 Use non privileged ports 0c1a53829dd Flush FibreChannel devices before deleting 34077eedb6c Fix FibreChannel volume plugin corrupting filesystem on detach 416165a0cc6 vendor: update cAdvisor to v0.38.6 2e6a0a0a126 Update CHANGELOG/CHANGELOG-1.20.md for v1.20.0 49eb3a86d5b Revert "iAdd host IP to etcd listen client URLs." f674d4e84d5 fix migration logic d1e54b9922b APF e2e: disable drown-out tests temporarily 7d6ffe0b1a4 Add AcceleratorStats to cri_stats_provider 3321f00ed14 Release commit for Kubernetes v1.20.0-rc.0 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: update to 1.20 release candidateBruce Ashfield2020-12-032-16/+16
| | | | | | | | | | As part of this update: - we refresh our CC patch to apply cleanly - adjust the host side GO_LDFLAGS to drop linker flags that cgo doesn't like when building generated_files. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: Fix race issue for installing go2makeRobert Yang2020-10-152-0/+49
| | | | | | | | | | | | | | | | | The src/import/build/root/Makefile.generated_files are called several times during the build, so the following target which installs go2make will also run several times: $(META_DIR)/$(GO_PKGDEPS_FILE): FORCE It runs automatically when the Makefile is called because of: sinclude $(META_DIR)/$(GO_PKGDEPS_FILE) So there is a race issue of go2make when parallel build: hack/run-in-gopath.sh: line 34: build/tmp-glibc/work/corei7-64-wrs-linux/kubernetes/1.18.8-r0/git/src/import/_output/local/go/bin/go2make: No suc h file or directory Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: fix 32bit ARM buildBruce Ashfield2020-08-122-2/+54
| | | | | | | | | | Remove the remaining 'go' calls, and replace them with $GO. We also must explicitly pass "GO='go'" on the host side build call. This avoids the gnu-stubs header file issues, since the 'go' binary cannot use the sysroot. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to release 1.19-rc3Bruce Ashfield2020-07-312-5/+43
| | | | | | | | | | | | | | In preparation for the fall release, update to the 1.19 release branch of kubernetes, so that the change can soak and we can work through the rc's No unexpected build or patch issues with this bump and basic sanity testing passed. Once ore components are updated, extended testig will occur. Sanity built and tested on x86-64 and arm64 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: fix ARM64 buildBruce Ashfield2020-07-101-4/+12
| | | | | | | | | | | | | | | | The first part of the kubernetes build generates some host/build files. These use the build/host compiler and not the cross infrastructure. It was working by luck on x86 build / target matches, but blows up on an ARM64 build. We fix the CC/CFLAGS settings for the host part of the build to use the host/build flags and then restore the cross settings for the rest of the build. Tested on arm64 and x86-64. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to 1.18 release branchBruce Ashfield2020-05-111-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping k8s from 1.17 to 1.18 release tracking. Outside of the kubernetes core changes the kublete and kubeadm conf files have been removed from the main repo. We add the releases repository to our SRC_URI and copy them in the same way as we did with the existing reference files. A full changelog follows: fe3ac3e3883 fix backoff manager timer initialization race 25e2829552b Restore cache-control header filter 4f633afbdec kube-scheduler: compatibility with ServerSideApply ff43875cb67 bugfix: initcontainer wasn't considered when calculate resource request b03bb751c21 Revert "stop defaulting kubeconfig to http://localhost:8080" 7b6b53c8cbf Update CHANGELOG/CHANGELOG-1.18.md for v1.18.2 2913f32b21c Release commit for Kubernetes v1.18.3-beta.0 52c56ce7a82 Release commit for Kubernetes v1.18.2 5ca8d60f319 Fix Node initialization for GCP cloud provider b4c61594923 Simplify unregistration of csiplugin f2e37956203 Unregister csiplugin even if socket path is gone 1c73483c5de Move PSP tests behind a feature tag 34726e1b50d kube-openapi bump to release-1.18 f2de2d35086 Preserve int/float distinction when decoding raw values 6fb6533170d Fix GCE ILB for large clusters 4e644d0b484 Restore the ability to `kubectl apply --prune` without -n flag ea49e94be8a Fix client watch reestablishment handling of client-side timeouts 35235970cdf Fix priorityClass typo, add numeric priority to static pods 906513a06f6 Update CHANGELOG/CHANGELOG-1.18.md for v1.18.1 5dd22057dc7 Release commit for Kubernetes v1.18.2-beta.0 7879fc12a63 Release commit for Kubernetes v1.18.1 0d2cdc3b6d5 Test dropped round-trip annotations in HPA conversion 7909fe2d9f1 Drop round-trip annotations in HPA conversion 23c6b68f842 Skip updating cache on pod update if the node was deleted e9e1ea490f8 Check Annotations map against nil for ConfigMapLock#Update() f46ea4ddec9 Ensure Azure availability zone is always in lower cases 0dee03d1bd2 Even with build error, kubectl apply should apply all valid resources b427784213a fix: update max azure disk max count 7444c1e865b Ensure diff doesn't persist patches 4860841aa06 Fix CSINodeInfo startup 22f39eaae5f Wait for APIServer 'ok' forever during CSINode initialization during Kubelet init 1cf2fd183b7 Fix permissions for endpointslice controller b5470e1d649 Clean up event messages for errors. 26a2c61bf2b Allow list-resources.sh to continue if a resource fails to list 0c78c1e66e3 fix a bug where spn: prefix is unexpectedly added to kubeconfig apiserver-id setting 262bdad7b9d Adds integration test for apply failures when applying multiple resources 7e4d0319e3a Fixes problem where kubectl apply stops after first error 203b1ddfdf7 fix cpu resource metric type by changing to counter dd7fb533d03 fix concurreny issue in lb creation 1b15cefcc91 Kubeadm: fix Ready condition check bd9b7920920 kubeadm: add missing RBAC for getting nodes on "upgrade apply" ac62906c24d Check that ImageInspect pointer is not nil d2e35c7a6a7 Fix bug about unintentional scale out during updating deployment. 38eea6b3926 Update CHANGELOG/CHANGELOG-1.18.md for v1.18.0 5e251a7e39b Release commit for Kubernetes v1.18.1-beta.0 9e991415386 Release commit for Kubernetes v1.18.0 0630031f85b bump k8s.io/utils package dd342d7579d Simplify dual or single port logic 2ca708d2c2b fix kubectl port-forward for services with explicit local port 3c1d9790882 build/dependencies: Remove bazel WORKSPACE go_version check 374e61893b9 deps: Update to Golang 1.13.9 28a7bb5c7a7 build: Remove kube-cross image building e67d0822c96 Label Windows test as Serial. a98c208613e Fix the VMSS name and resource group name when updating VMSS for LoadBalancer backendPools. 0c34f5e431c bump k8s.io utils 3f81059b691 Do not reset managedFields in status update strategy bb673d80280 Use discovery to test apply all status cf790a8d209 Updating vendored files d28d6765656 Update vendored MountSensitive code for Windows d333dee452a add unit test for addTopology() fbbfad9f465 make filteredZones order predictable a3ec1a91bf8 Restore orphaning check in gc test d5444327df0 Update CHANGELOG/CHANGELOG-1.18.md for v1.18.0-rc.1 dbbed780668 Release commit for Kubernetes v1.18.0-rc.1 2d981b36c98 Fix isCurrentInstance for Windows by removing the dependency of hostname 8f07cdcc91e Revert "Cleanup CHANGELOG/README.md for release-1.18 branch" 7e5745380c9 Revert "Delete extraneous CHANGELOG-*.md files on branch." 2a095f434ba e2e wait until controller manager pod ready 1d84a6cb533 Add missing article in prominent release note 068963fc062 add testing d527a091927 add ExternalTrafficPolicy support for External IPs in ipvs kubeproxy efc4b121862 add ExternalTrafficPolicy support for External IPs in iptables kubeproxy df9a567f3f7 add feature gate ExternalPolicyForExternalIP for the bug fix 4d6af4d8d8f Set unschedulable Condition after setting nominated Node 334d46eed5d fix logging on e2e metrics grabber test 23c358d883b Fix unbound variable error in gce/configure.sh 4734543888c CHANGELOG: Update directory for v1.15.11 release 89532ac2f0f CHANGELOG: Update directory for v1.16.8 release ce88e65ddaf CHANGELOG: Update directory for v1.17.4 release c957b2509fd Bump Cluster-Autoscaler to 1.18.0 a68d712f129 Removing ConfigMap as suggestion for IngressClass parameters a35ca04dd66 Remove kubectl column output test e03385d6ac2 build/release-images.sh: remove possible duplicate targets 66491d2d892 Add tolerations with effect "NoExecute" and "NoSchedule" to allow schedule of nodelocaldns pods on node pools with taints 366dd4af44e EndpointSlice and Endpoints should treat terminating pods the same ced2948fdeb Remove wait.Until for running Kubelet Bootstrap 6be4d0a705b Bump Cluster-Autoscaler to cluster-autoscaler:v1.18.0-beta.1 4361f8f0521 wait until /metrics are ready on e2e test 462b75388f2 let image cache do sort on write instead of on read to avoid data 2c26e109b43 CHANGELOG: Update directory for v1.18.0-beta.2 release a9f834d17dc Implement noopWindowsResourceAllocator 21b51a1bb6c Update CHANGELOG/CHANGELOG-1.18.md for v1.18.0-beta.2 49dfa869048 Release commit for Kubernetes v1.18.0-beta.2 fa12441ab99 Preserve target apiVersion when decoding into unstructured lists ce3644ca593 Fix VMSS cache content c26653ced91 kubelet: Also set PodIPs when assign a host network PodIP b1c1187cca7 e2e: wait for controller manager pod to be ready e053fdd08ae Add NodeCIDR for detect-local-mode 6b8fc8dc5ea Move TaintBasedEvictions feature gates to GA d80981b6574 test: Detect flakes caused by container teardown races on CRI df58c042a8a metaproxier logging for endpoints ipfamily 23d9ffd4c8f Add metaproxier unit tests d8abacba40a client-go: update expansions callers 4c034278f4e client-go: add context/options to expansions methods e93c6a67d5a Use go-bindata built from vendor/ 04a72d5ef91 client-go metadata: update callers b7c2faf26c2 client-go dynamic client: add context to callers 4134494fa51 /readyz should start returning failure on shutdown initiation cb4ee9334b7 client-go metadata: plumb context 6fa54d715fb client-go dynamic context b19dc3a474e client-go dynamic client: update DeleteOptions callers 161b7513f73 client-go dynamic client: pass DeleteOptions by value d0890533a99 Updated files after rebase 73611a473ff Fix expected version for csidriver c6fd25d1003 Updated CSIDriver references 726af6bd7f2 Moved CSIDriver to GA 1e78fc0bf03 generaetd bac9351c646 refactor egress dialer construction code and add unit test fbb1fb8902c add metrics and traces for egress dials ef3d66b98bb Parallelize attach operations across different nodes for volumes that allow multi-attach 6fd748e2c56 exit if KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE is set incorrectly 723761aa887 Don't try to create VolumeSpec immediately after underlying PVC is being deleted eb9cf777dce Disable HTTP2 while proxying a "Connection: upgrade" request 06abedb0631 Allow both GRPC and http-connect mode to be toggled 1bb6ed9bdc0 Checks error for loading audit webhook config to prevent panic 5231c6815c7 managedfields: Update Apply time if neither object nor managedfields have changed df41fd932be Bump sigs.k8s.io/structured-merge-diff to v3 7120abe6989 fieldmanager: Add failing test for no-op apply actually writing to etcd 39681aa5800 fieldmanager: Move ManagedFields update logic into its own class 76f85943787 more artisanal fixes aaf855c1e69 deref all calls to metav1.NewDeleteOptions that are passed to clients. c58e69ec791 automated refactor 86bd06c8820 update clients d9671045ff5 update client gen aee9fde751c Add e2e test for validating JWTs as OIDC tokens 1d7006c38d0 Add Extenders to scheduler v1alpha2 component config 912f05bafbb ingress: add alternate resource backend da988294ec5 Work-around for missing metrics on CRI-O exited containers c7b098ac6c2 Renaming: "Change" -> "Add" for consistency with underlying method 8a1b6032098 Fix queued request accounting, extended queueset test 1fab27502b2 Disallow use of Plugin or PluginConfig when using Policy 13fa48e5924 Disallow duplicate PluginConfig in framework creation af0e1319c35 Allow container visitor to operate on selected container types 8c35e32a402 test: Properly detect container runtime flake in e2e test bb318ea84aa Update to latest node-cache image e931e30647e ingress: allow wildcard hosts in IngressRule 7d86217043c Use the v0.0.8 network proxy images 834331088fa Use versioned autoscaling API group in code-generator examples 2cd6abece45 dynamic certs: pass valid object to event recorder 3bc918e4842 dynamic certs: use correct name with event recorder 86a5993007e dynamic certs: do not copy mutex via shallow copy of tls.Config 0551d408ace Bug fix for TM none policy b1329596875 Start adding tests for verifying correct modes 4baa1d967d6 Check for nil cpuManager 1f9b1af1adb Fix Bazel build 773b890b059 Show kubectl describe ingress error 4a4852ca9a1 Hopefully plainer test strings c52d4bf32f5 Implement changes into volume plugins for skipping chown 053baaf1437 Update generated files f7509d277ef Define new type for storing volume fsgroupchangepolicy 3ee30343cc1 Fix log formatting for skipper. "INFO" is already logged by Logf, and it wasn't in the format syntax. 8943e443e81 kubeadm: deprecate the flag --use-api for cert renewal bacc2c49605 Set field manager for kubectl diff --server-side. e8b09d36440 Add AnyVolumeDataSource feature gate 389dd0a499e Don't log "SHOULD NOT HAPPEN" errors more than once per second 167d6a2c8b0 Use the same default namespace across event recorders 8bc5cb01a9c kubelet: Clear the podStatusChannel before invoking syncBatch 8722c834e5e kubelet: Never restart containers in deleting pods 2364c10e2e4 kubelet: Don't delete pod until all container status is available ad3d8949f08 kubelet: Preserve existing container status when pod terminated 6d98b0a0f4f Test that an always-fail container can't report the pod Succeeded e5b655938e5 Add kubectl debug alpha command 9044fbfc5d7 Update VolumePVCDatasource to GA for 1.18 b93e3d18e9f fix scheduler.TestCoSchedulinngWithPermitPlugin and test scheduler.PermitPlugin 9fabafdbb11 Windows specific kubelet flags in kubeadm-flags.env - Uses correct pause image for Windows - Omits systemd specific flags - Common build flags function to be used by Linux and Windows - Uses user configured image repository for Windows pause image 61565b3f6c7 e2e-topology-manager: Wait for SR-IOV device plugin 212190e25e1 Utilerrors.Aggregate: Allow using with errors.Is() 98b9c7b5e8f Fix GCE PD snapshot flakiness 2e97d3c8732 Generalized NonResourcePolicyRule.NonResourceURLs impl 16d221e4078 Promote GMSA to GA 076132e38a5 cleanup: move the test of TaintBasedEvictions features to sig-node b2677b1e572 client-go: use klog.V(3) for the cert-rotation controller start/stop 5ceecd3ba3f Update agnhost to test OIDC validation of JWT tokens 401b85e547f Add FromFile and FromExistingClassName support for SnapshotClass in external storage e2e test db3392ed124 Always include remoteAddr in source IP list for audit (#87167) 3784438b566 Prevent CephFS from logging senstive options 548b297a003 Prevent AzureFile from logging senstive options 727582311f6 Fix MountError Test 22e8189f40f Update dep k8s.io/utils to 0a110f9eb7ab f38904d6f48 Adding PathType to Ingress 9dcbc0bf909 update override behavior for kubectl --tls-server-name 02cd65d7bb5 Squash pkg/describe/versioned/ into pkg/describe/ 37c81ed79ac Support TLS Server Name overrides in kubeconfig file 07dc17ffd9a Provide more verbose empty config error based on the context 6de140567b3 Changed kubectl cluster-info dump to not display "Cluster info dumped to standard output" message when output is stdout 472a9352943 Update Cluster Autoscaler version to 1.18.0-gke.0 413960e49be cleans up dynamiccertificates package 4144a2a1cf5 Add unit tests for IsKubeletClientCSR and IsKubeletServingCSR c2367bd5da6 Extend client-go csr package to invalidate CSRs based on signerName ef5c9203259 bandwidth: use regexp to handle tc output fix newly-added 'chain N' output from 'tc filter show dev XXX' c77b297babc Hide kubectl.kubernetes.io/last-applied-configuration in describe 9dac1699bfd Wire --filename flag to exec 49b11b5431d Implement simple endpoint slice batching f535a9c9ed4 Make some metrics finer-grained, add dispatch counts, note immediate reject 81f46b64a35 add a new generic filter goaway 9902021ccd0 Fix a PodTopologySpread e2e flake 2a98cb7f8b2 Use GRPC mode for network proxy 3af671011ad Generated API 674e539fcad test/e2e/framework: remove dependencies to internal APIs efe35b9a9aa move eparis and zmerlynn to cluster/ emeritus_approvers 904c2d8bc0a add bentheelder to cluster/ approvers 83a223f5ee3 Support intermediate certificate in certificate store 60da52a24ab Honor status.podIP over status.podIPs, node.spec.podCIDR over node.spec.podCIDRs 73ad38593a0 Add default constraints to PodTopologySpread 0989770135c Update network proxy to v0.0.7 b19ad9e7a78 stop defaulting kubeconfig to http://localhost:8080 929b1559a0b Add ReloadCertFromDisk flag to rest.Config and to kubeconfig which allows the provided client certificate files to be reloaded from disk (currently on every use) 1ede096465d Enable topology-manager-e2e tests to run on MultiNUMA nodes. 4abbce4549e Refactor CPUMananger-e2e-tests so that it be reused by topology-manager-e2e-testsuite. 09598d48f65 Improve plugin args JSON tags f96c75bca29 Bump csi-driver-host-path version to get fixed block snapshots a4b59a5d7c1 Currently SRIOV detection logic is reporting error if it fails to detect SRIOV device on the system. This patch aims to fix the same. 1cb42445d76 hack/update-vendor.sh dbe84361440 Replaced uber atomic with sync atomic, removed unneded "blank import" 104db4f01b2 Fix block snapshot tests afcbb683865 Fix unit test to fail with proper final gRPC code 85367871333 Add unit tests c11427fef5b Call NodeUnstage after NodeStage timeout f6fc73573c7 Call NodeUnpublish after NodePublish timeout 86a5bd98b64 Add uncertain map state to block volumes da3c3432d83 Add context and options to scale client e8538d9b76a Add mutex to Topology Manager Add/RemoveContainer This was exposed as a potential bug during e2e test debugging of this PR. 1e613e5a4c0 Update TopologyManager Feature Gate: - Alpha to Beta. - True by default. - Remove redundant validation checks. b60c0b5c24a small cleanup for ipvs readme e79f49ebba9 validate configuration of kube-proxy IPVS tcp,tcpfin,udp timeout 132d2afca07 Adding IngressClass to networking/v1beta1 4c54241c3df Support token authentication for network proxy b5cdb6e6cb5 test/e2e/:remove // TODO: write a wrapper for ExpectNoErrorWithOffset() b63be6a46da test/e2e/framework/service/:simplify function CreateTCPService f92c55a4769 Make sure we fail the job and log more details when it does bdea23380ba Move conformance image to debian:stretch-slim 7f270038d3c Remove unused function aggregateGoroutinesWithDelay 0f4cfe58d8e Switch to UpdateVMs() for updating VMSS backend address pool c0bad80e5b4 Factor-out metrics related logic from authentication logic. f205e3dd596 Use only v1 CRD resources in e2e tests 9bfe818229e Fixed golint issues in RBD code 4ea52da628f Remove prometheus references from pkg/controller/endpointslice 2af26dca978 Add UpdateVMs() for VMSS client to allow update multiple VMSSVMs by sequential sync requests and concurent async requests. 3eec87cd915 update WithPlugin comment, in case remove function b67a033de22 Refactor: move generic functions of integration test to util directory c6b94e4606f refactor volume binder aa12e1f8c42 e2e_node add test for PodOverhead feature 002c75442d7 storage: confirm that paging and predicate filtering work together 61fa4e6c098 Address comment and remove if condition 7b214c96b01 Hide deprecated --server-dry-run for kubectl apply 7638aae77ee Update README.md 10049500c18 Update README.md 2c1b7437669 Promote block volume features to GA 3fbb549fb7f Promote the egressselector API to beta aa07992a441 update kube-controller-manager and kube-scheduler to match kube-apiserver defaults 2f5468f1ae5 update map keys api doc with validation requirements 5b3b4de972c scheduler_perf: do not override throughput labels 2e187415fd5 extend CRD map and set validation be6ac856f13 Deprecate --generator flag from kubectl create commands cb477d3cc17 fix: remove conflict comment of taint "Value" 347d8419488 Bump CSI hostpath driver 06062b15e96 test images: ARG instructions should be first 2e7ce8cea01 bazel update 6329b17d2f6 volume scheduler: introduce special string type 6eb0b034ac9 volume scheduler: move reason strings into volume code 21f78f33487 Added non-randomized tests of matching FlowSchema rules ce30d2d5c85 test images: Skip building manifest list if no image was pushed cd57b830c14 audit webhook use network proxy 1b38199ea8b pass Dialer instead of egressselector to webhooks d318e52ffe0 authentication webhook via network proxy 97e8bf5f84a Fix default regular expressions in conformance tests runner e398302dc77 Add OWNERS and testing to external extender/v1 api 711c1e17209 Rename --enable-inflight-quota-handler to --enable-priority-and-fairness. ccd9e4e2de3 Don't save managedFields if object is too large 57ea7a11a64 Remove global variable dependency from runtimeclass admission 991909fdfbb PodOverhead: remove feature gate override in tests 4637991632d Update PodOverhead feature gate for beta 18ffaf56084 Move scheduler extender API V1 to staging k8s.io/kube-scheduler d5dae048983 certificates: update controllers to understand signerName field d7e10f98697 Add Certificate signerName admission plugins da8453af6eb fix unsupported bug 567cb6c6050 fix: azure disk remediation issue acf84351e42 test images: Rebases nautilus and kitten images 117cbda4870 Image Promoter: Allows images to be pushed immediately after being built a983356caa9 Add signerName field to CSR resource spec fb7209486e2 fix: azure file mount timeout issue 11656478be9 register metrics from comp-base 1f9f2390cb5 Add block cloning tests 2327934a860 Rename GetTopologyPodAmitHandler() as GetAllocateResourcesPodAdmitHandler(). It is named as such to reflect its new function. Also remove the Topology Manager feature gate check at higher level kubelet.go, as it is now done in GetAllocateResourcesPodAdmitHandler(). e26fff5cbc2 Update to golang@1.13.8 a9c61295779 Device Manager - Update unit tests - Pass container to Allocate(). - Loop through containers to call Allocate() on container by container basis. cb9fdc49db8 Device Manager - Refactor allocatePodResources - allocatePodResources logic altered to allow for container by container device allocation. - New type PodReusableDevices - New field in devicemanager devicesToReuse 0a9bd0334dd CPU Manager - Updates to unit tests: - Where previously we called manager.AddContainer(), we now call both manager.Allocate() and manager.AddContainer(). - Some test cases now have two expected errors. One each from Allocate() and AddContainer(). Existing outcomes are unchanged. 467f66580b9 CPU Manager - Add check to policy.Allocate() for init conatiners If container allocated CPUs is an init container, release those CPUs back into the shared pool for re-allocation to next container. 709989efa2a CPU Manager - Rename policy.AddContainer() to policy.Allocate() 0d68bffd03f Change GetTopologyPodAdmitHandler() to be more general b6b60f7fa50 test images: Temporarely exclude Windows test images c57f20b7129 tests: Replaces dnsutils image used with agnhost (part 4) 2543598628d Fix etcd issues on ARM b2528654797 kubelet: Avoid sending no-op patches ef786c9fa2d Setting a Pod's nodeAffinity instead of setting .spec.nodeName directly 505dff6d20a Fixed in the GCE/PD in-tree volume logic to expose the max number of persistent-disks for each instance type correctly. 517a41fe849 Fix an "index out of bound" issue in scheduler preemption e2e 7346579a032 Update etcd debian base image to v2.0.0 e64169d6b51 build: Enable kube-cross push/pull from K8s Infra GCR bb0d9c9f239 build: Add justaugustus as reviewer 23b69a97c6d build: Add OWNERS on build-image/ ee00896712c add support for single stack IPv6 fd5b298c508 Test PodTopologySpread.PreScore instead of internal pre-processing. 0e46803e778 Test PodTopologySpread.PreFilter instead of internal pre-processing. ca5d394f6a2 fix the coredns preflight check for unsupported plugins 10805e04522 [refactor] fold PreemptionExecutionPath into the existing top-level SIGDescribe e8245d6fd91 Add unit test for framework plugin configuration 79680b5d9bf Fix pkg/controller typos in some error messages, comments etc 07c4982245f Add unit and integration tests for multiple profiles support bf605043653 fix import formatting in gce_utils.go 2a056134809 gce: remove duplicate patch service method ed0e0350854 Add documentation around plugins b342818361f Add CHANGELOG/CHANGELOG-1.18.md for v1.18.0-beta.1 c431b5444a6 Update CHANGELOG/CHANGELOG-1.18.md for v1.18.0-beta.1 f2d7577e318 Release commit for Kubernetes v1.18.0-beta.1 5a6435ad768 fix: corrupted mount point in csi driver d71829a1fc3 e2e: avoid setting NodeName for CSI driver deployments 7d59ea8394e Reorder conditions in FindMatchingVolume to avoid checking NodeAffinity in trivial cases. c80dcf56ee2 Ensure webhook/quota/deny admission comes last 6a337276323 Adding AppProtocol to Service and Endpoints Ports 2bcf99f05fd Improve rate limiter latency logging and metrics 7b2a0a42601 update bazel 5da37d5b5ef Fix a scheduler e2e bug on PodTopologySpread scoring c6c0bb254af Update version of GCE PD CSI Driver deployed in tests 33ef66b9275 Updating OWNERS for Windows+Azure tests d44d5b35f3d Add show-hidden-metrics-for-version to kubelet 8cb84feef3d test images: Updates agnhost guestbook ea45da7e52a apiextions: add list-type: map|set CR validation 23340d7522c [UseNetworkResourceInDifferentTenant] Fix bug of setting incorrect subscription id on azure network resource clients. 7e1ec59fe2e Remove AlgorithmSource from v1alpha2 c0488584712 Support multiple scheduling profiles in a single scheduler 08473a49497 remote patch.go and patch_test.go files bd8ed0a2a7d Add BenchmarkSchedulingWaitForFirstConsumerPVs benchmark 98df9d9db60 Make sig-scalability reviewers / approvers of cluster/gce 6739bde9ca1 Create OWNERS file for cluster/log-dump 34206a610a1 Don't rely on contents of optional Condition fields in CSI mock test 1c0a78a4fdb Use servicePatch methods from cloud-provider repo in service-controller 60f3ebe6b54 Remove alpha feature test for EvenPodsSpread c261d12bbf7 kube-proxy: fix confusing default value for healthz and metrics bind address, deprecate healthz-port and metrics-port flag bdc54eb18a5 Use compute v1 api to specify network tier d578c02975b Fix pkg/registry typos in some error message, variable names etc a3f6627ce80 scheduler: deprecate deprecated metrics in 1.19 388ebfe7d0e append_or_replace_prefixed_line in /cluster/gce/gci/configure-helper.sh fails for prefixes that contain quotes and = sign. 45d69b3a5a1 test: don't use hardcoded pod count for memory limit test 2683b1065c0 Update the conformance list and doc generation logic cb12e8a059b update corefile-migration library to 1.0.6 a980cb7ead3 update coredns to 1.6.7 886214f48c6 Fix recent context change after rebase 4eb06577dc5 Fix golint issues for `core/v1/validation` 63ff616aa8d Adding Windows CPU limit tests 19acf7d0515 Fix cpu resource limit on Windows b50f60c98fd scheduler_perf: allow to override the default benchtime 0f3e0b40f68 scheduler_perf: describe how to run BenchmarkPerfScheduling manually 9e71741d066 Add Profiles to kubescheduler.config.k8s.io/v1alpha2 1b710a4c56c kubeadm: modify how component volumes are printed 0f31bef94c4 Default grace period to 0 when --force is used to delete an object 87d0e826c15 Remove the unsupported CloudProviderBackoffMode from Azure cloud provider config. a8c41ae5fb9 Deprecate service annotation service.beta.kubernetes.io/azure-load-balancer-disable-tcp-reset 109f5db5a33 kubeadm: allow creating a cluster with ECDSA keys b38ed0467f9 Support cluster using network resources (VNet, LB, IP, etc.) across AAD Tenants. 64c4876ccd0 Add e2e session affinity timeout test e268f033b67 Revert "Mark session affinity tests as [Flaky]" 457c05feb87 deflake e2e session affinity tests 2e23f847458 kubeadm: fallback to a known etcd version if an unknown k8s version is passed 0e3b7a7aea3 fix test failure e5bb6af4756 fix: add remediation in azure disk attach/detach 8c633356df9 move well known cloud provider taints to k8s.io/cloud-provider/api b873cbbed58 Fix: pkg/apis Typos in comments, function name, error message 5362e8b6cb1 Fix initialization bug in `FakeImageService` ed9492ad69f use ControllerClientBuilder from k8s.io/cloud-provider in cloud-controller-manager 8067dd84700 kubeadm: fix the bug that 'kubeadm upgrade' hangs in single node cluster fdec0ee1214 tests: Create pod for Windows test a6dc7ba1387 Add release-1.18 publishing rules d10e3da92d3 Fix typos in some error messages, comments 0acaf5c3e93 Fix kubectl describe ingress annotations not sorted 5db45e12d54 fix kubectl create deployment image name ea5bea2b9fc Respect ignore-volume-az option in admission plugin 190a72392ae Refresh discovery server resources for memCacheClient in parallel 78b18ed6f4e Swith to mock clients for route/routetable/networkinterface tests 8c6956e5bb4 Refactor handling of local traffic detection. a54a52c5de3 Enable field management for all new objects c811fc58ef0 check ip family for node port connectivity test 684d6fb0ade Instrument DEK cache fill and request inter-arrival times. 68b7564e7ee fix alias for stack protector kernel config. 1d896db61cc e2e-scheduling: add basic PodOverhead test 2568b552c84 Fix aws provider to return no error when instance is not found for InstanceExistsByProviderID cd5cf567d88 Avoid adding labels to nodes in CSI mock driver c20e6043777 Revert "log-dump.sh: allow to dump extra log files" bb0a5ab016b tests: Fixes Hybrid cluster network test 4cb28f64ea2 Fixes for the `No ref for container` in probes after kubelet restart 7c3f6fa3234 test/e2e/framework/node/:remove TODO and make some functions private 91dc590cde7 test images: Adds building README b71fbdb3643 Image Promoter: Adds Windows build nodes for Windows test images fe15a46939c test images: Use multiple Windows nodes to build images 3cdb7a89cbb test images: Adds multiple Windows channels support 296464d968b test images: Adds Windows support (part 1) a4ceb143ddb images: Changes the image naming template 25b7a138644 images: Configurable BASEIMAGE hierarchy efcdb929dec images: Adds linux/ prefix to BASEIMAGE entries 22a5fbcfa98 test images: Bumps image versions e5760015d20 e2e-framework-node: add runtimeclass to dedup code 54be6ca6794 Update API doc for feature PodTopologySpread (a.k.a EvenPodsSpread) d44a30f0edd Moving Windows RunAsUserName feature to GA f90726a6a6f fix get-kube authorization headers 86ead631585 update golang.org/x/crypto 78e98da1dbc test/e2e/framework/log: optimize PrunedStack() d798ccbba16 Add tests for egress selector a980a1fa24b Add e2e test to test Except clause in NetworkPolicy 907ab25b6fc vendor network proxy client 55b89a6451d Support empty root CA for konnectivity 725d2b6a8fd Network Proxy: GRPC + HTTP Connect with UDS 64904d0ab8b e2e: topomgr: extend tests to all the policies bdc4e2fd17d Support injecting errors for `FakeImageService` c43b9405860 log-dump.sh: allow to dump extra log files 03ecc20b199 empty_dir: Check if hugetlbfs volume is mounted with a correct pagesize 3e59a0651f1 kubeadm: optimize the upgrade path from ClusterStatus to annotations b140c5d64b5 kubeadm: remove `ClusterStatus` dependency a249b93687a e2e: topomgr: address reviewer comments 44e6a506b9b fix: check disk status before disk azure disk 97fc3e6139f Fix typos in apiclient util e6b9a7a3098 Fix golint errors in pkg/controller/garbagecollector aecce98a542 wait for pruned CR to be invisible from API e2c733a702e test: export a fake Azure cloud Via the exported GetTestCloud(), we can reuse the code for the unit tests in Azure related CSI drivers. a9ec444d743 Add --dry-run to more kubectl commands. ad8bf3c1397 kubeadm: do not pin unit tests to a version 22319019abc kubeadm: update constants for 1.18 98ad7416faa Start deprecation process for StreamingProxyRedirects fdd7424d191 add logging for csr being approved and issued. 74718adf109 fix data races for other usage of Q 92759ea6429 NetworkPolicy e2e test should wait for Pod ready 833519f80b6 e2e: topomgr: properly clean up after completion 7c12251c7a6 e2e: topomgr: add multi-container tests 8e9d76f1b95 e2e: topomgr: validate all containers in pod ddc18eae67c e2e: topomgr: autodetect NUMA position of VF devs 0c2827cb504 e2e: topomgr: remove single-numa node hack bb6beb99e5a e2e: topomgr: early check to detect VFs, not PFs 882d6e93afd Implement tests for multiple sizes huge pages 0eb65bd7da2 Implement support for multiple sizes huge pages 76847b3a6eb Cleanup CHANGELOG/README.md for release-1.18 branch b410f77d314 replaced tokenaccessreview with tokenreview 7e33feec572 fix data races in scheduler unit tests a024ac14ef1 Add init containers to dump info 0ec85320cff podlogs: include node name in prefix f85e079147b optimize kubectl version help info a1523a049ff homogenize metrics naming 6d3a18b0be4 test images: Image Promoter sed fix da6f89217d3 adding response headers f7942290af0 tests: Replaces images used with agnhost (part 4) 7f56c753b31 Make MetricCollector configurable for scheduler benchmark tests 5b7ae34eada Switch EndpointSlice to use discovery v1beta1 api fdefdff2225 add delays between goroutines for vm instance update 1208bc34c4e kubemark: move a channel send out of critical section d9f7a1f3114 Don't call delete for already deleted volumes af9e0be163a kubelet: Record kubelet_evictions when limits are hit ae0e1b0ca29 Update default cos image to include runc-1.0.0-rc10 b757ca16e2b Add more E2E tests for the ../poddisruptionbudgets endpoint 89bb7d84541 Honor the RevisionHistoryLimit in StatefulSetSpec d221d82eaf3 run permit plugins in the scheduling cycle ca399e63157 Add a README describing behaviors b7dcc4ac298 Release commit for Kubernetes v1.18.0-beta.0 fac4a09f9ee Delete extraneous CHANGELOG-*.md files on branch. c8377ef7dbc Add BuildArgs to interpodaffinity plugin 0dfe0c793b5 rest: remove connection refused from the list of retriable errors 6846a0a6b62 Implement ItemBucketRateLimiter 9eb45d22a43 Fix wrong alpha version for ValidateProxyRedirects fd81f04036d Update Go modules 1ade9476980 chore: move caches to a separate package b6511788491 fix incorrect configuration of kubepods.slice unit by kubelet (issue #88197) 70a28579988 test/e2e/node: fix selinux test failure e77df88200f Present more concrete information about pod readiness 119f4df9c5c test/e2e/framework:remove unused code and move const a31ccc7b99b kubeadm config images list: test structured output 23e4d05083b kubeadm config images list: implement structured output be7e5b47fe2 kubeadm config images list: update output API 9c8d4bedccc test/e2e/framework:remove TODO and make func private 073d0b23407 Add getPublishDir and getVolumePluginDir 51d44af1866 Fix route conflicted operations when updating multiple routes together 53cda47913f update bazel configuration 6a773fb9c2d fix: update max azure disk max count 8fd0d8028fe Remove `FilteredNodesStatuses` argument from `PreScore` interface d97169f59ad Clean up --dry-run values. c93dffdfc44 E2E tests for PodTopologySpread 5fcd9c7c7ec Error if --local and --dry-run=server are passed 4454ce6f373 fix shellcheck failures in health-monitor.sh d827f2634ac update stale pause image comment 8ba86728e3d bump pause to 3.2 in kubectl test data 53da837872a bump pause to 3.2 in hack/ 3fb71832153 bump pause to 3.2 in test/ 583f804652f Do not dereference qcAPI which maybe nil 2fd62ad72ad added nodeSelector to constrain it to Linux only 0e178f93414 rename to sharedLimitWriter 1631825e447 bump pause to 3.2 in kubelet a00a1e39ef6 bump pause to 3.2 in kubeadm 12abf03f6b4 Shrink mutation detection critical section b142868eaf4 Version the API Priority and Fairness FieldManager values 51120d133ce Report scheduler_perf integration test kube-scheduler metrics into artifacts dir 6068ce96b1f fix: get azure disk lun timeout issue c1383e99af5 Add deletion interfaces for VM, VMSS and interface clients bb770c0325a e2e: getCurrentKubeletConfig: move in subpkg 8b825d15111 Add show-hidden-metrics-for-version to scheduler a20ae3953b5 Remove optional from core docs for 'Type' (#88029) 932500c0151 Remove deprecated rolling-update command 3342e4a09a9 Extend CPUManager e2e tests to run on MultiNUMA node with/without HT 6e933199c9e Change line terminators from CRLF to LF c83a860e9d8 Fix a bug in e2epod function a4e4a994352 Remove PodBackoffMap ef8627c95e0 Construct http Request using http.NewRequest 0da08ffd6a6 Updated test cos image to include runc-1.0.0-rc10 becc4b7d57f remove unused manifest-tool rules 20b1597302a switch pause to docker manifest instead of manifest-tool fc5b08569f2 Create an OWNERS alias for net-driver-approvers 719b3286635 add a changelog note for pause 3.2 b6bdf5172e3 Update Abdullah as the scheduling feature approver a4230055f36 address review feedback bcd975aa657 Replace Beta OS/arch labels with the GA ones c0580730469 Add a event to PV when mount fails because of fs mismatch efec7e64ce0 remove TODO and use framework.SingleCallTimeout 99bda6fac09 Remove HardPodAffinityWeight from v1alpha2 55b687054d5 Fix updated pod NetworkPolicy e2e test 666bc6aeb42 Scheduler: Exclude plugin config for empty policy arguments 53fce7641fb OWNERS(releng): Remove aleksandra-malinowska from Patch Release Team 5643280438d OWNERS(releng): Add Branch Managers to release-engineering-reviewers d6fcc224f17 kubectl cluster-info dump: use file extension according to output format e42940a67b4 CHANGELOG: Update CHANGELOG-1.18.md 6729bfd648b use network proxy for proxy subresources 7b5534021ce Collect some of scheduling metrics and scheduling throughput 15bc88785a3 test/e2e/framework/util.go:make function LookForString private 08ba240c6bb e2e: e2e_node: refactor getCurrentKubeletConfig 0bd2e629c73 Fix unit tests e2d8e575f04 Add CSI block volume directory cleanup c78c0e949d3 Remove unnecessary calls to GCE API after PD is created. 528adbefe4d Remove client cleanup from TestCleanup 7f9e228bd75 Fix impossible condition in test/e2e/framework/resource_usage_gatherer.go c099585b10c Add CHANGELOG/CHANGELOG-1.18.md for v1.18.0-alpha.5 13b80b48cd0 Use --dry-run=client,server in kubectl. e8f67d122f8 Fix gce-cos-master-reboot test 3072f9080ef update pause to 3.2 since we changed the build 5782d616f2f Move skip method from e2e fw ginkgowrapper to e2e skipper fw aa4113d777d Set up connection onClose prior to adding to connection map d61e90b0eeb Separate containerd install from config, and other cleanups 81668cb8871 Change migrated-to annoation key to follow best practices by removing beta and using 'pv' prefix 8ff6b24c573 Don't show flags in api-versions help f5b7e3cca35 Rename `PostFilter` plugin to `PreScore` cc32702e8fa Add ephemeral containers to streamLocation name suggestions 0368a7d5f7a Fix example of kubectl config set-credentials 0421b40d795 Remove tautological condition in test/e2e/framework/pod/resource.go 6a487723eda Make Azure clients only retries on specified HTTP status codes c048fb19fc4 Initialize http Request Header before RoundTrip to avoid panic d9184b75c99 Convert volume.TestConfig to use NodeSelection 76a4a34dae9 Pass NodeSelection directly into e2e testsuites so that tests can use them more consistently 242e3ebf01d Add buffer for GC resync retry to GC e2e tests fb9f02b5e11 Don't set NodeName directly in Pods so that it still goes through the scheduler 0ba58915194 kubeadm: update embedded CA in kubeconfig files on renewal 5a176ac7724 Provide OIDC discovery endpoints 06fad92509d Add CHANGELOG/CHANGELOG-1.15.md for v1.15.10 1653476e3f6 proxier: use IPSet from k8s.io/utils/net to store local addresses 77feb1126e4 userspace proxy: get local addresses only once per sync loop 126bf5a231c ipvs proxier: use util proxy methods for getting local addresses 313c3b81e3e iptables proxier: get local addresses only once per sync loop 9e5a06c3edd update vendor k8s.io/utils to 5f6fbceb4c31 e3ab253cd81 Add CHANGELOG/CHANGELOG-1.16.md for v1.16.7 888a322d9ca Round times to nearest second before sorting f26dbc473d1 Avoid running docker specific test in containerd 5e94cccf5c3 Add CHANGELOG/CHANGELOG-1.17.md for v1.17.3 a657d51ce35 Lower server-side apply percentage to 10% 89066cceb92 Add RegisterPluginAsExtensionsWithWeight ca81235f241 Fix serializer test c27fb4bad6f dump docker image list 2430c48c104 Delete pod in volume tests 9cb7f54c0b6 fix: add azure disk migration support for CSINode 11263bb57f9 kube-proxy filter Load Balancer Status ingress fb895056c65 Add test 73614ddd4e4 Added API Priority and Fairness filter and config consumer 8f764b113e9 Support for adding test-handler for containerd fe312ed74af add index for pod cacher 01328ae291f add roycaihw to reviewers in apiextensions-apiserver 1ee35e788e2 Use NodeSelector instead of NodeName in hostexec Pod so that the Pod runs through the scheduler 09121d96861 Add missing tag to vSphere storage E2E tests 70cce5e3f13 e2e: topomgr: introduce sriov setup/teardown funcs 2f0a6d2c764 e2e: topomgr: use constants for test limits fee1dba0542 e2r: topomgr: improve the test logs 83c344647f5 e2e: topomgr: better check for AffinityError 512a4e8a3e2 e2e: topomgr: reduce node readiness timeout 3b4122bd038 e2e: topomgr: get and use topology hints from conf d9d652e867d e2e: topomgr: initial negative tests ee92b4aae02 e2e: topomgr: add more positive tests 1b5801a0869 e2e: topomgr: add option to specify the SRIOV conf 6687fcc78c1 e2e: topomgr: autodetect SRIOV resource to use fa26fb68179 e2e: topomgr: check pod resource alignment cd7e3d626c5 e2e: topomgr: add test infra 1fdf2621378 e2e: topomgr: explicit save the kubelet config 5954f34ade6 migrate authenticator and authorizer to Create 119f2208324 remove authn/z.CreateContext expansions c049f30ef2a Pass context to tryAcquireOrRenew 8a3f587b049 Add fast path to node authorizer for node/edge removal 3e0c0792d71 Switch node authorizer index to refcounts 6d335372b2d Add configmap->node destination edges to the node authorizer index a4d7a67bbd4 Run Windows kubelet stats e2e tests serially because it needs to start many pods on a single node 7a0690cd592 Use ProxierHealthUpdater directly to avoid panic 8438bba5fd9 Enable field management for all new objects 114e283154d Add damemi to sig-scheduling owners a7057f8df0e Cleanup "slow-path" logic in scheduler Filters c2d3e54551e EndpointSliceTracker should track updated resource version bb2b50f3db8 Garbage collector should orphan ControllerRevisions too f2150587f32 kubeadm: remove 'kubeadm upgrade node config' c2c3c478cdc test/e2e/framework:move functions to test/e2e/scheduling/ 0b168f02436 Change devicemanager to implement HintProvider.Allocate() 91f91858a54 Change CPUManager to implement HintProvider.Allocate() 9e4ee5ecc3f Add Allocate() call to TopologyManager's HintProvider interface a3f099ea4d7 Split devicemanager Allocate into two functions 63f0078cccc register queue metrics in controller manager 95ddc029fad Make DisruptionController eviction tests serial to avoid flakes 0e47c86378c add StatusConflict as non-retriable error for disksClient 598c279ecc0 tolerate when bazel shutdown errors out da024f9a577 Ability to override versions of containerd/runc acd286d95d8 Install containerd package depending on CONTAINER_RUNTIME c4ef6a94b32 Add gid to config.toml only when docker group is present a6caa0a4726 Treat replaced events that didn't change resourceVersion as resync events d1ec762a91f cross build pause with buildx e96b037be3f test/ : fix non-ascii characters bfc75d9a5c1 manual fixes 1dcd1fb3b7a generated: update clients 25651408aea generated: run refactor 6c274ea72d1 update client gen 364c6f11733 remove TODO and unused code 44bf3475ea6 Fix non-ascii characters in test/e2e_node and test/network. 657dedc3be3 add azure disk WriteAccelerator support 0714f814fe0 kubeadm: remove 'kubeadm alpha kubelet config download' e167b44c170 kubeadm: deprecate --kubelet-version command line option 142778ac6c8 fix: add non-retriable errors in azure clients 527de3b5152 Update with update-bazel.sh script f4940cf55fd Staticcheck: vendor/k8s.io/kubectl/pkg/scale|describe/versioned|cmd/top|cmd/util/editor|cmd/top 26377722982 some manual fixes 9443a381444 generated: update clients 3aa59f7f307 generated: run refactor 7e88d8db666 update generators f1248163ff4 add exponential backoff with reset to reflector b8e2b0d990e Refine WaitingPod interface d9faaca6473 Bump to latest SMD to pick up performance optimizations 9802bfcec05 Add code to fix kubelet/metrics memory issue. 6f8dfdfb0e7 Fix docker/journald logging conformance 81252a6d78c added env var WINDOWS_CNI_STORAGE_PATH and WINDOWS_CNI_VERSION 2ffb13e822f Do lenient decoding only for kubescheduler config v1alpha1 63a15da505e Fix non-ascii characters in test/e2e/storage 36785bedfcf Ensure bazel is really brought down ba38816d423 LogResult if there is an error 0b32e142d47 Drop k8s.io/node-api packages f48e5de9632 Remove the exponential backoff in NodeGetInfo 2c93aa6ec37 Ensure kubectl is available in PATH by explicitly exporting the script 56711b9ac06 cluster: Add justaugustus as reviewer 8ec193ba9ce Limit number of instances in single update to GCE target pool ea140f5e1a1 Register conversions for kubectl testing types 99c15d28288 Support config kubelet provider id for local cluster. ad9d2d71c08 remove bash examples/comments from the v1beta1 and v1beta2 APIs 785fac68266 Make updateAllocatedDevices() as a public method and call it in podresources api bfe696b49cf Use longer pod start timeouts for specific tests 2a5bce8c820 use tars instead of debs to build server images ac9983f43df build: Remove references to debs/rpms in BUILD/dependency files baec6d4af55 build: Remove deb and rpm build definitions/specs 1071eb89f3c Remove deprecated fields from kubescheduler.config.k8s.io/v1alpha2 e41f2ccd412 gce-addons: Make sure default/limit-range doesn't get overridden 7b44ad0606d Update conformance requirement check e9e11de4e1b Remove Error log for nil StartTime 871739e4df7 Check getNodeInfoError against nil 38ecb30c58b Revert "Collect some of scheduling metrics and scheduling throughput" 999fdfaddf2 Calling hcsshim instead of docker api to get stats for windows to greatly reduce latency e8f12692dfd adding e2e test to ensure it takes less than 10 seconds to query kubelet stats for windows nodes a52776fbfb3 Add UpdateTwice and UpdateApply benchmarks for fieldmanager 815206685cf PodTopologySpread excludes terminatingPods when making scheduling decision 22bd92a390f Changed comments to match with interfaces method description 026ba549614 Fixed Golint errors in pkg/registry/core/pod e54bfa4652d CHANGELOG: Collapse README.md headings in single list f185c474e0f Add some aliases into import-aliases for e2e framework e05f8e6991d Re-adding the [[ as per review comment request 527e66fc282 Add kubectl diff exit code doc 0380aff70c4 CHANGELOG: Move changelog, soft-link to top-level, refresh listing a6b0eaecc99 CHANGELOG: Move changelogs into a subdir to delegate releng approvals d5edfc98174 fix staticcheck errors in vendor/k8s.io/legacy-cloud-providers/aws. 0c74a260c97 update generated file 5035d841cc5 update translation fc719c13f5f Explicitly shutdown bazel after the target finishes c08db5feacc add a flag in azure auth module to omit spn: prefix in audience claim aed4d639a5a kubelet: Debug pod status output diff is wrong 378fcc809ab Check for node IP f20e17e9dd2 python snippets should work on both old and new python versions 30989b648d8 Remove references to prometheus is test/e2e 6dda7adaf59 kubeadm: dual-stack validation allow single stack fa9ba80a67d validate storage cache indexers b9a586e3822 Fix non-ascii characters in test/e2e/node/pods.go d1bc1875aac Move 'path' package usage to 'path/filepath' fc8a39d439e implement backoff manager 9b23f22472e Make oidc authenticator audience agnostic 5bb1838c5c1 Updating dependency sigs.k8s.io/yaml to version v1.2.0 ca7a456a6b2 add myself to hack/OWNERS 724fb733d12 Change HostPath to EmptyDir for VolumeSubpathEnvExpansion e2e tests da4b0b0fa10 Validation for behaviors 9d3670f3586 Ensure testing credentials are labeled as such ea693833c8d Validate Except of IPBlock for NetworkPolicy spec 4b294079458 Add CHANGELOG-1.18.md for v1.18.0-alpha.3 0a476eb7d4a reduce overhead of error message formatting and allocation for scheudler NodeResource filter 2d21f16c38e Fixed code formatting issues discovered by verify-gofmt 97185e97529 Fixed problem in unit test where error expected/actual comparison was not being performed 48ee18b516b Removed unneeded newline (moved to end of directory not found message) f60c0af9771 Ignore empty or blank string in path when listing plugins 78248d0c2aa Fixed code formatting issues discovered by verify-gofmt 1fc80c57eea Autogenerated 881dde8bee8 Remove unnecessary manual conversions e70a630dac6 Added 'No resources found' message to describe and top pod commands 059429ce53a kube-aggregator: increase log level of AggregationController API group logging 439f93c91b8 kubectl: allow to preselect interesting container in logs 7368862c19e makes unavailableGauge metric to always reflect the current state of a service 69df8a8230f Add a fast path for adding new node in node_autorizer. b1d027742b8 Update for loop in server image image creation bf7112ae8ee Add shellcheck disable for set $wrappable 82f3f33eea8 Simplify and improve find/tar lines b69a38667e8 Update after review comment 8823a867183 Fix src_tarball packaging 20aeeed0f0f Replace for loop with find command 1b8107d60bd Update after review 468611d6e0a Update after review comments 405609b920b Fix shellcheck warnings/errors in /build/lib/release.sh d8c16a9eb22 Fix non-ascii characters in test/e2e/common/projected_configmap.go 0c40daddb0c Add an option to external storage e2es to use a copy of a pre-installed StorageClass 65483a19abd generated: update clients 41bd53866ef remove create expansions form authn/z clients 533d0b7f74d use generated clients instead of expansions for most of authn/z adcdb2fd72a Enable FC mount options 97eed70d743 Add konnectivity log files 60c972098ce Add defaults to pod affinity args 6acc75b4185 Only set admission review reponse patch type if the patch is not empty dc3f31569e4 Ensure specified container runtimes are present d5addb4090f Cleanup logging and creation logic of TopologyManager in prep for beta bc686ea27b0 Update TopologyManager.GetTopologyHints() to take pointers adaa58b6cb0 Update TopologyManager.Policy.Merge() to return a simple bool 95a3ac447f9 Fix bug in TopologManager RemoveContainer() 087dc49a0c0 fix range copy issue 0f187154731 snapshot clientsets pending context migration 1e50bc2d094 Add error check in kubectl proxy on server setup 00cd8c8d922 test images: Adds Image Promoter details in the README 87582e2c3c1 add indexer for storage cacher e3c8add683a fix kubectl drain ignore daemonsets and others ee3f897ca7b update network-y stuff for supporting ubuntu/bionic as master 8a1c4a5a88a Collect some of scheduling metrics and scheduling throughput df9b4e92e84 use network proxy for aggregator api 82a68be3043 Log when client side rate limiter latency is very high 0e00e0af115 Adds more unit test on Bind extension for the scheduler 8ce61eef5b2 add to api repo documentation dfd8e4e4670 Enable selinux tags in make targets 31df7077e16 Update OWNERS b11b7d354de WatchBasedManager stops watching immutable objects becdd790671 Initial example behaviors 2eb48f6049c Reduce default CPU requirement for konnectivity server ff8256de3f1 Added server-side print column about FlowSchema referential integrity cc7799a4372 Update GCP Windows node image versions 331cd94ccc0 Ineffassign fixes for pkg/volume 7ff3a1f8db8 test/e2e/framework: remove skip.go and use e2eskipper subpackage 4844b382dc9 kube-proxy: validate dual-stack cidrs 82107ff8ab9 Restore statefulset conversion that populates apiVersion/kind in volume templates 5dcf08c1993 Switch pager to return whether the result was paginated c9c4be66d3e Fix pending_pods, schedule_attempts_total was not recorded 773d3583bcb Avoid thundering herd on etcd on masters upgrade 72fe307b35f Move 'path' package usage to 'path/filepath'. 6c3093f9705 Ineffassign fixes for pkg/controller and kubelet 43ce2eb1ff8 Ineffassign fixes for pkg/proxy b6ba39d013f Fix comment whitespace 498ae799b5a Use standard default storage media type in local-up-cluster 8d7780d6358 update github.com/docker/libnetwork to c8a5fca4a652 af52beda260 Extend --dry-run to support string values. d8c00b7f529 Fix node authorizer index recomputation 3eea0d14052 kube-proxy: Only open ipv4 sockets for ipv4 clusters d05bcf6800e Add namespace mode targeting to dockershim 4d4e111f019 Generated code for kubelet namespace targeting 9a6d50cb2af Add namespace targeting to the kubelet 9bfcc6144e5 fix: missing variadic dots 47277f281eb Allow Action's Matches function to specify a subresource. 7f2200c61a7 Fix backoff retries for AzureFile client 40de7f2569e Add disableAvailabilitySetNodes to avoid VM list for VMSS clusters 6da3b70377d grammar change for pods status in tests 8bd9c994ca6 fix command variable exited with status 1 0d9f9fca89f Fix non-ascii characters in test/e2e/common/runtime.go fee77388c6d Make schema error log message more useful 4940e42b923 Fixed listType annotations for API Priority and Fairness 3d83ef2e8ec Autogenerated and build files for kubescheduler.config.k8s.io/v1alpha2 11c4bcd9dd5 Copy kubescheduler.config.k8s.io/v1alpha1 files onto v1alpha2 8daa7617575 Clean ups on kubescheduler.config.k8s.io/v1alpha1 files 9bd42287f90 Move mutating admission into finishRequest 75cf4d79f2c remove client label from healthz metric test 215b875dbf6 Add GC e2e debug logging a2399064a77 Allow update of onXPN field in fake GCE clients. cc3190968b1 remove client label from apiserver request count metric since it is unbounded fad11f87b42 Add foreground deletion check to ensure GC is aware of the new custom type cd1059e3c4b Revert "Merge pull request #87258 from verult/slow-rxm-attach" 9d2786c383d Fix back off when scheduling cycle is delayed 99b301d7e1a Fix preemption race conditions on heavy utilized nodes 968adfa9936 cleanup req.Context() and ResponseWrapper d55d6175f8e refactor 59e757afef0 regenerate clients 5360db5df81 update generator 510aa1b4324 update rest.Request signatures ed48ed0122c various context related cleanups to rest.Request 2686087888f Update GCI_VERSION to cos-77-12371-114-0 as older image is deprecated fe10c702d24 e2e dual stack retry getting endpoints 3d70e650ce3 Set cache to nil data when Azure node provisioning state is deleting 1174e6698ec cni: Update CNI version to v0.8.5 a3c434510d9 volume binder: enable klog flags in test 5c8929d95e8 volume binder: convert to sub-tests b430f022fce build: Don't attempt to use mirror for CNI plugin downloads 96f2588b610 cni: Update CNI download URLs to use new GCS bucket (k8s-artifacts-cni) cb942c23a7f Update GCE Windows smoke-test script to work with 1909 nodes. 0ce49aea1fa Update get-build.sh 1de2327afc9 Attach a new finalizer in GCE ILB creation. 43c7f3be298 Register RunPodSandbox* metrics dc731e4a1cb Clarify sha matching etcd release tag 427f0f94636 Add apiVersion to involvedObject a4d1624fecb Skip default spreading scoring plugin for pods that define TopologySpreadConstraints bae4ff565fc fix apiextensions reference in controller/clusterauthenticationtrust bea4b611582 Fixed a failing test on a RBD mount scenario cece51b9b0b bump gengo version 558f6aab56c add staging directories to import-boss verify script db19fc94273 add import-restrictions to apiextensions-apiserver/pkg/apis,v1 and v1beta1 07e3cca6d0e update existing import-restrictions files 39f6c784b73 Cleanup validation for immutable secrets/configmaps 647838f8d50 switch log verbosity for cache refresh logs d95ed2c8470 various context related cleanups to rest.Request 18fe96f629e Reduce public methods for DryRunVerifier 463442aa290 Update container hugepage limit when creating the container e992ec0d59b Add comments in several hack/*.sh b7817a2981e Add annotation annealing for migration for PVs and PVCs during syncVolume and syncClaim. This allows external-provisioners to pick up and delete volumes when they have been rolled up from previous kubernetes versions. 6901346e223 don't specify apiVersion when getting AAD token b263c875967 Update CHANGELOG-1.17.md c6a03fa5be5 Parallelize attach operations across different nodes for volumes that allow multi-attach e2d7153a133 set nil cache entry based on old cache 37957e2a0dc Refactor operation keys for NestedPendingOperations b2bb3dfb590 add logging before kubelet waiting for cert 53cc85a29d6 Expose k8s types that do not roundtrip and a helper to roundtrip without protobuf 6972d6f33af Fix kubectl taint's Complete parsing 3593fc69abb bumping agnhost version to 2.10 dc5791b47ac adding sidecar injecting webhook b8e2ad5926c More refinement of comments and parameter names for informers 24844c5fc54 Add logging to scheduler's event handlers ee00497ea94 add comment in several hack/ sh scripts. 08833c91805 Withdraw the change of getting version variable b117a928a6c kubeadm: prevent bootstrap of nodes with known names 772a20b9cfe `./hack/update-openapi-spec.sh` d7650e582ec Cleanup unused Azure client interfaces 2d9b798d1a8 Remove doc reference to godep #782 4d33d837c8b Register full object as return type for `DELETE` web services. ed2f1a6f428 fix behaviour of aws-load-balancer-security-groups annotation 7c72b5791b1 fix static check in pkg/volume/flocker aaf86537eec Update copyright date for ingress_utils_test.go 8ae868b4e07 Adds more test cases in TestRunBindPlugins for the scheduler a027c379f7e kubeadm: increase timeouts in the etcd client 5e0c0779a11 kubeadm: handle multiple members without names during concurrent join 2b389123a5d test/e2e/framework: handle the case where BeforeEach was never called cbdd3a279e6 brushed up according to review a8e07470438 Updated API Priority and Fairness validation to track change in catch-all priority level f641ecd6f83 Whitelisting *.pkg.dev for the GCP credential provider b2f32367710 Added relevent approvers and reviewers for gci. d1f62ead18f fork out a new global-default from catch-all to handle unclassified traffic ecfe31b8907 /test/e2e/framework:remove TODO in test/e2e/framework/util.go 292804ae1c8 Bump dependency github.com/prometheus/client_model@v0.2.0 afb7c5d2ce3 Add serathius to sig-instrumentation-approvers 5ba2a8da099 Pin dependency github.com/cilium/ebpf 088ee920e0e Bump dependency opencontainers/runc@v1.0.0-rc10 efd309b7dad Fix bug of hack/verify-api-groups.sh 527d60edb70 Move IngressFromManifest/IngressToManifest to ingress e2e fw 1461d8bd13c Move GetPortURL to ingress e2e fw d56f5357558 fixed UT 1dd53fd3bae Fix issue with GCE scripts assuming Python2. 71b2a4cdcc1 Revert "It fixes a bug where AAD token obtained by kubectl is incompatible with on-behalf-of flow and oidc." 22bd26fefb9 Adding taint toleration error reasons 9b679748239 Re-enable apply for 50% of requests 4c2eb77ee6e Remove use of CustomResourceSubresources feature gate, CRD field clearing 57f3a97bcba Remove use of CustomResourceWebhookConversion feature gate 46e622216d9 Remove use of CustomResourceDefaulting feature gate ff94f33a6bc Remove use of CustomResourcePublishOpenAPI feature gate 57724766bcf Remove deprecated GA feature gates a85815823eb Do not serialize internal type, fix roundtrip b86df2bec4f update gopkg.in/yaml.v2 to v2.2.8 6e411b6c0a4 Add support for pre-allocated hugepages with 2 sizes 5b49d03b844 Return the error from copyInto 9897f33f7da fix static check errors in vendor/k8s.io/apimachinery/pkg/api/resource ca1eeb99b53 informers: don't treat relist same as sync a14ceeb2c00 Staticcheck: vendor/k8s.io/kubectl/pkg/cmd/exec|config|certificates 577b2dcdacd Fix numPDBViolations when victims on same node are assigned same PDB eafbb67d010 Debugging 87473, printing out the last state of the dependent 90b49e80d62 add warning on ObjectReference cfd61e801b0 Add env var(CNI_TAR_PREFIX) for cni install. cni release has changed the prefix, add a var to make this configurable. e8c20e1f396 don't wait blindly d2ad469abbb remove unused layer of loop structure in processorListener::run 5c2d2c5ef1a rename dynamic cert loading to be more accurate 6ccfc3aecf0 add dynamic reloading for CSR signing controllers 4a5ab84dccc Move default binding to a plugin aee028dab84 Migrate health monitor from read only port to healthz port e0aeb4d6a36 Record overall Filter latency for all nodes in a scheduling cycle. 82f97775b7c Remove kubectl run generators 8c6d7a7086b fix static check errors in test/integration/etcd 9e1c99c4e22 Delete the sysctl runtime admit handler d6d08b152e0 Delete TODO to use docker client 4d76b1c8de7 Add mergeFilteredHints: - Move remaining logic from mergeProvidersHints to generic top level mergeFilteredHints function. - Add numaNodes as parameter in order to make generic. - Move single NUMA node specific check to single-numa-node Merge function. 80c3f500b68 Fix CreateVolume signature in comment fc300e0e7d6 Move filterSingleNumaHints call to top level Merge c4f7308e116 kube-proxy: fix incorrect log information 45660fd3a25 Add filterProvidersHints function: - Move initial 'filtering' functionality to generic function filterProvidersHints level policy.go. - Call new function from top level Merge function. - Rename some variables/parameters to reflect changes. df9b2595f38 Update filterHints to filterSingleNumaHints: - Change function name - Remove policy parameter (unnecessary) - Update unit test to reflect change b09e35257a7 Remove `scheduler/algorithm/priorities` in import-restrictions 6ae1b3ea21f Drop the cadvisor test 30de5bdc460 Enable verify-import-boss check for e2e framework c8dbde86664 bump github.com/google/gofuzz a65f525aed8 Tweak new names 38c5f318c9b kubectl-diff: Test return code on failure and changes b33fbc84d9d Update Structured Merge Diff to V3 170714e5321 Remove folder pkg/scheduler/algorithm f2b21f08d95 kubectl-diff: Return non-1 errors on kubectl failures bb587690fd5 Default the --enable-cadvisor-endpoints flag to disabled 368fe70aeda bumped pause-win to 1.1.0 24314d228c9 fix flaky test c30f4489b47 Update CHANGELOG-1.15.md for v1.15.9. 781f51c22dc Update CHANGELOG-1.16.md for v1.16.6. cbc089a9846 Update CHANGELOG-1.17.md for v1.17.2. 3f8b2022665 Move GeneralPredicates logic to kubelet. 50d511d4b8a Deprecate scheduler's framework.plugins.RegistryArgs de57657b2bb Self nominate aojea as sig-network-reviewer d6b449b5c7d Move scheduler's SchedulerExtender interface to core/extenders.go 2808d7154dc Update CHANGELOG-1.18.md for v1.18.0-alpha.2. 093fd4ab029 Add comments in several hack/verify-*.sh(s-v) 261f26075c0 kubeadm: remove the deprecated GA CoreDNS feature-gate e5a2aeeae6d Fix static check failures in test/e2e/instrumentation/logging/stackdriver bd9d8fa42f7 Initialize CPUManager containerMap to set of initial containers eb265bc7db7 Remove GetBinder member and replace it with a method. 7a39e1396a1 Remove unnecessary slow binding test 5aacacbdf00 client-go/cache/testing: add ability to simulate watch disruption 73b2d831254 Refactor docker specific oom const out of qos pkg 7be9b0fe55b Update comments and error messages in the CPUManager 2a2ce207f2b Enable bound tokens in local-up-cluster c42e815fb51 Fix multinode storage e2e tests for multizone clusters f2acbf66074 Base CPUManager state reconciliation on container state, not pod state f6cf9b8ce93 Move CPUManager Pod Status logic before container loop 772dbbc7d78 Fix describe of statefulset prints pointer not value 221396ac35f cleanup: delete unused func 53aff819e0e fix static check failure in pkg/controller/disruption and pkg/controller/namespace/deletion 72f34b817ea staticcheck: pkg/volume/fc, pkg/volume/portworx and pkg/volume/vsphere_volume c8df27c2b1b Add comments in several hack/verify-*.sh(g-r) afe3d5f09f6 Use e2eskipper package in test/e2e/common/ 1c092bf6359 Simplified logic around context cancel, removing bugs 1e170637c3c Refactored QueueSet configuration into two phases ce12105edcb Added server-side printers for the API object types for API priority and fairness e98f4f3ef89 Use e2eskipper package in test/e2e/framework/ f19f4e40f9b Fix static check errors in pkg/util/netsh 34f07671373 Add flowcontrol to apiVersionPriorities bc2aabaaeb1 Add: promotion for LimitRange defaults test to Conformance 203c7b47317 fix staticcheck errors in pkg/controller/daemon. 2afe0da8eed Unify --cluster-cidr in KCM and CCM 16de853c5de Clean up TODO around running test as sudo 8cbc5dc03f9 Bump golang/mock version to v1.3.1 47ad6db1dcd Fixup comments in internalbootstrap b0a6e597fee Use new storage clients in Azure cloud provider 0f53daad9ea Remove Brad Childs from OWNERS d7d316e1e74 switch to docker command line 469de65c252 Enabling EndpointSlice feature gate by default c1a4cd9c75b Improve error message when diff binary is not in PATH 47b2593d592 Creating new EndpointSliceProxying feature gate for kube-proxy 4d88acee51d Made internalbootstrap gin up its own Scheme dd65e2151b4 add crash protection to wait functions that were missing it 5330bd7440b dogged insistence on full verbosity f53d7e55dff Move Snapshot from nodeinfo/snapshot to internal/cache 6bea0e469bc Support DryRun in cli-runtime REST Helper. f1c26bf4362 removed excess blank line 6a14203658c Rename cache's Snapshot to Dump b3853138a4f update generated files 2f78a9480f2 Updating dependency google.golang.org/genproto to version v0.0.0-20190819201941-24fa4b261c55 cac0451836f Updating dependency github.com/prometheus/client_model to version v0.0.0-20190812154241-14fe0d1b01d4 3b29bcf52d3 Updating dependency google.golang.org/grpc to version v1.26.0 9c78f05d06c Updating dependency github.com/gogo/protobuf to version v1.3.1 fe8b32317ff delete unused field ec5321c6a9f Update validation for API Priority and Fairness ed1381e35f8 Fix staticcheck in pkg/controller/podgc 09a132be29d Add comments in several hack/verify-generated-*.sh a94346bef98 Update aws-sdk-go dependency to v1.28.2 c712230ac1c Implement default queue sort logic as a scheduler plugin 3698a2540dc In test framework LoadConfig(), use CurrentContext.Server for TestContext.Host if it is unset. Otherwise, kubectl exec through http/kubectl proxy tests in test/e2e/kubectl/kubectl.go would fail with "--host variable must be set to the full URI to the api server on e2e run" error. With this change, running the following tests can now pass: $ e2e.test --kubeconfig=xxx --ginkgo.focus="should support exec through" 0c12ae52401 Modify alias of e2e/framework/job to e2ejob d86fcd8c902 rename some declartions named context in tests afaea605f43 Remove Brad Childs from OWNERS files 18f05ef5b98 Fix golint errors in test/e2e/storage/vsphere 9952d487d2e Move ValidateEndpointsPorts() to e2e test 450196a719a Update CHANGELOG-1.15.md for v1.15.8. 3fbfa763fd9 Update CHANGELOG-1.16.md for v1.16.5. 708278098af Update bitmask printing to print in groups of 2 instead of all 64 bits c6429e3726f Add snapshot clients based on armclient 4ea5509b31a Add vmsize clients based on armclient c86d1ec0e9d Add storageaccount clients based on armclient 43554c80a61 Add disk clients based on armclient afd31035c21 Fix the bug PIP's DNS is deleted if no DNS label service annotation is set. 7069b1d6e8b Update TopologyManager single-numa-node logic to handle "don't cares" 2905ffffa76 Rename TopologyManager test TestPolicyBestEffortMerge for consistency 94489c137ca Cleanup use of defaultAffinity in mergePermutation of TopologyManager ef1b991ebc9 SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run - set resource requests as well 5e23517ebf1 Use reflect.DeepEqual check in policy_test.go 92eb7cd6011 Update "Single NUMA hint generation" expected affinity to nil 8b3f6e61a22 Move test case "Two providers, 1 with 2 hints, 1 with single non-preferred hint matching" into specific policy tests 681c42bfc25 Move test case "Two providers, 1 hint each, same mask, 1 preferred, 1 not 2/2" into specific policy tests a38a2562b2f Move test case "Two providers, 1 hint each, same mask, 1 preferred, 1 not 1/2" into specific policy test. f639da7637b Move test case "Two providers, 1 hint each, no common mask" into specific policy tests. 401a2bb285a Move test case "Single TopologyHint with Preferred as false and NUMANodeAffinity as nil" into specific policy tests. 6460ef63929 Move test case "Single TopologyHint with Preferred as true and NUMANodeAffinity as nil" into specific policy tests. baeff9ec5d7 Move test case "HintProvider returns empty non-nil map[string][]TopologyHint from provider" into specific policy tests. 599217d4828 Move test case "HintProvider returns -nil map[string][]TopologyHint from provider" into specific policy tests 57661ee9467 Move test case 'HintProvider returns empty non-nil map[string][]TopologyHint' into specific policy tests. 51f1af03958 Move test case 'TopologyHint not set' into individual policy tests 8466a5852af Restore policy_test.go to upstream Following commits will contain incremental changes to this file to ease review process and ensure all tests are accounted for. 59bb6c4d6f4 Update checks in mergeProvidersHints: - Initialize best Hint to TopologyHint{} - Update checks. - Move generic unit test case into policy specific tests and updated expected outcome to reflect changes. 6758f95117b Restore original policy none test cases: Mistakenly overwritten in earlier commit 2d1a535a35c Make mergePermutation generic: - Remove policy parameters to make function generic - Move function into top level policy.go 5487941485e Refactor filterHints: - Restructure function - Remove bug fix for catching {nil true} - To be fixed in later commit - Restore unit tests to original state for testing filterHints adfd11f38f8 Make iterateAllProviderTopologyHints generic: - Remove policy parameters to make this function generic. - Move function out of individual policies and into policy.go e43f0a52933 Reinstate canAdmitPodResult in policy_none: This is to keep consistency with the other policies. This change may be made across all policies in a future PR, but removing it from the scope of this PR for now. 4cc5b9e46c3 Edit hints returned from policies and unit tests: - Best Effort Policy: Return hint with nil affinity as opposed to defaultAffinity when provider has no preference for NUMA affinty or no possible NUMA affinities. - Single NUMA Node Policy: Remove defaultHint from mergeProvidersHints. Instead return appropriate TopologyHint where required. - Update unit tests to reflect changes. Some test cases moved into individual policy test functions due to differing returned affinties per policy. e3d0c9397f0 Updates to single-numa-node policy: - Remove getHintMatch method. - Replace with simplified versions of mergePermutation and iterateAllProviderTopologyHints methods - as used in best-effort. - Remove getHintMatch unit tests. b5ca4989e3a Update unit tests: - Update filterHints test to reflect changes in previous commit. - Some common test cases achieve differing expected results based on policy due to independent merge strategies. These cases are moved into individual policy based test functions. 17d615bca2b Update filterHints: - Only append valid preferred-true hints to filtered - Return true if allResourceHints only consist of nil-affinity/preferred-true hints: {nil true}, update defaultHint preference accordingly. 9f21f494930 Additional unit tests for Topology Manager methods f886d2a8320 Update single-numa-node policy unit tests 2825a7be1a6 Add new functionality for single-numa-node policy: Explanation taken from original commit: - Change the current method of finding the best hint. Instead of going over all permutations, sort the hints and find the narrowest hint common to all resources. - Break out early when merging to a preferred hint is not possible 5ce2ea27734 Return defaultAffinity from PolicyBestEffort: Now that PolicySingleNUMANode is not considered here, return defaultAffinity as was the original case before previous bug fix eda15215621 Make mergeProviderHints policy-specific: - Remove need to pass policy and numaNodes as arguments - Remove PolicySingleNUMANode special case check in policy_best_effort - Add mergeProviderHints base to policy_single_numa_node for upcoming commit dc36924c373 Update policy_none removing canAdmitPodResult Update unit tests for none_policy Add Name test for policy_restricted cf8b098dda5 Refactor policy-best-effort - Modularize code with mergePermutation method 278717bc577 Fix ineffectual assignment to CPUSets e2e5bf5e0b6 Fix golint warning for pkg/util/procfs/procfs_linux.go 1db3f45dc59 test/e2e/framework/rc/:refactor function ByNameContainer e1eabf8576a Add comments in several hack/verify-*.sh 69461d26d81 move function GetKubemarkMasterComponentResoureUsage aa2691eeac6 Fix static check failures in test/e2e/instrumentation/monitoring 4573428b879 Deal with auto-generated files. Update bazel by hack/update-bazel.sh 0c77101b906 add README.md in hack/ a4f31e0de70 Add NewFakeKubeRegistry() for testing deprecated metrics. b2f76cc780d add comment in hack/update-*.sh 0e81e394657 cleanup(scheduler): remove unused function, remove duplicate comment, implement interface 7ac8f58ff60 Fix: formatting 3ba8f42f96b Update: podTemplateList name; Fix: initial fetching of PodTemplates 0c3112fff39 fix golint error in plugin/pkg/auth/authorizer/rbac/bootstrappolicy 961c13ecba5 Fix: formatting 77e31bd1108 Fix: formatting 2e79da91398 Fix: formatting fe91d5fad98 Fix: bazel build errors 8676fb3cdb9 Promote: Secret patching test 4efcb21af88 Promote: find Kuberntes Service in default Namespace b50531a4a46 Update: formatting, cleanup, ExpectEqual statements 0f528a27ad5 Promote: Namespace patch test 34b942a41d7 Remove check for empty activePods list in CPUManager removeStaleState 5802f3a9103 Add proper activePods list in TestGetTopologyHints for CPUManager cdd92d39b77 preemption: typo cleanup f370b781162 Update vendor f0e45689d3d Add PatchService method in service/helper. 3709f9264d7 Document the actual git tag the SHA was picked from 2a731eb411f Updating dependency github.com/checkpoint-restore/go-criu to version 17b0214 103d77c619e Updating dependency github.com/coreos/pkg to version 97fdf19 a6d72ab7132 Updating dependency github.com/elazarl/goproxy to version 947c36d 4143bc7a964 fix staticcheck errors in pkg/volume/hostpath. cc8e8401e2d fix static check in cluster/images/etcd-version-monitor 885a03eef78 Use new clients in Azure cloud provider 6882eb38d8d Add virtualmachine clients based on armclient bfbcee2e3e1 Add subnet clients based on armclient aaa70b42e89 Add securitygroup clients based on armclient 95c2f08d8f9 Add routetable clients based on armclient e68c640de2d Add route clients based on armclient bdd0d5ff86f Add publicipaddress clients based on armclient 937e6a63884 Add loadbalancer clients based on armclient dba3331ce48 Add interface clients based on armclient f88d3524d58 Fix file name for VMSSVM client 2498dbf6360 clean node_authorizer code: verb judgement a038a33dcfb Clean up commented assertions in tests 210737b0ce8 Revert "list vm instead of get when getting virtual machine" b4b1e8f7b6a remove TODO in test/e2e/framework/skip.go e8a8bdb4cac hack/update-vendor.sh 00706b8fe9e Remove gonum.org/v1 dependency in code-generator 514bdbedac9 fix-static:pkg/volume/scaleio/ f00ac0694b6 Mark session affinity tests as [Flaky] f20945aa416 Fix: formatting 372d09cd153 Add integration test for NodeResourceLimits plugin 5a008786e21 Add: PodTemplate lifecycle test ee1f0b8a381 Make CustomResourceDefinitionStatus fields optional 0fc15708fe0 Add: ConfigMap lifecycle test edbd51bc692 Update CHANGELOG-1.17.md for v1.17.1. 4673731c0bc Make sure PDB has observed pods before doing eviction in e2e test ba23aa98f65 Set managedField probability to 0% 99a015705ba storage e2e: Add context to timeout errors e4a18dee735 make request logs greppable f969d3643e8 Nominate alculquicondor to sig-scheduling-maintainers b60703c1724 test/e2e/framework:refactor generateWriteBlockCmd due to the same function 9077603b976 Add richer unit tests for OomWatcher ab7e0f58d5c Clean up rkt specific code in `pkg/kubelet/pleg` a9e5fd66230 Revert "Revert "Add an option to specify kubelet flags for heapster node."" 8b1eb7f9735 remove TODO(random-liu): Move pod wait function into this file 7e5e7c141c2 Update cri-tools to v1.17.0 c402a4bf65e WIP: use e2eskipper package in test/e2e/autoscaling 77f482c553b WIP: use e2eskipper package in test/e2e/cloud cb07680ee9e remove TODO in test/e2e/framework/providers/gce/ingress.go 0a8df435256 update test data 16fbb5be331 use e2eskipper package in test/e2e/auth 4789e51d8ed Use e2eskipper package in e2e/scheduling and e2e/servicecatalog c1de3d6e5b4 fix ci-kubernetes-node-kubelet-serial Non-system critical priority classes are not allowed to have a value larger than HighestUserDefinablePriority 07c36de3e2b e2e/instrumentation:Use e2eskipper package fe63af0d1c2 export changes to mo 63e22620a91 modify strings 739c86e2faa update po file for kubectl jp translation de15774e10a kube-proxy unit test FilterIncorrectIPVersion 1ee86328ae6 Fixes unnecessary creation of default SG and trying to delete non-provisioned SG by k8s system when annotation [service.beta.kubernetes.io/aws-load-balancer-security-groups] is present 054e3846fc1 Use v1 subjectaccessreview API in controller-manager CSR approver e6234519e1f set test image cloudbuild directory 187d7112250 Split findNodesThatFit into framework and extenders logic 63c1c68d0ca Remove direct use of Snapshot's data structures fb66e807cd3 Remove scheduler framework dependency on predicates package 4083c7d49c8 Fix a flaky scheduler preemption e2e f6d58ae3a96 Multi arch for nonroot image 2a479006209 Remove unused KUBE_TEST_API logic 925be295fb0 Allow embedding logs command e8017795d16 Fix GetPodLogs failures in NetworkPolicy e2e tests da15570daa2 fix staticcheck:pkg/volume/cinder 14e0cac5e7a Fix error-string-capitalization in clientset generator. e62f9625cf6 fix-static:pkg/volume/emptydir 07f31b3b177 test/e2e/ui and test/e2e/upgrades:Use e2eskipper package 73fb0ab5ec4 test/e2e/storage:Use e2eskipper package 34359176aa9 e2e/gke_local_ssd.go and e2e/gke_node_pools.go:Use e2eskipper package 7cc3971ee0a Immutable secrets/configmaps tests 9174905ae77 Autogenerated e612ebfdff2 Immutable field and validation 5b2cc9c2fd6 Fix(kubectl): the field of history controllerrevision will be covered by daemonset 420d5d10c4b updating googleapis/gnostic to v0.1.0 e1f7b16fa68 Update to golang@1.13.6 f3b9a6e12f5 test/e2e/windows/:Use e2eskipper package c7234aa1779 kubeadm: support automatic retry after failing to pull image 3d34a814d69 test/e2e/kubectl test/e2e_kubeadm:Use e2eskipper package 586e1f2325b e2e/network/: Use e2eskipper package a19aa1069a7 Remove duplicated ServiceStartTimeout 07c5aa98ea3 simplify 1.17 release note for storage b5f050a5cbd Move from random SHA - update github.com/prometheus/client_model to v0.1.0 59807be5abe Further tweaking up the wording f66ef23c118 update gonum.org/v1/gonum to v0.6.2 a1f998909e2 changelog: clarify 1.17 upgrade requirements 8f1e3c22353 updating github.com/smartystreets/goconvey v1.6.4 8253480ea41 update github.com/morikuni/aec to v1.0.0 4db3822ebba Update fieldmanager.go 2b554079af6 Ensure a provider ID is set on a node if expected bf30f75ec6e Update azure_test.go 70dea6e4a84 review: several fixes and addressing comments 2dc966348d6 add myself as feature approver (for SIG cloud provider) 5a44cd65fd9 Fix typo from reseting to resetting 8da4a1d97fe Add some comment to hack/verify-linkcheck.sh c5764735e27 fix staticcheck:pkg/volume/awsebs 0e8b956e27b clean deprecated apiserver request metrics 606e4503cf4 remove last part of deprecated metrics 2c2e1c5443a keep apiserver_request_latencies_summary ab182552b48 clean SinceInMicroseconds, convert to SinceInSeconds a8f2feaeb51 remove deprecated metrics of proxy 8ae3f80048a remove deprecated metrics of dockershim 060756babbb remove deprecated metrics of apiserver 85931af1eee remove deprecated metrics of scheduler d2cfd4b82fb apply review advice again 447b17587b6 remove deprecated metrics of etcd 1a9b1217649 remove deprecated metrics of kubelet 26ea420c0e6 Image Promoter: Cleans manifest list 8c481022c1c e2e/node/:Use e2eskipper package c84a371f3d4 Fix a flaky e2e test of Job completion 91dca8ff8cf Use e2eskipper package in e2e/apps e8b5658bd11 fix: typos in comments of admission 0bab010b45a clean unused predicate error b2159b5d663 Remove scheduler/algorithm/priorities/util package beb252df163 Add logs of port-forward-tester pod 99b135442c6 Add error handling of CloseWrite() 6aaf0bb41b3 Cleanup scheduler/algorithm/predicates package dcd4dcdf217 Update: comments, searching for secrets in lists b062fcb1178 Update Azure owners fee0d43d23f fix golint error in pkg/apis/rbac 010b8852361 Remove workaround for RS bug in cmd apps test 2c3c6721ce5 refactor(scheduling): remove priorities package a2526286498 fix nits 6cab3a7bec7 create probabilistic SkipNonAppliedManager 33a449474cc Fixed docker.log format 07e3c46cb4b Add: secret data patch check ddf0d4b8034 change Apply signature and move decoding into handlers 58dabc73979 Revert "fix flakes on e2e test TCP CLOSE_WAIT timeout" f2518347f3d fix apply --prune to check cli specified namespace 71966adfc39 Allow a preloaded gke-exec-auth-plugin 39e373fc455 Do not require token secrets when using bound service account tokens afe3b907a18 Remove nodes from cache immediately on delete events 50deec25bc0 feat(scheduling): address disabled plugins in scheduling framework bcab9b4c9ea Remove uses of NodeInfoMap outside of snapshot and cache 824af9e3072 Fix kubectl top sort-by cpu and sort-by memory options 50b697bacb5 move TaintToleration predicate to its plugin 228891de9c7 Fix comment b3ae0f01e5b pass through KUBE_BUILD_PLATFORMS to enable build on specified platforms 19daee7e604 Add import-aliases check for e2e framework c04ead5fb13 Add error check for instance insert 0d86f0a0372 Separate skip as framework subpackage 51c742c1dd0 fix staticcheck failures of pkg/util/ipconfig pkg/util/iptables pkg/util/ipvs/testing 0278d793c8b fix: remove ErrTopologySpreadConstraintsNotMatch f8934861910 ipvs proxier README: fix typo 80127fe10f1 rm errserviceaffinityviolated 864600f05f6 Break nodeunschedulable Filter plugins dependency on predicates package 6c58cc0ad00 change framework_extension_point_duration_seconds from sampling to always record d829d9b0fd5 Update hostpath and mock csi drivers with latest sidecars 5def91d7785 Add VolumeBinder to FrameworkHandle interface c86f59610c0 remove test/integration dependency on predicates and algorithmprovider 1289bdaba41 network proxy with admission wh 21202b08d48 remove e2e dependency on scheduler/predicates package 9b17de74628 Repair smoke-test for Windows GCE clusters f3c7a4c8231 Update scheduler's RunFilterPlugins to return a plugin to status map 8e3c1b54a7c Fix interpodaffinity issue 326935c1b96 extend crd openapi e2e timeout to deflake the test, plus small improvements: d227b7822fb Move selector spreading priority code to plugin 4d731d92bf0 Demote Delete Grace Period test to [Flaky] 5d916e20ddd Use Snapshot.NodeInfoList for listing operations 3db91b2bdc9 Enabled reading config files for vsphere e2e tests f3c70a2ed26 Move IsAppArmorSupported() from e2e framework 704ec253527 fix flakes on e2e test TCP CLOSE_WAIT timeout 0f9c262eda1 Cleanup cloud controller manager when closing cluster. 10864d3366f fix a bug that orphan revision cannot be adopted and sts cannot be synced 568edf72ec1 fix kubectl annotate local error 8d7f3837856 cleanup(api-machinery): remove unused struct and variable 680df17f39e fix typo 68532e0c0f5 Remove redundant nil check ee967060c71 Add simple explanation to verify-spelling.sh a1053e4835f Break interpodaffinity Filter plugins dependency on predicates package a3b90584a1e Image Promoter: Bump timeout limit 8897c435ad5 Refactor oom watcher to allow greater test coverage 57f2d7ad6f2 Adding unit tests for kube-scheduler Config Complete() method. 30058c9d356 Image Promoter: Remove -it from docker command dc5934f5845 token cache: make fetch_total a counter 9ed55bc5203 Add: JSON marshal error failure checking; Fix: formatting 232da604300 Update: json patch generation c53006b1a2c Add: test for finding service from listing all namespaces b4fb46409d1 Update: test secret contains a default label, secrets are listed via default label, patch payload is marshaled instead of written in raw JSON, secret deleted check; Fix: comments, test namespace usage b8cac87646f Revert "fix flakes on e2e test TCP CLOSE_WAIT timeout" e26fbe6f08c fix a bug in scheduler's node resource limits score 729337ec7e4 gofmt reflector.go ae53a008cb3 Clarified comment on DeltaFIFO::Replace f2a8e2d9c9c finished pass over comments on Controller, and commented sharedIndexInformer 7d82e23e6cd A little more comment tweaking for cache.Controller 72fa714d636 began turning attention to cache.Controller 2ea338b63f2 Reworded comment on requestedResyncPeriod eef49c965f4 Noted divergence between requestedResyncPeriod and resyncPeriod 5546d9f12f2 Started commenting processors 320c9bfeed4 Break volumezone Filter plugins dependency on predicates package 81a6cf28478 Change PDB tests to use pod conditions instead of phase 591b8706915 fix how we check for node info list consistency 7f2d675ad0a kubeadm: Fix a false positive in a warning 42afa0a2cca Adding in missing Registry unit tests. 6a82609902e Break serviceaffinity Filter plugins dependency on predicates package 8d313f333ec staticcheck:test/integration/master/ ce68edf7009 Allow "kubelet --node-ip ::" to mean prefer IPv6 4ef31f81c76 Break nodelabel Filter plugins dependency on predicates package 264a1cf5f6f staticcheck:test/integration/auth/ 8d54a84507c fix kubemark use fake CRI 324e5ce7e3d hollow-node use remote CRI 729c37373aa Remove unused scheduler types 24ccd77a986 Remove variable EXTERNAL_CLOUD_VOLUME_PLUGIN default value in local-up-cluster.sh ab12f460d95 Update: to use framework instead of gomega for testing values 616003a8e96 Add: OWNERS file - based off of staging/src/k8s.io/apimachinery/OWNERS 2754cc37ea5 Update: namespaceName value updating order to prevent error expection bd6550fb349 Update: formatting, gomega Expect to framework ExpectEqual, framework creation to standard function fca9963c243 Move publish and unpublish counting up in test c5e3ab12489 Fix: formatting, spelling 1a283ccbb64 use az.List() to check route existence 9951a9c98e2 Add: namespace patch test a8ee1086d70 Move yaml limit tests to benchmarks 51d53036621 Fix err variable shadowing issue in storage/utils 65329a59867 list vm instead of get when getting virtual machine 2c8639deb70 allow an SNI cert to be used to respond for a particular IP 4e674768671 move nodeaffinity predicate to its filter plugin 4c51eb9063a test images: Image Promoter fixes b9e2389e0d9 Move RequestedToCapacityRatio argument processing to its plugin 906adbdfcdd Require client / server protocols 02885845ff4 kubetestgen: improve errors handling eb074761bc2 Fix local-up-cluster.sh do not work with non-intree external cloud provider issue. fddf50cf881 fix log message error in nodelifecycle fe8ad90afa5 bootstrap flow-control objects 72559ec6933 kubeadm upgrades always persist the etcd backup for stacked 7254517c5cf rename ExtenderConfig to Extender edd612d9f10 Add: test to patch a secret 9bcca31e52c Break volumerestrictions Filter plugins dependency on predicates package aae9a7f7045 Break nodevolumelimits Filter plugins dependency on predicates package 794d0d9b4d8 Remove `rkt` from container runtime options 06b44c76fd7 Correct comment around which integrations require cadvisor_stats f2cb1f35fe2 Remove dead code in fake docker client d27dc6751ec Break volumebinding Filter plugins dependency on predicates package c2d41fda6c4 remove unused code and use framework 05010d23ac7 clarify apiserver bind-address flag usage 0b064f34ae7 fix flakes on e2e test TCP CLOSE_WAIT timeout 041e5b55609 addressed comments e40625028b5 fix: correct the mentioned endpointslice manage label name. e8eb5c656b4 fix fake remote CRI d31dcecd200 cleanup unused scheduler functions/files c0bc36c12e1 kubeadm: probe address for unspecified ips 051be8fe80e Cleanup SetPredicatesOrderingDuringTest due to deprecation of predicates 64d7b224d92 Cleanup unused parameter of NewGenericScheduler 7d604c318cf Break DS controller on scheduler predicates and predicate errors 2d95520a3f6 adding private cluster check 9bc862ec697 Perform dead storage removal linearly 2371c58a736 remove unused code test/e2e/framework/google_compute.go cc0b3e82eb8 Kubelet: add a metric to observe time since PLEG last seen 17b0b77026b fix staticcheck failures of test/integration/client test/integration/disruption 0eca8ae9cdb Fix tests and improve comment on NewDeltaFIFO 1d65f1b5c39 Fixed assignment statements 89c615f9c44 Revised comments about f.knownObjects and added tests for Replace b535ed3b0c1 Merge scheduler's ConfigProducerRegistry into LegacyRegistry 51eb4b50a3a Don't paginate in listwatch 02e217759e3 update comments of some funs in scheduling_queue d09fe8e247a Remove no longer needed `modifyContainerPIDNamespaceOverrides` 93246643306 remove TODO in test/e2e/framework/node/resource.go bfc4a7a1c54 fix staticcheck of pkg/util/ebtables 7a7ccb797e0 Updated comments on internal abstractions in client-go/tools/cache fc3b210ad83 if no cycle dependency , use framework in test/e2e_node subpackage e787525d6e7 Add metrics for VMSS and VMSS clients 4a00e261754 Move Azure metrics to a separate package 2f0e5b262a4 move functions from e2e/framework/deployment/ to e2e/apps/ and e2e/upgrades c813e258920 Use new VMSS and VMSSVM client in Azure cloud provider b8e7767b67e Add VMSS VM client 63f9200c1d8 Add VMSS client 9d67227fb42 Addd Azure ARM client with backoff retries d8edc7d2c11 CHANGELOG-1.17: add note about service CIDR bug 1eaa0ee3f95 Minor nit in error message about feature gate stage a6b7b0d95e1 Define algorithm providers in terms of plugins. 7f79516705f Move resource-based priority functions to their Score plugins 36cbce1182a Postpone flag warning log to just before it be used. 7171f9a7f46 move funs of framework/volume to e2e/storage bf47d14c272 Fix staticcheck failures of test/integration/replicationcontroller 21f59c99232 Reword modifications for clarity 4d43e9e39b6 e2e: move funs of framework/viperconfig to e2e f5a3c93649c clean useless code in client-go test 706e90a0339 Skip scheduling the pod if it has been assumed and the pod updates could be skipped. 587dbc2fede remove TODO in test/e2e/framework/auth/helpers 6410ac31731 Return when removePod failed 006980c1607 Remove Todos for CSR checking 00abe6d5055 Output test description in TestPreemption 43d9748d3a8 Add error handling for Register() call 253a85db160 Move WaitForFailure() to the test 453ac809c12 kubeadm: tolerate whitespace when validating user CA PEMs 99c2e74a23c Add debugging message to know the pod status 52ddae02672 Remove Delete/CreateSyncInNamespace() 92940fa80d6 Remove `recorder.PastEventf` method 49884bca30e Fixing regex for kubernetes version in kubeadm 81c6989ccc9 Clean up unused variable from unit test. 2b304bf5e2b fix static check failures in component-base/metrics f438def93d9 Update to golang@1.13.5 ca690514753 refactor(pod log):refactor for container valiate, little cleanup 31d6cc5792f Switch to new ClientConfig for Azure cloud provider 8c77b96b75d fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume 7382a7c8010 Add backoff retry which implements autorest.SendDecorator interface 80e3cc36294 Fix unit test to run in non-gce environments 210f1a904dc Move client config to a separate package 12ebe54fc41 publishing: Update to go@1.13.4 for kubernetes-1.16 78352240f63 Move podtopologyspread priority logic to its Score plugin b373121a146 Make CPUManagerCheckpointV2 type an alias of CPUManagerCheckpoint 72d66be439b test images: Adds E2E test image automated build 35dea07ad6d silence usage when pass bad cmd options 5faf8f4c528 Lock checksum calculation for v1 CPUManager state to pre 1.18 logic 6359080d4f6 fix: test failures ece8aefe1f7 fix: azure error should not retry on bad reqeust b3bebddb30f Fix a typo in interpodaffinity score plugin 320ac4e2770 feat(scheduling): implement azure, cinder, ebs and gce as filter plugin 31e59fd5e36 Add ipv6 examples for network policy API 0995ef573f8 Fix ensureStaticIP if name for existed address was changed 134c545b96e proxy: add some interface type assertions b1e03256d71 alias kubeadmutil for k8s.io/kubernetes/cmd/kubeadm/app/util 572c81ff537 e2e:remove func of framework/replicaset to e2e/upgrades/apps/replicasets.go 8a4dce5431f Move pod topology spread predicate logic to its filter plugin 78c05176917 fix link in readme 161c6f4886a e2e:remove unused func in /test/e2e/framework/autoscaling/autoscaling_utils.go eea91c018b2 Cleanup testapi after it has been removed f19ed6ccfe5 remove unused code in test/e2e/apps/deployment dbe7c920e07 Add alias of api/errors in endpointslice.go 488b94767c4 remove TODO: Use return type string instead of []string and update func 01083988aef Add apierrors as alias for k8s.io/apimachinery/pkg/api/errors f53c81f4a25 Move ServiceAntiAffinityPriority to score plugin 794a8668fa8 move funcs from test/e2e/framework/job to test/e2e/apps 12d08d52ee6 Improve output of update-openapi-spec.sh when printing logs from file. 291a7bb1649 feat(scheduling): move csi volume predicates to csi filter plugin c75787bb778 Fixing Potential Race Condition in EndpointSlice Controller. b8b846c31c8 Use Deployment in sample-apiserver examples 013994a7408 Updating minor grammar errors. 89867e1c218 Move CheckNodeUnschedulable predicate to its filter plugin c4331b0369d Move VolumeZone predicate to its Filter plugin 19fe9f8d947 replace grpc.WithDialer which is deprecated 6596a14d392 add missing alias of api errors under test 5bc0e26c190 unify alias of api errors under pkg and staging fc738cbb1d1 unify alias of api errors under test 2af59673105 move func EnableAndDisableInternalLB from test/e2e/framework/service to test/e2e/network c467a733c31 Remove unused function NewMetricExporter from e2e test 2b3df3587e3 Deprecate scheduler predicate and priority factory registration 4bfa4d8b30c Come out of loop when omitempty is true 36393390f43 fix: azure disk could not mounted on Standard_DC4s/DC2s instances dbc99290123 e2e: move funs of framework/pv to e2e/storage e5168cc7bb4 move nodepreferavoidpods to score plugin bf2b709e822 Move ResourceLimitsPriority to its Score plugin faf27331bcb fix shell checks errors in cluster/common.sh 75b716a3526 Fix simple typos 1f0c7db589d update defaultconfig link 17fa573e059 Add simple explanation to verify-golint.sh 141909fa2e3 tighten ceiling for matching-precedence to 10000 e5d90c57f0e move NoDiskConflict predicate to its filter plugin 8fc21710e7c Added scheduler algorithm provider registery. c33c4fffd1d Move RequestedToCapacityRatio to plugins/noderesources 75872b8e799 feat: implement node affinity priority as score plugin 299a9c8cf50 add extra group and usage check for bootstraptoken fe7de96ebe9 cleanup scheduler's in-tree plugins registry naming 7271a81921e validation.go: don't clamp the CIDR size calculations 49b6e404617 Clean up kube-apiserver reference document 97676963c39 deprecate scheduling_algorithm_predicate/priority_evaluation_seconds 21c916c3d21 move Taint and toleration predicate to its Score plugin 70b80ae28a2 Deprecate scheduling_duration_seconds Summary metric f0e01bcfde4 Change log level to 3 when --random-fully is not supported 4123973726c e2e: move funs of framework/deployment/fixtures.go to e2e/apps/deployment.go 5fd6b8fae79 fix: remove totalNumNodes from priority metadata 3d39d90e8e3 Update modules 1fd59cfcf37 Swith to retry.Error for Azure cloud provider 3e10dbd6686 Use retry.Error for all Azure clients cc09b3ab6c3 Add retry Error definition b086d296def move funcs in replicaset to autoscaling_utils 803161d621d kubeadm: kube-dns is deprecated and will not be supported in a future version bae72ee8d2e using string instead of byte 237da6250b7 change print log for unity when during kubeadm init bf8a8a657c9 introduce checker for the result of nodeInfo.Node() 11382a31294 Delete unused function from e2e test autoscaling_utils.go 5b4a7744fad fix kubectl run help image name fcae27b9d2d If lastTimestamp is not set use firstTimestamp when printing event 3f591bb2dd5 feat: implement image locality as score plugin 83408acf757 Move volumebinding predicate to its filter plugin 32e1c032fd8 Add logs for rate limit values 6a1354252de Add unit test for extended ipv4 service IP range df4f5c1a30d Revert "remove ipallocator in favor of k/utils net package" a54e5cec54b Fix staticcheck failures for pkg/proxy/... b13e22482ea Count dropped requests except system previledged group requests. 107db83839c kubeadm: re-enable kubelet version check test in preflight 52435c021e0 Change Azure global rate limit to per client d564e730c98 format test file b264a747481 Add unit tests for pkg azure/auth e468385d0bf Remove ineffective calls in toUnstructured eeb8a5b7282 Added back the flag to trigger examining all Filters in the scheduler. e4c87c20e2d fix azure cloud provider bug when lb specified in other resource group 2497a1209bf bump k8s.io/utils version a5f782face1 Reuse converter in crdHandler#getOrCreateServingInfoFor 3e65b3793f3 Cleanup failedPredicateMap from generic_scheduler.go 429448cb402 move inter pod affinity predicate logic to its Filter plugin 7dc6c94395f kubeadm: use bind-address instead of address 947d6960215 On OpenRC ServiceIsActive should not report true if no such service exists 1f78a936d40 Deprecate AlwaysCheckAllPredicates in scheduler Policy API 29ec87f769c apiserver: add localhost to alternateDNS for IPv6 c715aacdc24 Add simple reference to synopsis of kube-scheduler 4291a03e395 fix apply set last applied namespace a8a00f690e6 hack/local-up-cluster: modify cloud provider launch to work with aws 2d2c9a884a0 Revert "Merge pull request #86376 from xieyanker/kubemark_deployment" b88788b0854 update to use e2e-up.sh instead of kubetest b4f52385356 Add instructions about how to use kubetest to bring up e2e test cluster 0ae8b6ba596 Update subnet mask calculation for compatibility with future VNIC changes c71dd7e4ee6 Bump Ginkgo module to release version ecfd30d2517 Bump Ginkgo to support building on riscv64 arch 0e786cbafcb swap over kube-apiserver manifest to use livez and readyz d1fb0b57dfd Expect NodeUnpublish calls when NodePublish is called 68f3802ba80 move NodeLabel predicate logic to its Filter plugin 119a9a94d12 InterPodAffinity Priority as Score plugin 22a0f55a682 move NodeLabel priority logic to its Score plugin c60802e8939 Add klueska as an approver in test/e2e_node/OWNERS f4bd4e2e965 Return error instead of panic when cpu manager starts failed. f2adf33bc8a update fluentd to 1.8.0 / fixed gemfile / fixed shellcheck lint problems by using xarg 8374c49c593 Update README.md c5002a348e3 kubenet: replace gateway with cni result 4303be3d9fe Revert pull request #85879 "hollow-node use remote CRI" 096bdb7121a Sample apiserver: Avoid etcd listening on DNS result for "localhost" f50638f4395 Isolate kubectl test-cmd plugin tests a84e883e4b3 rename _count to _total in a few metrics 8110e08dd4a Fix golint failure not contained in .golint_failures b898c79656a chore: port azure disk csi code to upstream 745248dd6f5 Fix cpu manager e2e test typo d1480ab49d6 It fixes a bug where AAD token obtained by kubectl is incompatible with on-behalf-of flow and oidc. 131180b1187 Add a config option to azure cloud provider for the pre-configured loadbalancers 79bc63fb4b7 Adds PreProcessor and PostProcessor functions for modifying apply behavior 6511b603c9c Define workloads specs by YAML 03df6320e59 Wait for resizing condition 53080bda9c9 Allocate map when out points to nil map 3aa794aafc8 remove personal kind.yaml that was added accidentally 877381550dc Revert "promote e2e tests for taint-tolerations in predicates" c14280e8d39 prevent blocking wait in cert reloading bac2e9fbe2c Autogenerated 619af251476 Remove DefaultConvert 9bd2912e7a0 Add CHANGELOG-1.18.md for v1.18.0-alpha.1. 48944b94da6 change kubemark from ReplicationController to Deployment 4e45421f610 Moves visitedUids and visitedNamespaces (used for pruning) into ApplyOptions e8e1cc9ee01 extract PreInitRuntimeService from NewMainKubelet 6b33a770685 Adopt kubeadm and kubeproxy unit test after new config field added. 670369f2a4a Move patch functionality for apply into its own file. e38e320222a Moved prune functionality into its own file. 07cb2fda5da Refactored some apply printing functionality; removed unneeded count and objs variables 02af4c9be20 Created GetObjects() method for ApplyOptions and integrated into apply 18fa7bdb6ea Cloud node controller: Only call once into cloud provider 667aaf33a6b Split cronjob tests, so they don't interfere 4eb61e3f93e Deal with auto-generated files: - Update bazel by hack/update-bazel.sh - make update 9b7d8712cfa Add show hidden flag to kube-proxy 869aef61af4 improves watch and report e2e test to also check IsResourceExpired since the API can return both errors (Gone, Expired) 6e789e9d52e fix: azure data disk should use same key as os disk by default 770e51cd100 Deprecate PredicateMetadata b3abfdc9e41 registered nodeports and noderesources prefilters f9c4551a947 Use private master IP in GCE kubemark tests 87e8137c18a cleanup(kubectl taint): fix Errorf and comment error, and remove unnecessary bool flag 9818b4522e3 Add klueska as an approver in pkg/kubelet/cm/OWNERS db2c048db9c support configuration of kube-proxy IPVS tcp,tcpfin,udp timeout 23957a6b289 Allow kube-proxy iptables mode to support dual-stack, with the meta-proxier. 01f1cf3c968 Add test cases for a helper function in controller manager 0bd41a300f1 Refactor `kubectl proxy` command to have similar design pattern as other kubectl commands. 62d77728829 Check FileInfo against nil during walk of container dir path 2103ea4dded Changes Visit() to Infos() in apply to keep slice of objects 5c537915bfc Mark '[sig-apps] CronJob should delete successful/failed finished jobs with limit of one job' flaky ce3839452e5 Mark '[sig-scheduling] PreemptionExecutionPath runs ReplicaSets to verify preemption running path' flaky 0224c481202 Job completed event added 21641571131 Make e2e scale updates unconditional 287e3298fbf suffix InSeconds to cacheTTL for clearification 82afa2bbafc Fix up the sub-test style a65d8aeb762 Add UID precondition to kubelet pod status patch updates 176c95ff3ef Add debugging for delete grace period e2e flake 3f3bc37e058 auth: add metrics to token cache d12608017d6 Mark GCEPD test flaky 8111bb3d771 Update wardle e2e image cad5de706a9 Build sample-apiserver image using kubernetes 1.17 / go 1.13 8fae8e54af2 Disable excessive logging in scheduler plugins 9898f479c1b code-gen: fix argument type for plural exceptions 2fe82075b44 fix staticcheck faulures in 'cmd' pkg c9418412d18 fix misspelling in comment f401d711aac networkPolicy validation ipv6 unit tests a16808f353a kms: use negative cachesize value to disable caching d45107a00da test/e2e: move funcs from test/e2e/pod to other folders c394d821fda Deal with auto-generated files: - Update bazel by hack/update-bazel.sh ecf5f7d7498 Deprecated metrics under /metrics/resource/v1alpha1 0db7074e1ad Add new endpoint for resource metrics. a634e254c16 Fix staticcheck failures for test/images 7331ec7b021 Move service affinity predicate logic to its plugin. 973fddd155f e2e: move funs of framework/gpu to e2e_node 4536ed50a04 e2e: move funs of framework/deviceplugin to e2e_node 21e906fba66 e2e: move funs of framework/job to e2e/upgrades/apps/job 8d3a8d5a6c2 e2e: move funs of framework/metrics to e2e_node 6603f41a130 Promote StartupProbe to beta for 1.18 fbe3521e8e5 fix: formating and typo d7f14fb38e4 fix: address test failure and review comments 51bff87b18d Add util function to merge resource lists 28f8e52f320 Add "kubectl describe node" resource tests 439a862bba6 Add huge page usage stats to kubectl describe node 4769cbedd5b Update go version in go.mod c6a2c4fa793 fix: add unit tests for truncate long subnet name on lb ip configuration 1a55d0f7b09 fix: should truncate long subnet name on lb rules 09032bea6cf addons: elasticsearch supports automatically setting the advertise address 02a0aad6d3d podfitsresource metadata as prefilter 3d353f5122d Update semantics of EvenPodsSpread metadata object 468aebc17f1 Move EvenPodsSpread metadata computation logic as a PreFilter Plugin 8953544b15e add unit test a70bec465da e2e: support long CSI driver names 4152f38d544 cache ttl is configurable 314b6cb32bb [auth]Change example in can-i to apps instead of extensions 623c4f9f17e e2e: move funs of framework/statefulset to e2e/apps & e2e/upgrades 6f3c68bd5c8 compatibility tests for default provider and mandatory filters bfd20c9e084 Fix build break - Hyperkube image needs kubelet/kubectl 5c6371502ab Update addon permissions 749eea7e0f4 Prune server-side print exemption list 0387cc7cb3b Update generated files e9870c30769 Update storage hash to use ingress type for cross-group comparison 2b4fac5760f Use openapi fixture for server-side apply tests f2f22b84cd5 Delete ReplicationControllerDummy 18ba6f94820 Remove references to unserved types 3df9e86a4ea Remove ability to re-enable serving deprecated APIs 424d5e20dfb Remove testapi 78a3a4a2b1d Remove testapi use from pkg/api/testing 5d5b444c4da Remove use of testapi codecs, selflink, resourcepath functions bb90f0ff94d Install APIs directly for tests c54dbd85e00 wrap host ports metadata in a prefilter. ee85b6a579f Don't report deletion of attached volume as warning d8c35733c0a doc: remove Draven from test package reviewers 470ea876237 fix broken link: https://kubernetes-csi.github.io/docs/Drivers.html 95bf2265337 fix staticcheck failures of test/e2e/manifest 77a9d4772b7 move funcs from test/e2e/framework/replicaset to test/e2e/apps d146e1941d2 Add getting Storage Quantity to ResourceList 5743cffd5d5 Move added info and status stack trace to the end of line. f786cb07b79 test/e2e/: use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue()|BeFalse()) 995d4083341 Clean up conformance tar test data 0e644c87493 e2e-topology-manager: Fix bazel tests 255ab6d2c35 Remove priority execution paths in favor of score plugins 288609ecf52 remove ds dependeny on scheduler metadata 70a2bccfd6c deprecate scheduler's FailureReason 31b0d7f8532 e2e-topology-manager: Fix package name fba4a7be340 e2e-topology-manager: fixes for gofmt 337fdf2f371 [WIP] e2e-topology-manager: Initial commit for E2E tests 2fdf1fa3c14 inter-pod affinity prefilter c229c78af7b Upload containerd logs to stackdriver 9cff3457705 Do not swallow timeout in manageReplicas 9f334a4d083 Add an interface to return scheduler framework instance effe2990824 kubeadm: add basic validation around kubelet.conf parsing 1657ef25ebd Extend authorization benchmark 15e98360a86 code-generator: update BUILD d511a809af4 code-generator: expose plural exceptions via flag 44a0d04b963 Add a unit test guarantees ClearState will fully clear a collector. 02f335d476b feat: remove several feature gates in 1.18 dcea6ff0653 fix: remove TaintNodesByCondition feature gate in daemon controller 64e49e187a1 add hwdef as a reviewer of hack 89b31c8d693 move test/e2e/framework/lifecycle/ test/framework/cloud/gcp ca532c6fb2c Ensure that error is returned on NodePublish 20f0408f293 promote SataQiu to an approver of test and test/e2e/framework 915b0964052 Make sure critical pod in the preemption test is always cleaned up. ec24d3c7e8f Set core_pattern to an absolute path. f5532861564 Pass initial set of runtime containers to the CPUManager at startup 6441e1ef436 Move CPUManager Checkpoint restoration to Start() instead of New() 69f80538504 Update top-level CPUManager to adhere to new state semantics 185e790f711 Update CPUManager policies to adhere to new state semantics 7c760fea384 Change CPUManager state to key off of podUID and containerName 9191a949ae7 Extend makePod() helper in CPUManager to take PodUID and ContainerName 7a15d3a4d7f Fix bug in parsing int to string in CPUManager tests 765aae93f8a Move containerMap out of static policy and into top-level CPUManager 1d995c98ef6 Update CPUmanager containerMap to allow removal by containerRef 0639bd0942c Change CPUManager containerMap to key off of (podUID, containerName) 3881e50cce7 Update CPUmanager containerMap to also return a containerRef 347d5f57ac4 Move CPUManager ContainerMap to its own package 0e4469cddda persist deployed DNS configuration during kubeadm upgrade dc17fc42833 fix log format string 773fbeab1e3 expose the clientConfig to consumers trying to build custom clients against the kubeapiserver d0210220e48 dump information for all namespaces related to the test ea913f38ead allow configuration of customized AfterEach functions for all tests 711dc0b5b5e Increase Burst limit for discovery client 5e0f36705ef Update CHANGELOG-1.16.md for v1.16.4. a5759ee2780 Update CHANGELOG-1.15.md for v1.15.7. ca0d2b7ce69 Update CHANGELOG-1.14.md for v1.14.10. cdf2e794a55 Clarify intstr.IntValue() behavior 0f410d625a1 change CounterVec to use Counter in the Kubelet's Pod Lifecycle Event Generator ca36822f1e7 client-go: update INSTALL.md to include semver tags c4ad07b0b14 e2e: move funs of framework/service to e2e/network 35b0f1f7ddc test/e2e_node/:use framework.Equal() instead of using gomega.Expect(bool).To(gomega.BeTrue(),explain) 00ea8c4f9e0 Revert "Add an option to specify kubelet flags for heapster node." f8e0c6bb41b test/e2e/storage : use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue(),...) dc3d1bd238e Eliminate running paths of Predicates in scheduler e70120f0838 fix staticcheck failures of e2e/storage/utils e2e/storage/vsphere 49e4bd137bd Ensuring kube-proxy does not mutate shared EndpointSlices 8647e75cec6 shared authenticator lookups 009c731a880 vendor golang.org/x/sync/singleflight c051fc2057a Added alejandrox1 to test/approvers 8ab226263a1 Adds tests ac23d55d907 Generates boilerplate code 27ffe439b61 Adds the algorithm implementation for the Configurable HPA 5c70cda6e51 Adds validation rules and proper defaults 141eaf79eed Introduces all API changes needed for Configurable HPA PR a051c591a1f Fix inter-pod affinity scheduler benchmarks a8839a9735f change FakeWatcher.Stopped to be a private field, as read it directly may cause Read/Write conflict race b911aa6471a fix potential memory leak issue in processing watch request 3ed535a89a2 fix staticcheck failures of e2e/storage/drivers e2e/storage/testsuites 6df97909bb0 e2e: remove unused method in e2e/framework/log 546dbf8b3cb e2e: move funs of framework/kubelet to e2e/scheduling 729bc82be64 Drop v1.15.0 API test data 82465dd8c20 Add v1.17.0 API compatibility data 9f6bbfb67f4 Revert "staging/publishing: temporarily disable publishing tags" edfef793640 Add kind/flake issue template a077734079b Update v1.17.0 CHANGELOG to match final draft 32dc70e0f13 optimize required inter-pod affinity 23a4a1191c6 Update CHANGELOG-1.17.md for v1.17.0. 57b538e657c Increasing LoadBalancerPollTimeout from 15 to 22 minutes a9f80c70b2c update RBAC rules in e2e aggregator test 3cc926f5efb e2e storage: fix type in comment 96084a5198c Make error message and service message more clear 17ae1eda3e9 e2e storage: improve instructions for external driver testing e7e9d1cf240 Add serathius to metrics-server OWNERS file 31fb04fa98e Remove cluster-monitoring 597816c11e2 update total_limit_size 3ffd8f34b24 update fluentd-es-configmap a192b59f9f0 fluentd add port promtheus and health check 325848509a6 es add readiness and liveness health check 089374e8d64 e2e: remove unused method in e2e/framework/autoscaling. babdcd0d149 invoke getTypedVersion() instead of direct runtime call a136108d2b8 Return all predicate failures instead of the first one 10b173868a7 move funs of framework/deployment to e2e/apps 31c302994ab updated fluentd to 1.7.4 + plugin updates and switch to debian buster 303c1a40bce fix static check in kubectl/pkg/cmd/annotate. dfb6c3424fe move unwanted console output out of versiongetter. 24d105995db Fix broken SELinux detection 27d645dc5b8 fix staticcheck failures of test/e2e/storage 96fe76a9ed4 kubectl oidc auth-provider: include cluster address in cache key 7f5076d8ee2 slim down some lister expansions c084d57b18a ping kmsplugin gentely when in good state aba0b315269 Changed Kubelet client and serving cert TTL/Expiry certs to use gaugefunc for calculating time remaining. dfa04bfc041 Ensuring EndpointSlices are not used for Windows kube-proxy implementations 4762985fb68 kubelet: guarantee at most only one cinfo per containerID 53be26e4025 optimize preferred pod affinity da53044abdf kubectl/drain: add option skip-wait-for-delete-timeout 2bba8dac7fa staging/publishing: temporarily disable publishing tags efd61ae3e48 correct invalid urls 06c59017697 fix staticcheck in test/integration/apiserver d428de26b83 Fix IPv6 addresses lost issue in pure ipv6 vsphere environment a5226f623e1 Add cache for VMSS. 39cb8222c79 Add an option to specify kubelet flags for heapster node. 3e19201ec2f kubeadm: Throw an error if the currentContext does not exists dd50ac311a0 Fix LoadBalancer rule checking so that no unexpected LoadBalancer updates are made 0dd468039da inject remoteRuntime to kubelet dependency 7947b6ce6d8 kubectl change podSecurityPolicy group 4d3d364d2ba promote e2e tests for taint-tolerations in predicates 6de70829784 remove two unused metrics aaac96c6605 Two bug fixes: (1) at least log something out if we fail to register our health check, (2) actually register a prometheus metric. I delete the deprecated metric in this block because there isn't any point to it, since no one can be broken by changing a metric that doesn't get collected 3fa070ad381 Fix nil pointer dereference in the azure provider 2e6d6d73e7b disable node deletion detach test 28a564cb323 Add current chairs to component base approvers a8ba361fd65 expect node to be recreated with the same name 909300b8be9 When running `kubectl drain` in dry-run, list warnings and pods that would be deleted. bacab3d4577 Deflake kubectl custom printing test d924407ede6 Include cloud/gcp in e2e.test f4d1674827e Refactor parsing logic for service IP and ranges, add tests fdd25ec9682 Fix bug in apiserver service cluster cidr split bc22d70e2b0 Revert "kubeadm: don't check if image exists before pulling" 8227b61022f bazel update 87ccd41af26 e2e storage: add compile test for public TestSuite API 160da35b23c e2e storage: public API for testsuites, support CSIInlineVolume type for generic resource dd7430134a8 Removing conditional check 1b63219c5ec Included CSINode describer fb33b2f42a9 increase LRU cache size 8x for authorization webhook da67bcbd355 added benchmarks for preferred (anti)pod affinity d81dd48e2c5 test/e2e/auth: Fix static check failures d3c562f7e09 Run all csi-hostpath containers as privileged bf92350b11a Refactor kubelet component config lenient path decoding b24dbac09a9 add hack/verify-typecheck-providerless.sh 94cf7319783 typecheck support setting tags, skipping test code, and ignoring directories d51b72d9e9b fix staticcheck in test/e2e/network/ c0db5b2562f Convert ExpectEqual(err, nil) to ExpectNoError(err) e057bd4ad2e fix: typo Snapshoting to Snapshotting 40911e74c16 fix staticcheck in pkg/printers 32850dc47d3 Revert "Use ExpectEqual test/e2e_node" cff9751112f Update GCE Windows startup scripts for TPM-based authentication 36784331eb8 Sync the status of static Pods e981d1ea44b remove framework dependency from framework sub-package kubectl b85adbf1fd9 moved WriteFileViaContainer and ReadFileViaContainer to kubectl_utils 4b99e5305e2 remove CheckFileSizeViaContainer from framework cd8da67b03c move KubectlCmd out of utils into its own package 4b8e552a888 Use typed errors for special casing volume progress 8aa26a6ed6f remove max pods from e2e test f967c544ad1 scheduler benchmark: allow to override bench prefix bc7d254317c Fix Cpu Requests priority Windows. 2dc3684cf76 Fix waiting for logexporter log fetching processes 09ede2fd982 Deleted extra 'phase' in command example 6f0eec4dffb Create kubemark cluster as private b3045389422 fix staticcheck errors in legacy-cloud-providers/azure 839b440173a Cleanup converter bcaab8c1a22 Fix bug in ignoring untypes conversions 7ab3e436f71 Cleanup old-style conversions ab6cbd2e8d0 Cleanup metav1 conversions d11b7a62040 run `hack/update-bazel.sh` c355cadbb1f Enhance error message for failed controlplane init 29eb15c3a84 fix golint check in test/e2e_node/runner/remote 901d7de5566 `kubectl create clusterrolebinding` creates rbac.authorization.k8s.io/v1 object b469404d976 hollow-node use remote CRI 9a9db004512 handle registry merge error 113001ab016 Utilize Context with timeout in gce_instances.go 1fb0dd4ec51 Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus 6c1d587d514 kubectl/drain: add disable-eviction option 4d6e5bf7bea Utilize Context with timeout in GCE operations 2d3c8fe6b95 optimize anti-affinity predicate 727fdef2db8 Address PR comment 7eb6182a633 Revert "Fix shellcheck failure in log-dump/log-dump.sh" 82206578ccc Update checks.go 81471c36b11 [generated] bazels and vendor/modules.txt 6c0688fd517 santize codegen scripts 15a883b0674 s/apiextensions/apiextensionsv1/ for all imports in k/k 168f8f54f01 switch to v1 crd 51814ae189f Be more agressive acquiring the iptables lock 6fcd030877e fix staticcheck failures of test/e2e/upgrade 28327efe6bf Deflake delete grace period e2e 4629da28a02 Update CHANGELOG-1.17.md for v1.17.0-rc.2. c62d6add9b8 Deflake pod readiness e2e f2f0435e718 Enable hidden custom collectors when calling SetShowHidden(). ea7a230af63 All stable collector should be tracked in registry. 069b088ad7b The descs in a stable collector should be tracked by a map instead of slice. efa34ba484f add PredicateFunc for configmap 561ee6ece98 Use ExpectEqual test/e2e_node 9eda99793de use ExpectEqual of framework in test/e2e/storage d2d68026fc9 Fix golint issues in test/e2e/lifecycle/ cd7859901c6 Fix func VerifyLatencyWithinThreshold() to local dddd631706b cmd/kube-controller-manager: fix staticcheck warning 36b41bc9655 apimachinery: fix bugs in a Test function e581be1ec78 add err handling in gce/gci a70a5347360 Replace the hostname in the fluentd config file even if the file exists ba2cc99bdec Add test cases to verify kubelet & kube-proxy can recover if being killed accidentally 9b32d8734f8 Adds initial unit tests for tablegenerator.go e687bf4fe9e Use GCS bucket for crictl on windows. a151aa35dc2 Add defaulting logic for EncryptionConfiguration. f3885340826 make scheduling queue start before the scheduler starts and stops after the scheduler stops e9c400aabca update scheduler benchmarks to be more representative f0ea7bcf9e4 kubeadm: set cluster name on the controller manager aa278345fa5 update gopkg.in/yaml.v2 to v2.2.7 0741f6fa295 Ensure that metadata directory is not created if secret is not found 309c6f863a1 Handle the case of remounts correctly 5feea93163b Rename MarkVolumeMountedOpts to MarkVolumeOpts cdbd3ba5c29 Change interface of SetUp function db9ac38592d Change signature of MountDevice function and remove MountDeviceWithStatusTracking 0c52b6606e6 Refactor NodeStage function 57019e0628a Add tests for verifying in-progress state 27a70a9260c Update generated files 321e99367af Add code to handle Setup With Status tracking dc9e64c31e4 Implement return status codes d620493b743 Ensure webhook backend requests are not artificially rate-limited 50dbcb3e005 Make sure PodExistsInVolume does not uses uncertain volumes 34a6007dfed Add code to mark volume as uncertain a795f3de88a Add code for introducing uncertain state of mounts 51b7ef2c87e fix: replace TrimLeft with TrimPrefix and TrimRight with TrimSuffix e911833814b Make APIService.spec.service optional in the openapi v2 spec 2df8ad1b1c8 Cleanup default conversions d6969d2c554 Cleanup metav1 conversions 12ee83ed942 Use new-style conversions in default conversions 8c2aed4ff5b Optimize:remove unnecessary judgment c687521b446 fix staticcheck in test/e2e/cloud/ 0c36299c218 Use expect equal test/e2e/upgrades af231b09e41 remove Kubeadm-env file overwrite from apply and node command 14fe7225c14 kubeadm: Improve resiliency in CreateOrMutateConfigMap 335a3e9efbc kubeadm: use correct IP family for etcd localhost 84a9803741f Log error when writing checkpoint fails 6415fa765e2 Remove nodes slice in loop of takeByTopology 5ea43f20cb7 optimize scheduler's UpdateNodeInfoSnapshot 22d883d7f23 Nominate liu-cong to be sig-scheduling reviewer. 366e053e28d Switch addon resizer to 1.8.7 1d3b6ece636 Remove stale comment re making apiserver common names dynamic fef9e413dff Make cluster auto scaler use leases b1b9e6254a5 Bump Cluster Autoscaler version to 1.17.0 798d2fb75aa Fix comment typo 69aae3aa5ab fix golint failures of test/e2e_node/remote be0750f6d6a rm -rf staging/src/k8s.io/apiextensions-apiserver/pkg/client d07dd4bbedf Fix NetworkPolicy PolicyTypes validation f461225ba5a Update go-winio module version from 0.4.11 to 0.4.14 5bec54ed5b6 fix: padded base64 encoded docker auth field 044b315d611 All check for instanceID ae72e19ab6b apiextensions: filter required nullable to workaround kubectl validation 52ac2783bc8 use framework refactor code in test/e2e/common a252a617a5e drop KUBE_TIMEOUT in test/cmd/kubeadm.sh aacd79cc363 setting kubemark node labels 5cf06bfa805 fxing kubemark node labels 9ca21e3722b Deal with auto-generated files: - Update bazel by hack/update-bazel.sh 2187fe26997 Add ClearState() API to Desc. Add create() API for Desc Add annotatedHelp fields to Desc. 6323dc789aa Add kind/deprecation to pull request template 81d05e91b5b Retain objects for a limited lifetime in the mutation cache detector by default 9a868766eea Enable mutation detection 4d9c2a4ef8d use ExpectEqual of framework in test/e2e/autoscaling/ d44583d28ae Fix iscsi refcounter in the case of no Block iscsi volumes bbc49d6b1f4 catch the exception raised in Remove-HnsPolicyList a445c97a0e5 update cadvisor dependency to v0.35.0 1ad78587924 stop spamming the log on failures with full objects 7360797a126 remove redundant definition of the defaultProvider in the scheduler ee2418c7aaf Move hostdns.conf out of cni directory. e66f4ca537b Add containerd windows support on GCE for test. 2e0bad569d2 export scheduler.Snapshot function, needed for cluster autoscaler integration 86f3bc25e1d Reduce unnecessary Set in updateAllocatedDevices 29588eee85e Deal with auto-generated files: - update bazel by hack/update-bazel.sh 6dfd3e11e5d correct invalid urls in CHANGELOG file 319946924eb Refactor custom collector unit test. f993950b3f1 use framewoek in test/e2e/cloud 4325e8a4528 e2e: use log functions of core framework on pv, testfiles and volume sub packages 14316058f0a Adding KubeProxyConfigMap19 checking in test-e2e-kubeadm bc53b97ceb2 Clarify client-go issue location (#85464) e7172b3dbf4 pkg/master: Fix static check failures a3a4320aff2 Wait for PV to be available before creating PVCs in volume binding test 5b1fb221b6e increase pv controller resync period to try to deflake api update conflicts ce68a89d26a kubeadm: simplify discover/token and add detailed unit tests a8991a108a8 Enable update-bazel.sh outside of GOPATH 657a3a3294e Delete client node selector during volume creation 18ba2643dba add applyto tests for controller configs 3c1dc89d987 fix kube-apiserver poststarthook additions to avoid duplicating them 016ab0b899b Fix benchmark artifact parsing. deb75da17bb fixup kubectl test a1595da534a Attach runtimeclass printer 03910e99da2 Attach resourcequota printer 9b387da5a1a Improve rolebinding/clusterrolebinding printers 5448a8b526a Add webhook printers cc7e7245a31 Add CSINode/CSIDriver printers 36eb250cbb4 Switch TableGenerator/TableConvertor interfaces to metav1 4dd6fd44806 Fix AWS eventual consistency of AttachDisk a0489c6ca80 test/e2e/apimachinery: fix staticcheck warning 4d028a7903a Extend Registerable interface with FQName() and track collector by name. b9ef1ce87ee lazyInit accepts fqName when init. b881f19c8be kubeadm: Group centric component configs 837fd41c42b Flip CSIMigrationOpenStack flag to be beta and off by default d2bdf89a8b9 fix golint issues in test/e2e_node e4b5a54eb65 fix broken link:https://kubernetes.io/docs/concepts/overview/object-management-kubectl/ 59274b56af2 Use plugin name for filtering metrics d78137bbfe4 Fix PVC condition check for offline resizing 07806d4300c add test coverage with kubectl get components c071265c774 modify the error url of autoscaler 1cb3992d1b8 Switch storage version to use v1.CSINode in 1.18 494629ef58c Fix resource version precondition on pod delete c9dafc8cf9f Add RainbowMango to onwer list of metrics stability framework. dd76fdfce55 Rename Azure driver to Azure Disk driver 2fe699cacd3 add myself to sig-network-approvers e87e4bea0fe Fix HTTP readiness/liveness probes for local node e8ee8622b80 Add support for new dual-stack flags for kubernetes-controller- manager in kubeadm: - node-cidr-mask-size-ipv4 - node-cidr-mask-size-ipv6 ecd1c074727 don't error if set-resources patch is empty 7898b3f0a8b kubeadm: update image pull tests 09d4d65b1bd fix etcd version check error on ARM f6f3738a003 kubeadm: don't check if image exists before pulling c38e79e76d4 refactor: incorporated the review comments 5a1c6b6c022 Revert "remove redundant `source` in shell" 4229b992032 Deep copying EndpointSlices in reconciler before modifying them. bbbf3963489 make elasticsearch discovery supports IPv6 b1c39e9b160 apimachinery: Fix Dropped Test Error (#85427) f96dda6fcfd removed comments referencing akse 8682e902f54 kubectl/drain: Add context support 10865d99444 Provided a mechanism to re-register hidden metrics. a4abc1dd4d6 refactor(golint): lint fixes for iptables test file 81d00077162 Hi San Diego (#85424) 9dcb3bfcff2 Added rest client metrics for client TTL and rot. (#84382) bfa4188123e Fix kubectl conversions c224a6de5e0 Output port as number in error message 73a881e06db Fix GKE upgrade test. 65aefd3def6 Update CHANGELOG-1.17.md for v1.17.0-rc.1. 906d3159b12 kubeadm: add a upgrade health check that deploys a Job c3c7ea2efd8 Dump namespace if the namespace could not be cleaned up 4428c0c25c1 stop_kubemark 1431853075b fix broken link :https://github.com/kubernetes/community/blob/master/contributors/devel/container-runtime-interface.md 1c25890e946 fix broken link :https://github.com/kubernetes/community/blob/master/contributors/devel/cri-validation.md 98be7831e4d Revert "kube-proxy: check KUBE-MARK-DROP" abc64a8519c Print nominated pods on the node when dumping scheduler cached NodeInfo 3322ff9551e generalize solution 81afa77e3bc add pod info when failing to add pod to queue 99603e105ae check service status value returned by EnsureLoadBalancer 3cbc07bb64a Promote a TCP probe test to Conformance 11b0e9af251 better comments 73c1ab71e27 Fix a bug in port-forward: named port not working with service 55828d059dc misc fixes 8b951edada6 Set default value for TEST_CLUSTER_LOG_LEVEL and KUBE_GCE_INSTANCE_PREFIX e16cc492b0e fix kubemark output error a232971d732 Add public documentation for kubelet/apis/config 7b478d15d58 Set node cidr mask size ipv4/ipv6 config 8f4a262d618 fix 1-12 number urls 96eb647898d add cofyc as local volume owner e465e1089d1 Sets HostNetwork to False for tests which do not require it a3c82e8ae31 apiserver: add Retry-After header to response when apiserver is shutting down 9aa68a5cf4b client-go: add connection refused to list of transient errors 6b73c9f8c21 upgrade api-version to fix azure file AuthorizationFailure 5652819292f kubelet/network: add sig-network-approvers to OWNERS fa9a55617bb Fix device plugin generator script 1daa08c5c86 use context to check client closed instead of http.CloseNotifier in processing watch request 821362bd1e3 SafeSysctlWhitelist: add net.ipv4.ping_group_range b05749c619a chore(gofmt): go format fix d49bc343760 [pkg/auth/nodeidentifier/default_test.go]: fix testing error message typo 55c83e33972 Fix golint issues in pkg/kubelet/events/event.go 214228f0248 Remove the derprecated API RawRegister from stability framework 1f4cd65be5e chore(lint): removing the iptables pkg a4631c845e7 chore(lint): lint fix in /pkg/util/iptables bdc11c28064 chore(lint): fix iptable.go file lint 0965b577f47 Wait for kubelet & kube-proxy to be ready within 10s ec57d8a4d0b Support Azure Stack dynamic environments 21f7060c8f4 Plumb test state through to fake volume host creation for error handling dd308ca5769 Fix grammar: have -> has d931b8434b0 Tolerate unset $GOBIN be78dd7526c added yliaog to OWNERS 1f2feb2e7ec Test writing configurations with numeric names c80fe4d9146 tests: Removes [LinuxOnly] tag from a few tests ce5cbe8b13d Add tests for kubeproxyconfig c762fbfa2bf Add componentconfig package testing files dcf80e31ac0 Migrate Kubemark to distroless cfa6f834278 Enable snapshottable e2e test for csi pd driver b7b10fc8993 kubeadm: reset raises warnings if it cannot delete folders 884582d8921 proxier: improve node topology event handler logic 197964210ac remove redundant `source` in shell e975774b334 use ExpectEqual in /e2e/auth 259cc951ffc add ut for scheduler framework 361cd7212eb Fix a comment typo in legacyNodeRoleBehaviorFeature 50bc528a7ed e2e: move LogFailedContainers out of e2e test framework util.go 7420faab435 fix-staticcheck in /test/e2e/windows 34b05d36aa7 Move suites.go to e2e package e27188d70b1 Remove e2e/framework/profile_gatherer.go f7e6b7a817e Add support for GOBIN to generate-groups.sh. bbae978d4a0 Included FSType in CSI volumes 0e93282a357 Clean up cluster-service label from calico-policy-controller 871d95cabdd Reduce visibility of prometheus libs 0412369bcd3 Deal with auto-generated files: - Update bazel by hack/update-bazel.sh c4f8c6eea71 Add flag for which to show hidden metrics to kube-controller-manager 7cfb6ec1a39 fix the defect in the shell scripts 8206a1f7142 Add matthyx to sig-node-reviewers 30bf1f47dd4 Hide kubelet metrics that have been deprecated in 1.14 b1ced1a05e5 remove unused func ce34d0a49dc refactor events utils in e2e 92c7e8e802c Fix golint failures 31d7a026db7 pkg/master: fix staticcheck warning e9edfbc539e modify dockerID to containerID 3d745c4ad45 Add johnbelamaric as conformance code reviewer/approver e99a325d4e9 Fix shellcheck failure in log-dump/log-dump.sh 896f84b6525 Fix golint issues in pkg/apis/batch/validation cfc34712c20 Fix golint issues in pkg/registry/.../storage e55fc5656c3 Fix golint issues in pkg/util/sysctl/testing fc8ea988901 kubelet: rename HTTPGetter interface 4dd546cf2cc Allow usage of consts and variables for stable metrics in static analysis d30319711e3 Fix golint failures for pkg/kubelet/config/... 0649f4064e9 Variables collides with imported package name 47642a0badc fix kubelet failed to start on setting hugetlb limits in non-exist cgroup dir cause by kubelet startup be interrupted on setting list of cgroups In the 'cgroupManagerImpl.Exists' not check&recreate the hugetlb cgroup dir. Then setting the limits in non-exist cgroup dir will cause kubelet start failed. 8e50c55e6bf kubelet: add certificate rotation error metric 9a1f631c5ca Replace nginx image with agnhost in sig-node pods tests 7d4f5554496 correctly handle resetting cpuacct in a live container b44d7c8d3cd Drop version from static openapi json file fd6983c70f9 simplify volume zone checker 9fec783d805 Log mvcc revision compaction as warning fef67e4dabe Fix validation for metav1 fuzz targets. 4b339e6e4e8 fix syntax error in test 3ae8c864de2 Fix error in periodic resyncs description ff543ddfc09 Clarify that OnUpdate can mask delete and recreate e31c7cb1932 Declare constants in pods test as const fdbf5ef0b8b ignore image err when docker image has been cleaned up 5616ce97622 [k8s.io/sample-controller/controller.go]: fixup minor typo 8f099010a5f Centralizes images into agnhost (part 4) 49207027c64 Fix golint errors 6aaae7d6466 Add support for builtin modules in kube-proxy 46fd8fce45c kubectl: remove unreachable code 61c80012448 Fix etcd-version-monitor readme and yaml file. c6f05979d34 Update Calico to v3.8.4 845c223d130 Bind kube-dns containers to linux nodes to avoid Windows scheduling ec3a38758c5 Bind metrics-server containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes 5695b348db2 Bind metadata-agent containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes 5459dbf84b7 Bind dns-horizontal containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes 56d1c3b96d0 update CRI to support hugepages 97e2576750d hostport return error when claim SCTP type port 9dadafa8979 healthz: instrument root healthz requests for metrics 9c120c8e1a3 Clalify how to contribute to kubectl book 3be31530d5a cri_stats_provider: do not consider exited containers when calculating cpu usage 0b481e8412e Shorten health check timeout for AWS NLB with externalTrafficPolicy: Local 91b9d421094 Fix typo 6b0748d3b5c Added e2e test to verify zone support across datacenters in the same vCenter 4b775046d4f remove stateCheckPeriod 3bb3db1d36e Bumped the number of times a node tries to lookup itself e7cc2c2d280 Report api request throttling at v=3 6d64d0610ca fix path to prow size plugin Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Revert "go: add back 1.12 version to avoid compilation failure"Bruce Ashfield2020-01-0924-1542/+0
| | | | This reverts commit 06dad20a32c81b6a8b6e93c99cda6f1133abddc6.
* k8s: update to v1.17-betaBruce Ashfield2020-01-092-73/+3
| | | | | | | | | | | Updating to v1.17-beta, so we can drop the GO version 1.12 in meta-virtualization. We also drop one patch, since it is part of the upstream now. Basic sanity tests shows no show-stopper issues. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go: add back 1.12 version to avoid compilation failureChen Qi2019-12-1024-0/+1542
| | | | | | | | | | | | | | go 1.12 was removed from oe-core, but currently k8s cannot be built successfully with go 1.13. See link below. https://github.com/kubernetes/kubernetes/issues/82531 We need to wait for k8s to support go 1.13 and update it to latest release, as well as its depedencies. Before this is done, add back go 1.12 and use it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: Set correct PV release numberJoakim Roubert2019-10-241-1/+1
| | | | | | | | | | Commit c97fe5036ef3df2967d086711e6c0c405941e14b is Kubernetes v1.16.2 (see https://github.com/kubernetes/kubernetes/releases for verification) and building with the current recipe generates v1.16.2 binaies although the package names state v1.16.1. Change-Id: I5701c18cc3ce205ad906eda2595d9ad7f5748b17 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: bump to 1.16-relase branchBruce Ashfield2019-10-151-3/+3
| | | | | | | | Updating kubernetes to use the 1.16 relese (instead of the 1.16) alpha. No issues were found in build and runtime testing of this versus the alpha release. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: fix compiling failure: execvp: /bin/bash: Argument list too longHongxu Jia2019-09-182-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use GNU Make 4.2.1(such as fedora-29) to build k8s in a long directory, it failed with `execvp: /bin/bash: Argument list too long' [snip] $ cd /buildarea1/hjia/wrlinux-1019/I_/suspect_/that_/if_/you_/create_/your_/project_/in_/a_/very_/deep_/directory/build_master-wr_qemux86-64_faw_2019090509/build/tmp-glibc/work/core2-64-wrs-linux/kubernetes/v1.16.0-alpha+git7054e3ead7e1a00ca6ac3ec47ea355b76061a35a-r0/kubernetes-v1.16.0-alpha+git7054e3ead7e1a00ca6ac3ec47ea355b76061a35a/src/import $ make cross KUBE_BUILD_PLATFORMS=linux/amd64 GOLDFLAGS="" |+++ [0804 16:38:32] Building go targets for linux/amd64: | ./vendor/k8s.io/code-generator/cmd/deepcopy-gen |make[1]: execvp: /bin/bash: Argument list too long |make[1]: *** [Makefile.generated_files:184: pkg/kubectl/cmd/testing/zz_generated.deepcopy.go] Error 127 |make: *** [Makefile:557: generated_files] Error 2 ... [snip] From make manual [1] $? The names of all the prerequisites that are newer than the target, with spaces between them. While two `$?' was passed to bash in a line, it caused above failure, drop a duplicated one could workaround the issue. [1] https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: building unstripped binariesHongxu Jia2019-09-031-1/+1
| | | | | | | | | | | | Specify GOLDFLAGS as an empty string for building unstripped binaries, which allows you to use code debugging tools like delve. When GOLDFLAGS is unspecified, it defaults to "-s -w" which strips debug information. Other flags that can be used for GOLDFLAGS are documented at https://golang.org/cmd/link/ [1] [1] https://github.com/kubernetes/kubernetes/blob/master/build/root/Makefile#L82 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: clean up environment settings in do_compileChen Qi2019-08-121-24/+12
| | | | | | | | | | | | | | There are unnessary and incorrect settings like GOOS and GOROOT. There are also redundant settings like GOPATH, CGO_CFLAGS, etc, whose latter setting will cover the previous one. So clean all these up. Also, remove the comment which suggests settings GOVERSION to "1.10%", as it's no longer valid for current OE. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: set COMPATIBLE_HOSTChen Qi2019-07-311-0/+2
| | | | | | | | | | | Currently kubernetes does not build for qemux86, qemumips, qemumips64, qemuppc. So set COMPATIBLE_HOST to make this clear. Otherwise we get build failure when trying to build like below. fatal error: bits/long-double-64.h: No such file or directory Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containers/go/build: don't override global package strip flagsBruce Ashfield2019-07-221-1/+0
| | | | | | | | | | | | | | | | | | When the go-lang container recipes were first created there were issues with strip and the resulting binaries. As such, strip was inhibited for the various packages. This variable is now set in the default classes, and tests show that strip works on the binaries (saving up to 2M on disk for some binaries) with no runtime issues found. So we drop our explicit set of the inhibit and let the build proceed by the defaults. If issues are found, we can re-enable the setting or bbappends can turn it back on for builds showing issues. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: update to 1.16+Bruce Ashfield2019-07-121-2/+2
| | | | | | | Upgrading kubernetes to the 1.16 series. This is currently in alpha, but will be released before the feature freeze. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: update to v1.14-alphaBruce Ashfield2019-02-111-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: uprev to v1.12 release and fix cross compilation errorsBruce Ashfield2018-11-022-3/+37
| | | | | | | | | The update to go 1.11 exposed some issues with the cross compilation of kubernetes. The best way to fix those issues is to uprev to 1.12 and to inhibit the building of the test modules (which query the host for infrastructure that is not present). Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kubernetes: add hash/stripped exception for kubernetes-miscBruce Ashfield2018-07-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Without this, our go build will throw the following QA error during the build: ERROR: kubernetes-1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: 'tmp/work/core2-64-overc-linux/kubern etes/1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0/packages-split/kubernetes-misc/usr/bin/apiextensions-apiserver' No GNU_HASH in the elf binary: 'tmp/work/core2-64-overc-linux/kubernetes/1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0/packages-split/kubernetes-misc/usr/bin /deepcopy-gen' No GNU_HASH in the elf binary: 'tmp/work/core2-64-overc-linux/kubernetes/1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0/packages-split/kubernetes-misc/usr/bin /defaulter-gen' No GNU_HASH in the elf binary: 'tmp/work/core2-64-overc-linux/kubernetes/1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0/packages-split/kubernetes-misc/usr/bin /genswaggertypedocs' No GNU_HASH in the elf binary: 'tmp/work/core2-64-overc-linux/kubernetes/1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0/packages-split/kubernetes-misc/usr/bin /linkcheck' No GNU_HASH in the elf binary: 'tmp/work/core2-64-overc-linux/kubernetes/1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0/packages-split/kubernetes-misc/usr/bin/openapi-gen' No GNU_HASH in the elf binary: 'tmp/work/core2-64-overc-linux/kubernetes/1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0/packages-split/kubernetes-misc/usr/bin/genyaml' No GNU_HASH in the elf binary: 'tmp/work/core2-64-overc-linux/kubernetes/1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0/packages-split/kubernetes-misc/usr/bin/conversion-gen' No GNU_HASH in the elf binary: 'tmp/work/core2-64-overc-linux/kubernetes/1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0/packages-split/kubernetes-misc/usr/bin/gendocs' No GNU_HASH in the elf binary: 'tmp/work/core2-64-overc-linux/kubernetes/1.11.0+git210c9cd7e1782e9fe46938fe0368556f2166a528-r0/packages-split/kubernetes-misc/usr/bin/ginkgo' [ldflags] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kubernetes: OE styleguide fixesKoen Kooi2018-07-231-28/+23
| | | | | | | | * Keep variables close to the function they are used in, so R(untime)DEPENDS goes below do_install, PV next to SRCREV, etc. * Don't use =+ as multiline seperator, it's a *very* heavy bitbake operation. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kubernetes: package remaining files into PN-miscKoen Kooi2018-07-231-0/+3
| | | | | | | | A previous commit changed do_installed to install everything, not just kube*, adjust PACKAGES to keep ${PN} empty as it was before. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kubernetes: build host tools using host toolchainJagadeesh Krishnanjanappa2018-07-231-0/+6
| | | | | | | | | | | | | | | Compile host tools such as deepcopy-gen, defaulter-gen, openapi-gen for host architecture, to solve below error: -- snip -- | +++ [0117 05:31:35] Building go targets for linux/arm64: | ./vendor/k8s.io/code-generator/cmd/deepcopy-gen | touch: cannot touch '_output/bin/deepcopy-gen': No such file or directory | make[1]: *** [Makefile.generated_files:323: _output/bin/deepcopy-gen] Error 1 | make: *** [Makefile:478: generated_files] Error 2 Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>