Commit Graph

103253 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
81e41b7fc4
Merge pull request #104664 from aojea/apiserver_endpoints_conformance
fix e2e test apiserver endpoint and endpointslices
2021-09-02 18:43:49 -07:00
Kubernetes Prow Robot
4fccfb1cd7
Merge pull request #104608 from saschagrunert/typecheck-parallel
Reduce the number of parallel typechecks to `2`
2021-09-02 15:05:47 -07:00
Kubernetes Prow Robot
495cf6898f
Merge pull request #104708 from mysunshine92/scheduler-log
Scheduler version should be printed out by default(--v=0)
2021-09-02 13:53:47 -07:00
Kubernetes Prow Robot
295a8c1371
Merge pull request #104467 from khenidak/fix-104329
fix 104329: check for headless before trying to release the ClusterIPs
2021-09-02 10:55:39 -07:00
Kubernetes Prow Robot
0b4a793da2
Merge pull request #103941 from saschagrunert/seccomp-profile-root
Remove deprecated `--seccomp-profile-root`/`seccompProfileRoot` config
2021-09-02 08:52:57 -07:00
Kubernetes Prow Robot
033456a2b2
Merge pull request #104621 from jaehnri/docs/KUBECTL-1100
Fix typo in kubectl describe pods example
2021-09-02 07:43:09 -07:00
Kubernetes Prow Robot
8d707e5aae
Merge pull request #104570 from RyanAoh/cronjob_dev
integration test for cronjob with controllerv2
2021-09-02 07:42:57 -07:00
wangyamei
50865679b9 Scheduler version should be printed out by default 2021-09-02 21:46:41 +08:00
Kubernetes Prow Robot
2a88664ecc
Merge pull request #104652 from MikeSpreitzer/add-resourcde-config
Introduce storagebackend.ConfigForResource
2021-09-02 04:00:10 -07:00
Kubernetes Prow Robot
b0836a65f2
Merge pull request #104314 from sjenning/pick-238
legacy-cloud-providers: aws: Add support for consuming web identity credentials
2021-09-01 23:48:09 -07:00
Kubernetes Prow Robot
a91cc9f040
Merge pull request #104715 from enj/enj/i/psa_before_psp
admission: run PodSecurity before PodSecurityPolicy
2021-09-01 16:56:08 -07:00
Mike Spreitzer
85bcd243aa Introduce storagebackend.ConfigForResource
This is a Config specialized for a GroupResource.
It will support generating new resource-specific metrics.
2021-09-01 16:54:26 -04:00
Kubernetes Prow Robot
67fa7b2782
Merge pull request #104703 from chendave/logs
Fix the key missing issue for structured log
2021-09-01 11:29:41 -07:00
Monis Khan
b5ef684d90
admission: run PodSecurity before PodSecurityPolicy
This change fixes the order in which the PodSecurity and
PodSecurityPolicy admission plugins are run.  The old code intended
for PSA to run before PSP, but attempted to enforce that via
registration order (which is irrelevant).  Now PSA is correctly
executed before PSP to allow for audit and warning modes to be
exercised even in the presence of a deny PSP policy.

