Kubernetes Prow Robot
9eb53ec78a
Merge pull request #120602 from SataQiu/fix-kubeadm-20230912
...
kubeadm: fix flaky test TestManifestFilesAreEqual
2023-09-12 10:02:12 -07:00
SataQiu
15ce5dd990
kubeadm: fix flaky-test TestManifestFilesAreEqual
2023-09-12 23:44:44 +08:00
gccio
4f20a72ea0
variable name should not conflit with import package, replace the variable name
2023-09-12 23:23:43 +08:00
Kubernetes Prow Robot
24bc34b1bf
Merge pull request #120516 from togettoyou/cleanup-client-go
...
cleanup: Replace the deprecated NewMemCacheClient with memory.NewMemCacheClient
2023-09-12 07:48:24 -07:00
Kubernetes Prow Robot
e2b03d41c5
Merge pull request #120561 from chendave/dependency
...
kubeadm: remove reference of k8s.io/kubernetes/pkg/apis/core/v1
2023-09-12 03:44:12 -07:00
Lubomir I. Ivanov
3d91ffc6f9
/cmd/kubeadm,/test/e2e*: update OWNERS for fabriziopandini & RA489
...
- move fabriziopandini to emeritus_approvers for /test/e2e*
and /cmd/kubeadm. fabriziopandini remains in /OWNERS_ALIASES
under sig-cluster-lifecycle-leads.
- remove RA489 as reviewer for /test/e2e* and /cmd/kubeadm
2023-09-12 12:35:40 +03:00
SataQiu
4e0c8a9752
kubeadm: remove reference of k8s.io/kubernetes/pkg/apis/core/v1
...
Co-authored-by: Dave Chen <dave.chen@arm.com >
2023-09-12 17:09:19 +08:00
Kubernetes Prow Robot
35199e42a4
Merge pull request #120549 from pacoxu/kubeadm-etcd-manifests
...
kubeadm: fix diff order and add tests for new default value manifest
2023-09-12 00:44:13 -07:00
Paco Xu
4d105eb1ce
add TestUnmarshalJson for UniversalUnmarshal
2023-09-12 14:41:07 +08:00
Kubernetes Prow Robot
51a8ee26f2
Merge pull request #120567 from skitt/drop-deprecated-pointer-kubeadm
...
kubeadm: drop deprecated pointer package
2023-09-11 20:18:10 -07:00
Kubernetes Prow Robot
74f6c263d8
Merge pull request #118544 from sohankunkerkar/remove-sandbox-image-ref
...
pkg/kubelet: allow sandbox image pinning from CRI
2023-09-11 11:52:12 -07:00
Lars Ekman
0df4a69f5c
Kube-proxy: Get nodeIPs for both families with dual-stack ( #119525 )
...
* Kube-proxy: handle dual-stack in detectNodeIPs()
* Updates
2023-09-11 09:30:23 -07:00
Han Kang
e6435e98ed
promote component SLIs to GA; remove feature gates for component slis
2023-09-11 09:15:32 -07:00
Stephen Kitt
e2c1c0d34a
kubeadm: drop deprecated pointer package
...
This replaces deprecated k8s.io/utils/pointer functions with their ptr
equivalent.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2023-09-11 16:41:12 +02:00
Stephen Kitt
357d7804b8
kube-proxy: drop deprecated pointer package
...
This replaces deprecated k8s.io/utils/pointer functions with their ptr
equivalent.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2023-09-11 16:38:37 +02:00
Paco Xu
678b958567
use universal decoder and add a check on default dns Policy of static pod for test
2023-09-11 22:31:35 +08:00
Qiutong Song
d3eb082568
Create a node startup latency tracker
...
Signed-off-by: Qiutong Song <songqt01@gmail.com >
2023-09-11 05:54:25 +00:00
Paco Xu
2d86c333f5
add test case for generating etcd manifests
2023-09-11 10:35:50 +08:00
Paco Xu
912041ce41
kubeadm: fix diff order and add test for new default value manifest
2023-09-11 10:35:50 +08:00
SaumyaBhushan
df5c1bb1ea
added documentation about the format of certificateKey
...
Signed-off-by: SaumyaBhushan <saumya.bhushan666@gmail.com >
2023-09-10 19:50:42 +05:30
Kubernetes Prow Robot
fd8f2c7fc6
Merge pull request #120541 from pacoxu/kubeadm-fix-hash
...
kubeadm: add log for static pod manifest diff
2023-09-09 06:08:08 -07:00
Paco Xu
b443a841e3
kubeadm: add log for static pod manifest diff
2023-09-09 20:00:31 +08:00
Kubernetes Prow Robot
4c0d37e767
Merge pull request #120521 from SataQiu/clean-kubeadm-20230908
...
kubeadm: remove 'system:masters' organization from apiserver-etcd-client certificate
2023-09-08 05:26:25 -07:00
Kubernetes Prow Robot
4c43a25e6a
Merge pull request #119274 from tukwila/test_addons
...
kubeadm: add tests in ./cmd/phases/init/addons_test.go
2023-09-08 05:26:13 -07:00
guangli.bao
9feaefb5cb
Increase ut for kubeadm phases init addon
...
rename field casename to name
do go lint check
Update addons_test.go to remove whitespace
Signed-off-by: guangli.bao <guangli.bao@daocloud.io >
2023-09-08 15:35:17 +08:00
SataQiu
3e2bad02dc
kubeadm: remove 'system:masters' organization from apiserver-etcd-client certificate
2023-09-08 15:01:00 +08:00
Junhao Zou
43c05e98ca
cleanup: Replace the deprecated NewMemCacheClient with memory.NewMemCacheClient
2023-09-08 11:57:46 +08:00
fengxsong
a69f56e137
fix: check if initsystem service exists
...
when detecting whether a service exists, if it does not, the output result will be like "Unit noneexists.service could not be found." on ubuntu:20.04
2023-09-08 11:15:07 +08:00
Jordan Liggitt
9f76d8d45a
Track vendor status of unwanted deps
2023-09-06 21:48:30 -04:00
Kubernetes Prow Robot
9f3cfbbcdb
Merge pull request #120448 from aroradaman/revert-103174-rancher-33360
...
Revert "Do not attempt to overwrite higher system (sysctl) values"
2023-09-06 12:35:16 -07:00
Kubernetes Prow Robot
f68c66f96d
Merge pull request #119142 from aramase/aramase/f/kep_3331_add_feature_flag
...
[StructuredAuthenticationConfig] Add feature flag and wire up `--authentication-config` flag
2023-09-05 13:08:51 -07:00
Daman Arora
b97cb6dd00
Revert "Do not attempt to overwrite higher system (sysctl) values"
2023-09-06 00:42:48 +05:30
Lubomir I. Ivanov
7c75b018d5
cmd/kube-apiserver: add .import-restrictions
...
Allow only /pkg, /plugin, /third_party, /cmd/kube-apiserver, /test/utils.
This disallows imports of other cmd packages like cmd/kubeadm.
2023-09-05 16:03:28 +03:00
Lubomir I. Ivanov
6ec8dbe5b5
cmd/kube-apiserver: avoid importing the kubeadm pkiutils package
...
The package "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil"
is used for a couple of function calls:
- pkiutil.NewCertAndKey() to generate a cert/key pair
- pkiutil.WriteCertAndKey() to write the pair to disk
Unroll and simplify the functions to obtain the same functionality
while removing the cmd/kubeadm dependency.
2023-09-05 14:14:47 +03:00
Kubernetes Prow Robot
cd04f47e8b
Merge pull request #120381 from my-git9/dnsut1
...
kubeadm: increase ut coverage for addons/dns/dns.go
2023-09-03 20:21:47 -07:00
Kubernetes Prow Robot
03762cbcb5
Merge pull request #120316 from dims/move-to-new-repo-for-reference
...
New repo who dis? distribution/reference
2023-09-02 21:05:11 -07:00
xin.li
6f55437472
kubeadm: increase ut coverage for addons/dns/dns.go
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-09-03 11:07:59 +08:00
Davanum Srinivas
ceaed508ce
Validate the cloud-provider passed in and the corresponding feature flags
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-09-02 13:08:04 -04:00
Kubernetes Prow Robot
83f2d89dc9
Merge pull request #120313 from dairlair/patch-1
...
Refactor checkErr func
2023-08-31 22:02:42 -07:00
Davanum Srinivas
889c8e919b
New repo who dis? distribution/reference
...
github.com/docker/distribution/reference has a new home github.com/distribution/reference
and a new tag v0.5.0. Let's switch to that.
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-08-31 21:53:40 -04:00
dairlair
3c5a58c5f8
Refactor checkErr func
...
I moved a simpler condition to the beginning of the function (when the error == nil). This has substantially streamlined the function for readability and comprehension of its logic flow.
2023-08-31 17:29:08 +03:00
Anish Ramasekar
9e1ff1e512
add loading config and wire feature flag
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2023-08-30 23:14:56 +00:00
Quan Tian
2b69daa960
Allow specifying ExternalTrafficPolicy for ClusterIP Services with ExternalIPs
...
When defining a ClusterIP Service, we can specify externalIP, and the
traffic policy of externalIP is subject to externalTrafficPolicy.
However, the policy can't be set when type is not NodePort or
LoadBalancer, and will default to Cluster when kube-proxy processes the
Service.
This commit updates the defaulting and validation of Service to allow
specifying ExternalTrafficPolicy for ClusterIP Services with
ExternalIPs.
Signed-off-by: Quan Tian <qtian@vmware.com >
2023-08-30 23:56:47 +08:00
Kubernetes Prow Robot
3cf3702d1e
Merge pull request #119346 from chendave/clean_testcases
...
kubeadm: Remove the usage to print the default component configs for `reset` and `join`
2023-08-30 04:38:48 -07:00
Dave Chen
879dad9c2f
kubeadm: Remove the usage to print the default component configs for reset
and join
...
component configs is only needed for `kubeadm init`, the `join` and `reset` doesn't
need to provid the config with component configs.
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-08-30 15:38:21 +08:00
Sohan Kunkerkar
d5690f12b6
pkg/kubelet: allow sandbox image pinning from CRI
...
As part of this change, the code responsible for managing the sandbox
image within the kubelet has been removed. Previously, the kubelet used
to prevent sandbox image from the garbage collection process. However,
with this update, the responsibility of managing the sandbox containers
has been shifted to the CRI implementation itself. By allowing sandbox
image pinning from CRI, we improve efficiency and simplify the kubelet's
interaction with the container runtime. As a result, the kubelet can now
rely on the container runtime's built-in mechanisms for sandbox container
lifecycle management.
Signed-off-by: Sohan Kunkerkar <sohank2602@gmail.com >
2023-08-29 15:34:51 -04:00
Kubernetes Prow Robot
973ea2d376
Merge pull request #120228 from pacoxu/kubeadm-learner-etcd-beta
...
kubeadm: promote EtcdLearnerMode to beta
2023-08-29 06:29:21 -07:00
Kubernetes Prow Robot
34b85c593d
Merge pull request #120198 from pacoxu/kubeadm-swap
...
kubeadm: update swap warning for v1.28 change
2023-08-29 04:53:32 -07:00
Paco Xu
618e40c61b
kubeadm: promote EtcdLearnerMode to beta
2023-08-29 16:11:05 +08:00
Kubernetes Prow Robot
c7a04e10a6
Merge pull request #120153 from SataQiu/clean-scheduler-20230824
...
using wait.PollUntilContextTimeout instead of deprecated wait.Poll/PollWithContext/PollImmediate/PollImmediateWithContext methods for scheduler
2023-08-28 02:11:42 -07:00