SataQiu
17f3cd48a5
add '--logging-format' flag to kube-controller-manager
...
Signed-off-by: SataQiu <1527062125@qq.com >
2020-05-28 16:54:23 +08:00
tahsinrahman
201f869c66
Add --logging-format flag for kube-apiserver
2020-05-28 11:39:04 +08:00
Kubernetes Prow Robot
02637bb250
Merge pull request #91145 from tnqn/kubeadm-reset-error
...
kubeadm: skip removing last etcd member in reset phase
2020-05-27 15:04:01 -07:00
David Eads
e857adbdfd
remove-api
2020-05-27 16:58:05 -04:00
Kubernetes Prow Robot
d680e053f1
Merge pull request #91409 from johscheuer/update-api-server-flag-help
...
Update kube-apiserver flag comments
2020-05-27 13:11:52 -07:00
David Eads
ed4e6f1026
remove dynamic audit
2020-05-27 15:18:53 -04:00
Prasad Katti
c253ccca00
Add tests for ValidateEtcd
2020-05-27 10:40:13 -07:00
Amim Knabben
896cc4c0c4
Deprecating Kubelet mount related flags
2020-05-27 09:33:27 -04:00
Prasad Katti
a85fc1038c
Add tests for ValidateURLs (kubeadm validation)
2020-05-26 20:31:04 -07:00
Kubernetes Prow Robot
eff6105a33
Merge pull request #91397 from prasadkatti/add_cri_socket_path_tests
...
Add cri socket path tests
2020-05-26 19:13:09 -07:00
Kubernetes Prow Robot
03cd30b9d7
Merge pull request #90494 from knabben/kubelet-provider
...
Migrating Kubelet --enable-server and --provider-id flags to config
2020-05-26 19:12:42 -07:00
Kubernetes Prow Robot
dee4a7cd84
Merge pull request #91182 from knabben/kubelet-cfg-seccomp
...
Migrating Kubelet flag --seccomp-profile-root to configuration file
2020-05-26 13:37:33 -07:00
Amim Knabben
ee3c1aeac6
Copying --seccomp-profile-root to Kubelet config file
2020-05-26 10:19:41 -04:00
Prasad Katti
b5c08caa34
Add tests for ValidateSocketPath
2020-05-25 17:28:58 -07:00
Kubernetes Prow Robot
6d3edbcbed
Merge pull request #91411 from Hsiny/master
...
Fix 404 link in kube-scheduler command usage description
2020-05-25 14:59:11 -07:00
Rafal Wicha
852442c0ff
Promote kubescheduler.config.k8s.io to v1betav1
2020-05-25 22:25:57 +01:00
Rafal Wicha
85be9c1673
Move Scheduler plugin args validation to apis/config/validation
2020-05-25 16:27:21 +01:00
Hsiny
9c7be05b60
fix,404 link in kube-scheduler command usage description
2020-05-25 23:07:00 +08:00
Johannes M. Scheuermann
bd42094d90
Update kube-apiserver flag comments
2020-05-25 15:43:56 +02:00
Prasad Katti
a1ac30db40
Add a kubeadm ValidateNodeRegistrationOptions test
2020-05-24 14:18:41 -07:00
Rostislav M. Georgiev
def0db6a16
kubeadm: Remove unused constants
...
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com >
2020-05-22 17:10:27 +03:00
Amim Knabben
f6246aba6e
Moving Kubelet --node-status-max-images flag to configuration
2020-05-21 22:37:01 -04:00
Jiajie Yang
ebbd455b24
Restrict service account token metrics to kube-apiserver only.
2020-05-21 15:34:57 -07:00
SataQiu
e04a2b3b26
kubeadm: add startup probes for static Pods to protect slow starting containers
...
Signed-off-by: SataQiu <1527062125@qq.com >
2020-05-21 11:12:36 +08:00
Kubernetes Prow Robot
e41876666f
Merge pull request #91280 from prasadkatti/fix_markcontrolplane
...
Update kubeadm test TestMarkControlPlane
2020-05-20 19:41:50 -07:00
Kubernetes Prow Robot
12088aa76d
Merge pull request #90649 from cici37/leaderelectionconfig
...
Moving leaderelectionconfig to k8s.io/component-base
2020-05-20 19:40:47 -07:00
Prasad Katti
d7f769be3e
Update kubeadm test TestMarkControlPlane
...
- Use a dummy nodename instead of OS hostname
- Inline toString() function
- Use backticks to wrap expected patch
- Remove redundant test name from error logs
2020-05-20 12:43:18 -07:00
Quan Tian
9cc416e7df
kubeadm: do not remove the only remaining etcd member during reset
...
If this is the only remaining stacked etcd member in the cluster,
calling RemoveMember() is not needed.
2020-05-21 02:12:36 +08:00
Davanum Srinivas
0608e8be25
update bazel BUILD files
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:47 -04:00
Davanum Srinivas
5692926914
Move packages for slightly better UX for consumers
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:46 -04:00
Kubernetes Prow Robot
7ba332a839
Merge pull request #91258 from alculquicondor/double_spread_weight
...
Set weight of PodTopologySpread Score to 2
2020-05-19 23:40:42 -07:00
Kubernetes Prow Robot
bb4a21161f
Merge pull request #90892 from xphoniex/fix-kubeadm-getting-stuck-alpine
...
kubeadm: move the "kubelet-start" phase after "kubeconfig" for "init"
2020-05-19 16:32:19 -07:00
Aldo Culquicondor
9819b25a44
Set weight of PodTopologySpread Score to 2
...
Signed-off-by: Aldo Culquicondor <acondor@google.com >
2020-05-19 12:08:38 -04:00
Rostislav M. Georgiev
543f29be4e
kubeadm: Reduce kubelet.DownloadConfig usage
...
kubelet.DownloadConfig is an old utility function which takes a client set and
a kubelet version, uses them to fetch the kubelet component config from a
config map, and places it in a local file. This function is simple to use, but
it is dangerous and unnecessary. Practically, in all cases the kubelet
configuration is present locally and does not need to be fetched from a config
map on the cluster (it just needs to be stored in a file).
Furthermore, kubelet.DownloadConfig does not use the kubeadm component configs
module in any way. Hence, a kubelet configuration fetched using it may not be
patched, validated, or otherwise, processed in any way by kubeadm other than
piping it to a file.
This patch replaces all but a single kubelet.DownloadConfig invocation with
equivalents that get the local copy of the kubelet component config and just
store it in a file. The sole remaining invocation covers the
`kubeadm upgrade node --kubelet-version` case.
In addition to that, a possible panic is fixed in kubelet.DownloadConfig and
it now takes the kubelet version parameter as string.
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com >
2020-05-19 13:30:45 +03:00
Kubernetes Prow Robot
c8ecfc328d
Merge pull request #91158 from prasadkatti/master
...
[kubeadm] add tests for package `patchnode`
2020-05-18 13:33:58 -07:00
Kubernetes Prow Robot
7dafbe3ff3
Merge pull request #90391 from johscheuer/improve-error-message-svc-cidr
...
Improve the error message for the service cidr check
2020-05-18 11:05:37 -07:00
Prasad Katti
21a1d1d179
[kubeadm] add tests for patchnode
2020-05-18 10:06:06 -07:00
Paulo Gomes
550a67869a
Warn when insecure TLS ciphers are selected.
2020-05-18 13:16:32 +01:00
Kubernetes Prow Robot
ec23b612b8
Merge pull request #91176 from prasadkatti/add_tests_validation
...
Update kubeadm test TestValidateToken
2020-05-17 18:35:35 -07:00
Kubernetes Prow Robot
c6147e3231
Merge pull request #91170 from prasadkatti/fix_ident
...
Fix identation in kubeadm api docs
2020-05-17 16:09:36 -07:00
Prasad Katti
124386eaa0
Fix identation in kubeadm api docs
2020-05-17 14:05:34 -07:00
Prasad Katti
89fa53f064
Update kubeadm test TestValidateToken
...
- Remove some duplicate testcases
- Add token to error message
2020-05-16 23:46:18 -07:00
Kubernetes Prow Robot
5bace30840
Merge pull request #91148 from liggitt/kubelet-client-metric
...
Add kubelet_certificate_manager_client_ttl_seconds gauge
2020-05-16 19:00:24 -07:00
Kubernetes Prow Robot
b170451caa
Merge pull request #90183 from dims/update-kubernetes-to-klog-v2
...
Update kubernetes to klog v2
2020-05-16 18:59:51 -07:00
Amim Knabben
8459c9b6f4
Moving enable-server and provider-id
2020-05-16 21:34:13 -04:00
Kubernetes Prow Robot
694a9c242e
Merge pull request #90970 from johscheuer/add-readiness-to-controlplane
...
kubeadm: use two separate checks on /livez and /readyz for the kube-apiserver
2020-05-16 07:36:49 -07:00
Kubernetes Prow Robot
45bfd14ee3
Merge pull request #90174 from tnqn/certdir-default-value
...
Delete the wrong comment about CertDirectory of kubelet
2020-05-16 07:36:03 -07:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:27 -04:00
Jordan Liggitt
950ed38996
Mark experimental-cluster-signing-duration deprecated, add --cluster-signing-duration
2020-05-15 14:09:58 -04:00