Signed-off-by: Monis Khan <mok@vmware.com>
2021-09-01 11:39:58 -04:00
Kubernetes Prow Robot
7a0638da76
Merge pull request #104573 from sxllwx/refine/clear-comments-for-metaclient
Explain the reason why metaclient special processing metav1.DeleteOptions encoding
2021-08-31 21:56:58 -07:00
Dave Chen
62b0579a40 Fix the key missing issue for structured log
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-09-01 10:43:10 +08:00
Kubernetes Prow Robot
9b0f560a19
Merge pull request #104391 from chendave/metric_new
Add the metric data for different extension points
2021-08-31 19:34:59 -07:00
Kubernetes Prow Robot
eae38bbe9e
Merge pull request #104668 from zc2638/fix/taint-toleration
modify non-uniform aliases
2021-08-31 13:16:32 -07:00
Kubernetes Prow Robot
2cf9cc636b
Merge pull request #104663 from alculquicondor/apps-reviewer
Add alculquicondor to sig-apps-reviewers
2021-08-31 13:16:21 -07:00
Kubernetes Prow Robot
d093ee7359
Merge pull request #104688 from tkashem/revert-startup-429
apiserver: Revert startup-send-retry-after-until-ready server option
2021-08-31 12:08:21 -07:00
Kubernetes Prow Robot
0f50c40cf7
Merge pull request #104677 from x13n/master
[e2e] Wait 15m after instead of before breaking nodes
2021-08-31 11:00:22 -07:00
Kubernetes Prow Robot
d1da6d47dd
Merge pull request #104676 from saschagrunert/profile-gatherer-options
Remove unused `--allow-gathering-profiles` e2e.test flag
2021-08-31 08:59:37 -07:00
Kubernetes Prow Robot
db4f2014c8
Merge pull request #104172 from atiratree/revert-jsonpath-fix
revert "fix wrong output when using jsonpath"
2021-08-31 07:41:37 -07:00
Abu Kashem
f9f0872590
Revert "Merge pull request #104281 from tkashem/not-ready-429"
This reverts commit fc5863b8b2, reversing
changes made to 027fe2554f.
2021-08-31 10:10:46 -04:00
Abu Kashem
8844d3092a
Revert "Merge pull request #104630 from tkashem/remove-option"
This reverts commit edb0a72cff, reversing
changes made to 80feff6f40.
2021-08-31 10:06:12 -04:00
Aohan Yang
4e190f36e3 integration test for cronjob with controllerv2 2021-08-31 21:15:10 +08:00
Kubernetes Prow Robot
9dba11d971
Merge pull request #104593 from nilo19/fix/tag-case
fix: ignore the case when updating tags
2021-08-31 04:59:37 -07:00
Daniel Kłobuszewski
9808dd9a03 Wait 15m after instead of before breaking nodes
15m is enough for Cluster Autoscaler to remove empty nodes, so we need
to break them sooner than that. Instead, wait 15m after breaking them to
ensure Cluster Autoscaler will consider them as unready instead of still
starting.
2021-08-31 11:37:25 +02:00
Sascha Grunert
484b027536
Remove unused --allow-gathering-profiles e2e.test flag
The profile gatherer has been removed in
https://github.com/kubernetes/kubernetes/pull/85304, so those options
are unused since then and can therefore be removed.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-08-31 11:33:33 +02:00
Antonio Ojea
2a5ad65a9a e2e test apiserver endpoint and endpointslices
The e2e test "should have Endpoints and EndpointSlices pointing to
the API Server Service" was veryfing the current endpoints
reconciler implementation on the apiservers, however, users may
disable the endpoint reconciler and create their own.

This e2e test is also a conformance test, so we should test the
behaviour and not the implementation details. The test verifies
that a kubernetes.default service exist, an endpoint and endpoint
slices object referencing that service exist and are equivalent.
2021-08-31 11:29:06 +02:00
Kubernetes Prow Robot
f610eee161
Merge pull request #104211 from MikeSpreitzer/stackmore
Increase debug logging in waitGroupCounter::Add
2021-08-31 01:45:37 -07:00
Sascha Grunert
46077e6be7
Remove deprecated --seccomp-profile-root/seccompProfileRoot configuration
The configuration is deprecated and targets removal for v1.23. Tests
cases have been changed as well.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-08-31 09:55:28 +02:00
Kubernetes Prow Robot
4615578137
Merge pull request #104633 from martinkennelly/update_sitp_feature_state
Update ServiceInternalTrafficPolicy feature state
2021-08-31 00:09:36 -07:00
scott
8976f6f6d9 explain the reason why metaclient special processing metav1.DeleteOptions encoding
metaclient explicitly specifies the Content-Type when executing Delete and DeleteCollection, and add test for that
2021-08-31 10:55:53 +08:00
zc
b33897f36d modify non-uniform aliases 2021-08-31 09:07:51 +08:00
Kubernetes Prow Robot
bb9e89d430
Merge pull request #104601 from thockin/patchAllocatedValues_port_reuse
Fix a small regression in Service updates
2021-08-30 15:31:13 -07:00
Kubernetes Prow Robot
5aea99b0a2
Merge pull request #104634 from Jiawei0227/snapshotorder
storege e2etest: Delete restored PVC/Pod in snapshottable
2021-08-30 14:25:13 -07:00
Kubernetes Prow Robot
bbbeceb6aa
Merge pull request #104577 from smarterclayton/smaller_filter_master
kubelet: Admission must exclude completed pods and avoid races
2021-08-30 13:17:13 -07:00
Tim Hockin
73503a4936 Fix a small regression in Service updates
Prior to 1.22 a user could change NodePort values within a service
during an update, and the apiserver would allocate values for any that
were not specified.

