Commit Graph

103033 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8088b3e67d
Merge pull request #103713 from aojea/metrics-server-443
cluster: fix metrics-server deployment on CI jobs
2021-07-23 06:59:16 -07:00
able8
3520e8b339 Fix a typo in comment 2021-07-23 19:47:33 +08:00
Nabarun Pal
77afa53f9d
Add e2e testing manifest bundle to e2e_node test suite
Ref: https://kubernetes.slack.com/archives/C0BP8PW9G/p1627003199187100?thread_ts=1626988113.184100&cid=C0BP8PW9G

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-07-23 09:49:33 +05:30
Neeraj Shah
75f0007d2b Overlaid OS's environment variables with the ones specified in the CredentialProviderConfig
- Removed dependency with cmd.Run's stub
- Added test cases

Signed-off-by: Neeraj Shah <neerajx86@gmail.com>
2021-07-23 09:45:19 +05:30
Yuan Chen
00e31ce565 Fix incorrect comments in scheduler_queue.go 2021-07-22 20:57:21 -07:00
Juan Escobar
fef5c0c1a6 Improve storage test skipping pattern.
Including a skip method as the first line of a test does not prevent the test to fail in the BeforeEach function.
If the test is skipped because of a tag in the name, then we can prevent such odd behavior.
2021-07-22 21:42:30 -05:00
Kubernetes Prow Robot
f8ef5a9411
Merge pull request #103620 from thockin/kal-approver
Make khenidak a sig-net approver
2021-07-22 19:29:16 -07:00
tanjing2020
523b4c0918 Replace 'x.Sub(time.Now())' with 'time.Until(x)' 2021-07-23 10:03:36 +08:00
Kubernetes Prow Robot
8ac0fcdb74
Merge pull request #103842 from bobbypage/summary-test
test: summary use pointer gomega comparison for UsageNanoCores
2021-07-22 16:07:28 -07:00
Kubernetes Prow Robot
de8b873684
Merge pull request #103827 from mmiranda96/fix/demote-sysctl-conformance-test
Demote sysctl test from its conformance status
2021-07-22 16:07:16 -07:00
Kubernetes Prow Robot
603830b8a6
Merge pull request #103806 from mauriciopoppe/fetch-metrics-no-sync-once
Fetch metrics from controller manager & scheduler without `sync.Once`
2021-07-22 13:55:18 -07:00
Mike Miranda
0cce9a4a6c Remove conformance status from a sysctl test and relabel 2021-07-22 20:12:26 +00:00
Jordan Liggitt
326471d880 k8s.io/code-generator: Change BoilerplatePath() to locate file or require explicit flag 2021-07-22 16:04:30 -04:00
“Ibrahim
2cacfada26 Update Containerd version - GCE Windows 2021-07-22 18:34:11 +00:00
Kubernetes Prow Robot
9b84e473b2
Merge pull request #103831 from lizhuqi/disable-aufs
disable aufs module
2021-07-22 10:13:52 -07:00
jyz0309
97ba475941 add new metric
Signed-off-by: jyz0309 <45495947@qq.com>

add comment

Signed-off-by: jyz0309 <45495947@qq.com>

add promlint

Signed-off-by: jyz0309 <45495947@qq.com>

address comment

Signed-off-by: jyz0309 <45495947@qq.com>

go fmt code

