Commit Graph

13747 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
f0b7ad3ee0 Merge pull request #103168 from raisaat/beta-2238
Code changes for Probe-level Termination Grace Period Beta
2021-07-13 15:42:19 -07:00
Kubernetes Prow Robot
ab609a418e Merge pull request #103669 from cpanato/go1.16
[go1.16] Update to go1.16.6
2021-07-13 12:50:13 -07:00
Kubernetes Prow Robot
1b60d456c4 Merge pull request #103284 from kebe7jun/fix/kubectl-logs-error-for-multiple-pods
Fix the code is leaking the defaulting between unrelated pod instances
2021-07-13 12:50:01 -07:00
Elana Hashman
aaa7de0ac6 Update API description for probe.terminationGracePeriodSeconds 2021-07-13 14:28:06 -05:00
Kubernetes Prow Robot
e375563732 Merge pull request #103245 from wzshiming/fix/prober-termination
Add validation for Prober TerminationGracePeriodSeconds
2021-07-13 09:30:30 -07:00
Carlos Panato
83f8d1ad72 [go1.16] Update to go1.16.6
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-07-13 18:05:16 +02:00
Kubernetes Prow Robot
584658a17d Merge pull request #103601 from dashpole/webhook_tracing
Add tracing to admission webhook requests
2021-07-12 10:22:47 -07:00
Paco Xu
1280a365e4 Revert "use PermitWithoutStream=true for etcd: send pings even without active stream" 2021-07-12 11:47:55 +08:00
Kubernetes Prow Robot
e799d7b191 Merge pull request #99023 from verb/1.21-securitycontext
Allow setting securityContext in ephemeral containers
2021-07-09 20:50:46 -07:00
Kubernetes Prow Robot
b2bf3d7c13 Merge pull request #103452 from njuptlzf/ps-ValidatePodController-ut
[test-only][PodSecurity] Add test coverage for pod-template-containing objects
2021-07-09 19:40:45 -07:00
Kubernetes Prow Robot
a26c39e92a Merge pull request #103465 from tallclair/podsecurity-webhook
Podsecurity webhook
2021-07-09 18:11:17 -07:00
Tim Allclair
32783f7568 PodSecurity: Initial webhook implementation 2021-07-09 17:04:29 -07:00
Kubernetes Prow Robot
de0670ca0d Merge pull request #103553 from ehashman/rename-node-ff
Rename NodeSwapEnabled flag to NodeSwap
2021-07-09 16:49:30 -07:00
Kubernetes Prow Robot
303fe39e1c Merge pull request #102177 from atiratree/quotaunitscli
kubectl: show consistent unit format in quota describe
2021-07-09 16:49:18 -07:00
Kubernetes Prow Robot
a0d77e5763 Merge pull request #103617 from liggitt/sparse-test
[test-only]PodSecurity: make integration tests run sparsely
2021-07-09 14:38:54 -07:00
Kubernetes Prow Robot
60756214d8 Merge pull request #103533 from jiahuif/feature/leader-migration/to-beta
KEP-2436 Leader Migration: to beta
2021-07-09 12:15:00 -07:00
Kubernetes Prow Robot
87ee0c06fb Merge pull request #103527 from tkashem/apf-fix-virtual-time
apf: include seats from queued requests when advancing virtual clock
2021-07-09 12:14:53 -07:00
Elana Hashman
642eff0c69 Rename NodeSwapEnabled flag to NodeSwap 2021-07-09 11:39:52 -07:00
Jordan Liggitt
c2aaf0667f PodSecurity: make integration tests run sparsely 2021-07-09 14:19:35 -04:00
Kubernetes Prow Robot
3ccfe94563 Merge pull request #100101 from deads2k/mutated-options
prevent mutation of deletion options during delete collection
2021-07-09 07:36:53 -07:00
David Ashpole
9dd59017c4 add tracing to webhook requests 2021-07-09 06:30:05 -07:00
Kubernetes Prow Robot
edbb0b9549 Merge pull request #103590 from rphillips/revert-102998-apf-width-list
Revert "apiserver: add callback to get notified of object count"
2021-07-09 06:01:33 -07:00
Kubernetes Prow Robot
f6df5a6818 Merge pull request #103589 from SergeyKanzhelev/updateHelpText
update the help text of KubeletConfig following the DynamicKubletConf…
2021-07-09 06:01:25 -07:00
Kubernetes Prow Robot
ace5482c9f Merge pull request #103457 from codearky/fix-yaml-terminator-wcomment
Add YAML separator validation and avoid silent ignoration
2021-07-09 06:01:06 -07:00
Abu Kashem
a570008cbd apf: fix virtual clock 2021-07-09 08:22:12 -04:00
Indeed
b14c10ae30 create LeaderMigrationConfiguration v1beta1 2021-07-08 21:20:19 -07:00
Indeed
40b2155ddb promote ControllerManagerLeaderMigration to beta. 2021-07-08 21:20:19 -07:00
Kebe
412962204f Fix the code is leaking the defaulting between unrelated pod instances 2021-07-09 09:57:05 +08:00
njuptlzf
2b88dc381e [PodSecurity] Add test coverage for pod-template-containing objects 2021-07-09 09:13:38 +08:00
Francesco Romani
6dccad45b4 smtalign: add auto generated code
Files generate after running `make generated_files`.