Consider a YAML like:

```
apiVersion: v1
kind: Service
metadata:
  name: foo
spec:
  type: NodePort
  ports:
  - name: p
    port: 80
  - name: q
    port: 81
  selector:
    app: foo
```

When this is created, nodeport values will be allocated for each port.
Something like:

```
apiVersion: v1
kind: Service
metadata:
  name: foo
spec:
  clusterIP: 10.0.149.11
  type: NodePort
  ports:
  - name: p
    nodePort: 30872
    port: 80
    protocol: TCP
    targetPort: 9376
  - name: q
    nodePort: 31310
    port: 81
    protocol: TCP
    targetPort: 81
  selector:
    app: foo
```

If the user PUTs (kubectl replace) the original YAML, we would see that
`.nodePort = 0`, and allocate new ports.  This was ugly at best.

In 1.22 we fixed this to not allocate new values if we still had the old
values, but instead re-assign them.  Net new ports would still be seen
as `.nodePort = 0` and so new allocations would be made.

This broke a corner case as follows:

Prior to 1.22, the user could PUT this YAML:

```
apiVersion: v1
kind: Service
metadata:
  name: foo
spec:
  type: NodePort
  ports:
  - name: p
    nodePort: 31310 # note this is the `q` value
    port: 80
  - name: q
    # note this nodePort is not specified
    port: 81
  selector:
    app: foo
```

The `p` port would take the `q` port's value.  The `q` port would be
seen as `.nodePort = 0` and a new value allocated.  In 1.22 this results
in an error (duplicate value in `p` and `q`).

This is VERY minor but it is an API regression, which we try to avoid,
and the fix is not too horrible.

This commit adds more robust testing of this logic.
2021-08-30 12:42:17 -07:00
Kubernetes Prow Robot
ff617edd32
Merge pull request #104455 from claudiubelu/test-images/windows-server-2022-part-2
test images: Adds Windows Server 2022 to the BASEIMAGEs (part 2)
2021-08-30 12:07:13 -07:00
Kubernetes Prow Robot
d5cf549376
Merge pull request #104160 from pacoxu/AllowLongNodeID-true
set AllowLongNodeID to true by default since 1.23
2021-08-30 08:17:05 -07:00
Aldo Culquicondor
0801ada81f Add alculquicondor to sig-apps-reviewers 2021-08-30 11:08:03 -04:00
Kubernetes Prow Robot
7282c2002e
Merge pull request #99273 from yangjunmyfm192085/run-test20
Structured Logging migration:modify Scheduler part logs.
2021-08-30 05:56:54 -07:00
JunYang
93047824f7 Structured Logging migration:modify Scheduler part logs.
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-08-29 20:17:08 +08:00
Kubernetes Prow Robot
edb0a72cff
Merge pull request #104630 from tkashem/remove-option
apiserver: remove server option startup-send-retry-after-until-ready
2021-08-28 05:32:52 -07:00
Kubernetes Prow Robot
80feff6f40
Merge pull request #104408 from martinkennelly/fix_fqdn_hostname_mismatch
Fix comparison between FQDN and hostname
2021-08-27 19:58:52 -07:00
Kubernetes Prow Robot
909c3db3ab
Merge pull request #104559 from Huang-Wei/cleanup-json-tag
sched: remove unneeded json tags in unversioned API objs
2021-08-27 18:38:52 -07:00
Kubernetes Prow Robot
cd63952f13
Merge pull request #95885 from jiahuif/refactor/controller-manager
refactor: controller manager: InitFunc and base controller interface.
2021-08-27 15:40:52 -07:00
Jiawei Wang
273ac5a594 storege e2etest: Delete restored PVC/Pod in snapshottable 2021-08-27 13:53:25 -07:00
Abu Kashem
7adc79a4ea
apiserver: remove server option startup-send-retry-after-until-ready 2021-08-27 13:01:56 -04:00