Signed-off-by: jyz0309 <45495947@qq.com>
2021-07-23 00:24:29 +08:00
Kubernetes Prow Robot
4818e5844e
Merge pull request #103844 from palnabarun/1.22/update-publishing-rules
staging/publishing: add release-1.22 rules
2021-07-22 08:13:51 -07:00
Nabarun Pal
0aa16fae5b
staging/publishing: add release-1.22 rules
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-07-22 19:37:42 +05:30
Alexi Kessler
94977dce8d
Update doc description for --audit-log-maxbackup
Per https://pkg.go.dev/gopkg.in/natefinch/lumberjack.v1 a value of 0 will retain all logs. Not understanding this led to an outage for my team.
2021-07-22 09:42:30 -04:00
David Porter
3af4fe8c9b Use pointer gomega comparison for UsageNanoCores 2021-07-22 01:08:36 -07:00
Julie Qi
2a4a1c1d00 disable aufs module 2021-07-21 23:25:19 -07:00
Kubernetes Prow Robot
1a9ae34549
Merge pull request #103823 from liggitt/csr-cleaner-error
Make CSR cleaner tolerate objects with invalid status.certificate
2021-07-21 16:47:51 -07:00
Yuan Chen
971e0c4400
Fix a typo in comment 2021-07-21 16:19:22 -07:00
Antonio Ojea
0610968bfa bump metrics-server to 0.5.0 2021-07-22 01:13:44 +02:00
Antonio Ojea
c5aead020b cluster: fix CI metrics-server deployment
use deployment based on upstream manifest

- add liveness and readiness probes
- use kubelet port secure port

https://github.com/kubernetes-sigs/metrics-server/blob/release-0.4/manifests/base/deployment.yaml#L32-L38
2021-07-22 01:06:04 +02:00
Kubernetes Prow Robot
85a29212e0
Merge pull request #103725 from jingxu97/July/wintests
Fix windows storage tests
2021-07-21 15:01:51 -07:00
Mauricio Poppe
9103b7187c Fetch metrics from controller manager & scheduler no run once 2021-07-21 17:16:42 +00:00
Kubernetes Prow Robot
185d2e076f
Merge pull request #103815 from saschagrunert/ssh-port
Fix SIG Node SSH e2e test
2021-07-21 08:28:07 -07:00
Christian Glombek
f174307e49 k8s.io/code-generator: Enable generate-* scripts usage as module deps
So far, the generate scripts could not be required as dependencies
with Go Modules (e.g. in tools.go) as they were installed without
proper module context.

This commit enables the generator scripts to be used as versioned
dependencies with Go Modules by forcing installation into
the fully-qualified module directory.
2021-07-21 11:11:19 -04:00
Sascha Grunert
8ad83fd685
Make crictl tests host local
We now use a host local exec instead of SSH commands to simplify the
test and make the result more robust.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-07-21 16:46:37 +02:00
Jordan Liggitt
236e72cf8a Make CSR cleaner tolerate objects with invalid status.certificate 2021-07-21 10:35:17 -04:00
Sascha Grunert
c1bac40880
Fix SIG Node SSH e2e test
This assumes that SSH via bastion works if the `KUBE_SSH_BASTION`
environment variable is set, which is the case for
`pull-kubernetes-e2e-gce-correctness`.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-07-21 15:57:14 +02:00
Jing Xu
33feaee2c2 Fix windows storage tests
1. fix command empty issue for some Windows storage tests
2. enable more windows storage tests by adding ntfs test patten

Change-Id: Ic33be282d669a23107474a14d4368bbf95c9b459
2021-07-20 22:40:20 -07:00
Vivek Singh
80e4007bc3 test: e2e: HPA ContainerResource
This add e2e test for HPA ContainerResource metrics. This add test to cover two scenarios
1. Scale up on a busy application with an idle sidecar container
2. Do not scale up on a busy sidecar with an idle application.

Signed-off-by: Vivek Singh <svivekkumar@vmware.com>
2021-07-21 10:24:00 +05:30
SataQiu
5be47eaf27 kubeadm: update references to legacy artifacts locations 2021-07-21 12:13:05 +08:00
Anago GCB
fac3dd6914 CHANGELOG: Update directory for v1.22.0-rc.0 release 2021-07-21 03:06:38 +00:00
Kubernetes Prow Robot
9f47110aa2
Merge pull request #103785 from smarterclayton/preserve_reason
Ensure that Reason and Message are preserved on pod status
2021-07-20 15:21:26 -07:00
Yan Huang
e2b6816953 Deprecate apiserver_longrunning_guage and apiserver_registered_watchers
Deprecate apiserver_longrunning_guage and apiserver_registered_watchers

Update

Fix name

