Andrew Sy Kim
9fa641b9ad
test/integration/endpoints: check for pod existencen in TestEndpointWithTerminatingPod
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-12 14:22:34 -04:00
Kubernetes Prow Robot
e0a22acaa0
Merge pull request #103598 from tkashem/integration-test-timeout
...
integration test: provide a timeout for /health
2021-07-12 06:06:47 -07:00
Kubernetes Prow Robot
8ab66dcc4e
Merge pull request #103621 from andrewsykim/integration-test-terminating-endpoints-only
...
Ensure Endpoints does not include terminating endpoints going forward
2021-07-11 11:26:46 -07: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
Andrew Sy Kim
2878e472ad
test/integration/endpoints: improve docs for TestEndpointWithTerminatingPod
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-09 16:45:23 -04:00
Kubernetes Prow Robot
b55c980279
Merge pull request #102395 from odinuge/node_container_manager_test_skip_systemd
...
Skip node container manager test on systemd
2021-07-09 13:26:54 -07:00
Andrew Sy Kim
0aa1b3b0bf
test/integration/endpoints: add a test to ensure Endpoints does not include terminating pods
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-09 16:19:57 -04: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
2423813207
Merge pull request #103573 from chendave/fix_index
...
Fix index out of range if multiple default plugins are overridden
2021-07-09 08:43:23 -07:00
Kubernetes Prow Robot
a6c2cd7d18
Merge pull request #103291 from wzshiming/fix/nodeshutdown-restart
...
Fix Data Race in nodeshutdown restart
2021-07-09 08:43:14 -07:00
Kubernetes Prow Robot
5fd2437b59
Merge pull request #102202 from ricolin/add-buildx-instruction-in-doc
...
[docs] Add build instruction for buildx CLI plugin
2021-07-09 08:43:06 -07:00
Kubernetes Prow Robot
03fa68099e
Merge pull request #98238 from alculquicondor/job-completion
...
Track Job completion through Pod finalizers and status
2021-07-09 08:42:54 -07:00
Kubernetes Prow Robot
15ef9d42e3
Merge pull request #101866 from saschagrunert/ssh-hosts
...
e2e: test SSH port on NodeSSHHosts
2021-07-09 07:37:05 -07: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
Kubernetes Prow Robot
29652248eb
Merge pull request #103596 from andrewsykim/endpointslice-terminating
...
Promote EndpointSliceTerminatingCondition to Beta
2021-07-09 06:01:42 -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
8daced4d3f
Merge pull request #103508 from boenn/UseDiff
...
Use cmp.Diff() replace reflect and diagnosis
2021-07-09 06:01:13 -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
Kubernetes Prow Robot
82398d1c0a
Merge pull request #103427 from matthyx/99437
...
Fix test "Pods should run through the lifecycle of Pods and PodStatus"
2021-07-09 06:00:54 -07:00
Abu Kashem
581b088f76
integration test: provide a timeout for /health
2021-07-09 08:38:15 -04:00
Abu Kashem
a570008cbd
apf: fix virtual clock
2021-07-09 08:22:12 -04:00
Dave Chen
5918869ed6
Revert 103327: "kube-scheduler: ensure the default config output of --write-to-config is usable"
...
We don't need to maually disable all the default plugins anymore
Signed-off-by: Dave Chen dave.chen@arm.com
2021-07-09 19:56:53 +08:00
Dave Chen
1727cea64c
Fix index out of range if multiple default plugins are overridden
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-07-09 19:56:14 +08: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
Indeed
995278c9fb
add ControllerManagerLeaderMigration as beta
...
This feature was in staging/src/k8s.io/controller-manager/pkg/features/kube_features.go but missing here.
2021-07-08 21:20:13 -07:00
Kubernetes Prow Robot
617064d732
Merge pull request #101432 from swatisehgal/smtaware
...
node: cpumanager: add options to reject non SMT-aligned workload
2021-07-08 21:04:53 -07:00
njuptlzf
2b88dc381e
[PodSecurity] Add test coverage for pod-template-containing objects
2021-07-09 09:13:38 +08:00
Kubernetes Prow Robot
83baa708df
Merge pull request #103429 from saschagrunert/metrics-test-fix
...
Fix resource metrics e2e test
2021-07-08 17:58:53 -07:00
Kubernetes Prow Robot
dab6f6a43d
Merge pull request #102344 from smarterclayton/keep_pod_worker
...
Prevent Kubelet from incorrectly interpreting "not yet started" pods as "ready to terminate pods" by unifying responsibility for pod lifecycle into pod worker
2021-07-08 16:48:53 -07:00
Kubernetes Prow Robot
57716897eb
Merge pull request #103434 from perithompson/windows-etchostcreate-skip
...
Explicitly skip host file mounting for Windows when HostProcess pod
2021-07-08 15:36:53 -07:00
Andrew Sy Kim
fd0db61d6c
test/intergration/endpointslice: add tests for endpointslice terminating condition
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-08 17:59:11 -04:00
Andrew Sy Kim
826a5219da
promote EndpointSliceTerminatingCondition to Beta
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-08 17:34:10 -04:00
Francesco Romani
a2fb8b0039
smtalign: e2e: add tests
...
Add e2e tests to cover the basic flows for the `full-pcpus-only` option:
negative flow to ensure rejection with proper error message, and
positive flow to verify the actual cpu allocation.
Co-authored-by: Swati Sehgal <swsehgal@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-07-08 23:15:37 +02:00
Francesco Romani
23abdab2b7
smtalign: propagate policy options to policies
...
Consume in the static policy the cpu manager policy options from
the cpumanager instance.
Validate in the none policy if any option is given, and fail if so -
this is almost surely a configuration mistake.
Add new cpumanager.Options type to hold the options and translate from
user arguments to flags.
Co-authored-by: Swati Sehgal <swsehgal@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-07-08 23:15:37 +02:00
Francesco Romani
6dcec345df
smtalign: cm: factor out admission response
...
Introduce a new `admission` subpackage to factor out the responsability
to create `PodAdmitResult` objects. This enables resource manager
to report specific errors in Allocate() and to bubble up them
in the relevant fields of the `PodAdmitResult`.
To demonstrate the approach we refactor TopologyAffinityError as a
proper error.
Co-authored-by: Kevin Klues <kklues@nvidia.com>
Co-authored-by: Swati Sehgal <swsehgal@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-07-08 23:15:37 +02:00
Francesco Romani
c5cb263dcf
smtalign: propagate policy options to cpumanager
...
The CPUManagerPolicyOptions received from the kubelet config/command line args
is propogated to the Container Manager.
We defer the consumption of the options to a later patch(set).
Co-authored-by: Swati Sehgal <swsehgal@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-07-08 23:15:35 +02: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
4d78db54a5
Merge pull request #103580 from tkestack/fix-version-format
...
fix kubelet panic when DynamicKubeletConfig enabled
2021-07-08 14:02:24 -07:00