Co-authored-by: Swati Sehgal <swsehgal@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-07-08 23:14:59 +02:00
Swati Sehgal
cc76a756e4 smtalign: add cpu-manager-policy-options flag in Kubelet
In this patch we enhance the kubelet configuration to support
cpuManagerPolicyOptions.

In order to introduce SMT-awareness in CPU Manager, we introduce a
new flag in Kubelet to allow the user to specify an additional flag
called `cpumanager-policy-options` to allow the user to modify the
behaviour of static policy to strictly guarantee allocation of whole
core.

Co-authored-by: Francesco Romani <fromani@redhat.com>
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2021-07-08 23:14:59 +02:00
Kubernetes Prow Robot
97d6e4a66a Merge pull request #103574 from liggitt/restore-long-printing
Restore ability to print long strings
2021-07-08 14:02:18 -07:00
Kubernetes Prow Robot
72283f1bf6 Merge pull request #103558 from liggitt/podsecurity-check-cleanup
PodSecurity message/check/fixture cleanups
2021-07-08 14:02:10 -07:00
Kubernetes Prow Robot
103212febc Merge pull request #103470 from nilo19/bug/cherry-pick-679
fix: return empty VMAS name if using standalone VM
2021-07-08 14:02:01 -07:00
Kubernetes Prow Robot
694d6cd2b9 Merge pull request #103216 from dashpole/etcd_client_tracing
Add distributed tracing to the etcd client
2021-07-08 14:01:52 -07:00
Kubernetes Prow Robot
a9d7526864 Merge pull request #102970 from tkestack/feature-memory-qos
Feature: Support memory qos with cgroups v2
2021-07-08 14:01:36 -07:00
Kubernetes Prow Robot
fc4e7c17f4 Merge pull request #102928 from dprotaso/dynamic-client-backwards-compatible
Simplify construction of the fake dynamic client
2021-07-08 14:01:28 -07:00
Kubernetes Prow Robot
60e4be3151 Merge pull request #102049 from navist2020/kubectl/notUseParam
Kubectl:remove Factory that not used
2021-07-08 14:01:07 -07:00
David Eads
649b87aaf8 prevent mutation of deletion options during delete collection 2021-07-08 15:36:10 -04:00
Ryan Phillips
d95b14e1ab Revert "apiserver: add callback to get notified of object count" 2021-07-08 13:56:39 -05:00
Kubernetes Prow Robot
b765496650 Merge pull request #98817 from alculquicondor/job-completion-api
Add Job.status.uncountedTerminatedPods for Job tracking
2021-07-08 10:44:54 -07:00
Sergey Kanzhelev
7da1a0b230 update the help text of KubeletConfig following the DynamicKubletConfig feature deprecation 2021-07-08 16:38:11 +00:00
nobuhikosawai
41c5bca349 kubectl: update set command description to include cronjob resource (#102503)
* kubectl: update set command description to include cronjob resource

* kubectl: update set command description to include statefulset resource

* kubectl: update set env description to remove job from resources that can update container env

* kubectl set tests: add cronjob resource and remove job resource

* go fmt
2021-07-08 08:50:54 -07:00
Aldo Culquicondor
bb56a0bd04 Add Job.status.uncountedPodUIDs
For tracking Job Pods that have finished but are not yet counted as failed or succeeded

And feature gate JobTrackingWithFinalizers

Change-Id: I3e080f3ec090922640384b692e88eaf9a544d3b5
2021-07-08 15:31:59 +00:00
dprotaso
418fa71b6b Simplify use of the fake dynamic client
With the introduction of GVK to the fake dynamic client it made using
the fake much more cumbersome.

Specifically:
- requires manual registration of list types
- mismatch between scheme types and passed in fixtures would result in errors

The PR changes the constructor method NewSimpleDynamicClient to do the following:
- rewire the schemes to unstructured types
- typed fixtures are converted to unstructured types
- automatically register fixture gvks with the scheme

This should make the dynamic client 'flexible' with it's inputs like it was
before
2021-07-08 10:50:14 -04:00
Kubernetes Prow Robot
2cd5c54f39 Merge pull request #103565 from zhan849/harry/clean-scope-fix
fix CleanScope so we can resolve correct verb for apiserver_request_terminations_total
2021-07-08 05:59:17 -07:00
Kubernetes Prow Robot
a2b1f00a8b Merge pull request #103522 from atiratree/fix-translations-location
fix translations location in update-translations.sh
2021-07-08 05:58:53 -07:00
Kubernetes Prow Robot
388c2d901d Merge pull request #103560 from sejr/podsecurity-validate-configuration
[PodSecurity] Add ValidatePodSecurityConfiguration
2021-07-08 03:05:13 -07:00
Kubernetes Prow Robot
33431f542b Merge pull request #103534 from wojtek-t/pf_queue_picker_refinements
Refinements to pick queue logic in P&F
2021-07-08 03:04:53 -07:00
Jordan Liggitt
7f9d2eda82 limit warnings to requests that would otherwise succeed, reformat warning message 2021-07-08 02:19:30 -04:00