update

Add back empty space

Update the deprecated version to 1.23
2021-07-20 14:52:38 -07:00
gkarthiks
019e8f71b6 refactor: normalizing URL string locally and move out from purell package
The purell package at github.com/PuerkitoBio/purell is no longer maintained and in k/k repo under kubeadm package its been used for normalizing the URL. This commit removes the dependency on this package and creates a local function for normalizing the URL within the preflight package under cmd/kubeadm.

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

chore: add new line at end of the file

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

fix: remove unused mod from vendor modules file

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2021-07-20 21:56:08 +05:30
yxxhero
38239d3025 migrate cmd/kube-proxy/app logs to structured logging 2021-07-20 23:07:41 +08:00
Kubernetes Prow Robot
7303b2ce4e
Merge pull request #103747 from mattcary/noapi
Revert #99378
2021-07-20 07:19:31 -07:00
Antonio Ojea
dd2c383060 decouple timeBudget from real clock
instead of using a goroutine refreshing the budget, obtain
the value from the last time the budget was accessed.
2021-07-20 15:55:14 +02:00
sanposhiho
6680368958 Add: specify that reason is a field to record the reason why failed 2021-07-20 20:33:40 +09:00
Pavel Malinov
6490fcc5bb setting the status to fix on the known issue
Signed-off-by: Pavel Malinov <pmmalinov01@gmail.com>
2021-07-20 09:51:43 +03:00
Qi Ni
9f09064104 feat: Provide IPv6 support for internal load balancer 2021-07-20 14:47:55 +08:00
jay vyas
59c0523bca
Using ServiceIPs instead of DNS names in the NetworkPolicy Probes + adding Interface decoupling (#102354)
* Squashed commit of the following:

commit 7f774dcb54b511a3956aed0fac5c803f145e383a
Author: Jay Vyas (jayunit100) <jvyas@vmware.com>
Date:   Fri Jun 18 10:58:16 2021 +0000

    fix commit message

commit 0ac09650742f02004dbb227310057ea3760c4da9
Author: jay vyas <jvyas@vmware.com>
Date:   Thu Jun 17 07:50:33 2021 -0400

    Update test/e2e/network/netpol/kubemanager.go

    Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>

commit 6a8bf0a6a2690dac56fec2bdcdce929311c513ca
Author: jay vyas <jvyas@vmware.com>
Date:   Sun Jun 13 08:17:25 2021 -0400

    Implement Service polling for network policy suite to remove reliance on CoreDNS when verifying network policys

    Update test/e2e/network/netpol/probe.go

    Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>

    Add deafultNS to use service probe

commit b9c17a48327aab35a855540c2294a51137aa4a48
Author: Matthew Fenwick <mfenwick100@gmail.com>
Date:   Thu May 27 07:30:59 2021 -0400

    address code review comments for networkpolicy decoupling from dns

commit e23ef6ff0d189cf2ed80dbafed9881d68402cb56
Author: jay vyas <jvyas@vmware.com>
Date:   Wed May 26 13:30:21 2021 -0400

    NetworkPolicy decoupling from DNS

gofmt

remove old function

* model refactor

* minor

* dropped getK8sModel func

* dropped modelMap, added global model in BeforeEach and subsequent changes

Co-authored-by: Rajas Kakodkar <rajaskakodkar16@gmail.com>
2021-07-19 23:09:32 -07:00
lixiaobing1
51e4694cd6 fix typo scheduling queue to active queue 2021-07-20 14:01:35 +08:00
Kubernetes Prow Robot
e847b849c4
Merge pull request #103704 from robscott/endpoints-write-remove
Remove Endpoints write access from aggregated edit role
2021-07-19 20:57:31 -07:00
Pat Christopher
b09bbd808a
testing patches. add k8s.io/staging, remove local home 2021-07-19 20:26:53 -07:00
Kubernetes Prow Robot
61b2ce3855
Merge pull request #103777 from vteratipally/cos-update
update cos 85 version to latest version
2021-07-19 19:23:31 -07:00