Commit Graph

116850 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
039ae1edf5
Merge pull request #118414 from thockin/remove_codegen_debug
Fix errant debugging code in codegen
2023-06-02 13:58:41 -07:00
Antoine Pelisse
20866b3f85 dryrun: Don't reuse current object for conversion
dry-run and non-dry-run are currently a little different since dry-run
was using the destination object to get the current status. That causes
a weird duplication bug with the HorizontalPodAutoscaler conversion
code. Addresses the bug by using an empty object for the current state
and keep the destination for its actual "out" purpose.
2023-06-02 13:40:48 -07:00
Dr. Stefan Schimanski
f351c6d1ec
k8s.io/apiserver: apply storage object count tracker implicitly 2023-06-02 20:24:06 +02:00
Tim Hockin
45c9e06616
Fix errant debugging code in codegen 2023-06-02 10:09:51 -07:00
Kubernetes Prow Robot
bd0ac4cba3
Merge pull request #118384 from Jefftree/gnostic-models-branch
Update gnostic library to point to gnostic-models
2023-06-02 10:06:53 -07:00
SataQiu
a51be9786b remove enabled by default beta resources that have been removed 2023-06-03 00:06:50 +08:00
Patrick Ohly
f4d326a1fc verify: produce JUnit file also for pull-kubernetes-verify-strict-lint
Because this doesn't get invoked through verify.sh, we have to call
logJu ourselves to get a JUnit file. errexit must not be set when
calling logJu, otherwise it does no post-processing.
2023-06-02 17:38:14 +02:00
Kensei Nakada
a4ea058cc7 feature(scheduler_perf): distinguish result in scheduler_scheduling_attempt_duration_seconds metric result 2023-06-02 14:45:55 +00:00
Jefftree
322968e9b3 Update unwanted dependencies per CI instructions 2023-06-02 14:34:26 +00:00
Jefftree
2111e79f56 Update gnostic references 2023-06-02 14:34:26 +00:00
Jefftree
1993a4cb37 vendor 2023-06-02 14:34:25 +00:00
Patrick Ohly
0b4efddae0 verify: nicer failure message rendering in Prow
The "message" attribute is redundant. Adding line breaks ensures that the curly
brackets used by Prow are on separate lines.

Before:
    {Script Error ScriptError test/e2e/e2e.go:437:5: var `unused` is unused (unused)
    var unused = 1 // intentionally trigger a golangci-lint warning.
        ^}

After:
    {ScriptError
    test/e2e/e2e.go:437:5: var `unused` is unused (unused)
    var unused = 1 // intentionally trigger a golangci-lint warning.
        ^
    }
2023-06-02 15:39:27 +02:00
Patrick Ohly
dbbb21469f verify: pick relevant lines from verify-golangci-lint.sh as failure message
When sh2ju.sh was called to generate the junit_verify.xml, it used to include
the entire output of a failed script twice: once as failure message, once as
log output.

This output can be large and often the actual failure isn't near the top, but
rather at the end or (in the case of the different golangci-lint invocations)
embedded in the log. This makes them hard to see at a glance when looking at
the Prow result page for a job.

Now a verify script can prefix relevant lines with "ERROR: " and then only
those lines are used as failure message in JUnit, without that prefix.

That string was chosen because Prow itself also then picks up those lines when
viewing the entire build log and it is unlikely that some script prints such
lines when they are not meant to be part of the failure.

If some script outputs no such lines, "see stderr for details" is used as
failure message. This is better than before because it avoids the redundancy.
2023-06-02 15:37:50 +02:00
Kubernetes Prow Robot
2eb4eac581
Merge pull request #118353 from SataQiu/fix-kubeadm-test-20230531
kubeadm: add command-line integration test to ensure that the supported etcd version is always available for the stable Kubernetes version
2023-06-02 04:40:53 -07:00
Kubernetes Prow Robot
08579e8a8a
Merge pull request #118388 from andyzhangx/revert-118236-remove-azurefile
Reinstate the azureFile in-tree storage plugin (revert removal)
2023-06-02 03:32:53 -07:00
Rita Zhang
d6168bb658
Add ephemeralcontainer to imagepolicy securityaccount admission plugin
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-06-01 23:05:06 -07:00
guoguangwu
70ff750c75 chore: io/ioutil deprecated 2023-06-02 13:10:38 +08:00
Andy Zhang
1ce285ad3d
Revert "removed the deprecated azureFile in-tree storage plugin" 2023-06-02 10:20:53 +08:00
Kubernetes Prow Robot
decf1e1a9b
Merge pull request #117870 from howardjohn/client/run-errorhandler-race
informer: fix race against Run and SetTransform/SetWatchErrorHandler
2023-06-01 15:41:45 -07:00
Kubernetes Prow Robot
0291a59a8c
Merge pull request #118380 from SataQiu/add-deprecation-message
kubeadm: add deprecation message for UpgradeAddonsBeforeControlPlane feature gate
2023-06-01 10:49:45 -07:00
Kubernetes Prow Robot
2815a28dfa
Merge pull request #118339 from jpbetz/bump-cel-go
Bump cel go to latest version
2023-06-01 09:09:46 -07:00
SataQiu
daa7115907 kubeadm: add deprecation message for UpgradeAddonsBeforeControlPlane feature gate 2023-06-01 23:06:26 +08:00
Kubernetes Prow Robot
33a2438de9
Merge pull request #118341 from pacoxu/add-pacoxu-kubeadm
add pacoxu to kubeadm approvers
2023-06-01 04:33:46 -07:00
Dan Winship
a6c7f63b18 Set the node-ips annotation correctly with CloudDualStackNodeIPs 2023-06-01 07:20:17 -04:00
SataQiu
d49c43abde kubeadm: add integration test to ensure that the supported etcd version is always available for the stable Kubernetes version 2023-06-01 18:45:06 +08:00
Kubernetes Prow Robot
1bcc388dc6
Merge pull request #118351 from pohly/dra-test-driver-grpc-calls
DRA test driver: GRPC calls
2023-06-01 03:33:46 -07:00
Mengjiao Liu
6d23da045f Migrated pkg/scheduler/framework/plugins/interpodaffinity to use contextual logging 2023-06-01 18:24:54 +08:00
TommyStarK
db2389ba9c kube-proxy: remove log warning about not using config file
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-06-01 11:48:16 +02:00
Kubernetes Prow Robot
82f7cf6010
Merge pull request #117930 from LronDC/master
kubectl: optimize usage message of commands which have subcommands.
2023-06-01 02:19:46 -07:00
Sascha Grunert
15aa00fc83
Remove unused getSeccompProfilePath helper function
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-06-01 11:03:39 +02:00
Patrick Ohly
d0a64739e2 e2e dra: collect and check GRPC calls
If kubelet plugin registration fails, it would be good to know more about the
communication with kubelet. Capturing the GRPC calls and then checking that
makes the failure messages more informative. Here's an example where a failure
was triggered by temporarily modifying the check so that it didn't find the
call:

  [FAILED] Timed out after 30.000s.
  Expected:
      <[]app.GRPCCall | len:2, cap:2>: [
          {
              FullMethod: "/pluginregistration.Registration/GetInfo",
              Request:
                  {},
              Response:
                  endpoint: /var/lib/kubelet/plugins/test-driver/dra.sock
                  name: test-driver.cdi.k8s.io
                  supported_versions:
                  - 1.0.0
                  type: DRAPlugin,
              Err: nil,
          },
          {
              FullMethod: "/pluginregistration.Registration/NotifyRegistrationStatus",
              Request:
                  plugin_registered: true,
              Response:
                  {},
              Err: nil,
          },
      ]
  to contain successful NotifyRegistrationStatus call
2023-06-01 09:58:05 +02:00
Joe Betz
68901de898 Enable optionals and add tests 2023-05-31 18:36:50 -04:00
Joe Betz
5c0b59891d Bump cel-go to v0.16.0 2023-05-31 18:36:43 -04:00
Kubernetes Prow Robot
627f43d8bb
Merge pull request #118365 from marosset/windows-gmsa-install-fixes
Fixing gmsa-webhook install steps for Windows GMSA full tests
2023-05-31 14:59:45 -07:00
Mark Rossetti
5b3510c0b6
Fixing gmsa-webhook install steps for Windows GMSA full tests
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2023-05-31 13:59:02 -07:00
Chinmay Chapla
c539c73916 Changes to buckets and comments 2023-05-31 19:23:57 +00:00
John Howard
35d2431b3a informer: fix race against Run and SetTransform/SetWatchErrorHandler
`SetWatchErrorHandler` claims it will fail if Run() has already started.
But if they are called concurrently, it will actually trigger a data
race.

With this PR:
```
62702 runs so far, 0 failures (100.00% pass rate). 59.152682ms avg, 189.068387ms max, 26.623785ms min
```

Without this PR:
```
5012 runs so far, 38 failures (99.25% pass rate). 58.675502ms avg, 186.018084ms max, 29.468104ms min
```
2023-05-31 08:24:26 -07:00
Chinmay Chapla
6426962059 Changes to histogram buckets 2023-05-31 14:31:08 +00:00
Kubernetes Prow Robot
544005c32d
Merge pull request #117527 from ndixita/e2e-gcp-credential-provider-test
Moving Kubelet Credential Provider test to common so that it can be r…
2023-05-31 06:31:45 -07:00
Ed Bartosh
c48c4c679a Fix ginkgo deprecation warning
Fixed ginkgo warning
   You're using deprecated Ginkgo functionality:
   =============================================
   --untilItFails is deprecated, use --until-it-fails instead

Used consistent approach with this flag in e2e_node and e2e scripts.
2023-05-31 12:53:11 +03:00
Kubernetes Prow Robot
23698d3e9f
Merge pull request #118335 from pacoxu/revert-118316-fix-kubeadm-20230529
Revert "kubeadm: add --feature-gates flag for kubeadm upgrade node"
2023-05-31 02:01:57 -07:00
Kubernetes Prow Robot
0bcb6db16b
Merge pull request #118048 from pbetkier/fix-hpa-e2e-cm-flake
e2e: deflake hpa e2e custom metrics tests
2023-05-31 02:01:46 -07:00
Kubernetes Prow Robot
cc131a6c2a
Merge pull request #116583 from likakuli/fix-schedulerexiterr
feat: ignore queue close error log when scheduler exit
2023-05-30 22:43:44 -07:00
likakuli
5a14573258 clean: use info instead of error to log queue closed message when scheduler exit
Signed-off-by: likakuli <1154584512@qq.com>
2023-05-31 11:07:24 +08:00
Paco Xu
f2a5e247eb add pacoxu to kubeadm approvers list 2023-05-31 10:34:42 +08:00
Kubernetes Prow Robot
0bb17a88fa
Merge pull request #116741 from gjkim42/promote-expanded-dns-config-to-ga
Promote ExpandedDNSConfig feature to the GA stage
2023-05-30 18:19:56 -07:00
Kubernetes Prow Robot
e1af716860
Merge pull request #115694 from mpuckett159/fix/explain-jsonpath
Fix/explain jsonpath
2023-05-30 18:19:44 -07:00
Chinmay Chapla
705c6ff315 Review comments, added metric namespace, moved utility functions, and etc 2023-05-31 01:04:57 +00:00
Kubernetes Release Robot
a8ef109aca CHANGELOG: Update directory for v1.28.0-alpha.1 release 2023-05-31 00:22:04 +00:00
Kubernetes Prow Robot
18e3f01ded
Merge pull request #117877 from xuzhenglun/master
KEP-3668: promote ServiceNodePortStaticSubrange to beta
2023-05-30 14:57:56 -07:00