Ted Yu
8efa1c2a8f
Correct func name WithBuildMetadata
2019-08-26 21:10:56 -07:00
fabriziopandini
885f81dc51
fix upgrade checks
2019-08-23 15:12:29 +02:00
Kubernetes Prow Robot
d54c5163e0
Merge pull request #81458 from fabriziopandini/kubeadm-kustomize-ux
...
kubeadm: kustomize-ux
2019-08-22 05:46:32 -07:00
Kubernetes Prow Robot
e1c2c677f1
Merge pull request #78033 from rajansandeep/corednsmigration
...
Add the ability to migrate CoreDNS configmap in kubeadm
2019-08-20 20:39:16 -07:00
Sandeep Rajan
6bb9eeeb1c
move the corefile backup into a single configmap with a corefile-backup data key
2019-08-20 13:20:18 -04:00
Ted Yu
4f9d20e0f9
Remove boolean waitForComponentRestart which is always true in upgradeComponent
2019-08-17 18:50:55 -07:00
Sandeep Rajan
6821d21260
add the ability to migrate coredns configmap
2019-08-15 10:09:32 -04:00
fabriziopandini
a92e7975d2
kubeadm-kustomize-ux
2019-08-15 09:14:31 +02:00
fabriziopandini
5eca049557
placeholders for follow-up PR on kustomize UX
2019-08-12 14:17:19 +02:00
alan
cd2ecefb80
kubeadm: fix name of CA spell error
2019-08-06 12:01:28 +08:00
Kubernetes Prow Robot
f5c9d38a3f
Merge pull request #80833 from neolit123/1.16-update-version
...
kubeadm: update the version constants for 1.16
2019-08-01 11:52:44 -07:00
Lubomir I. Ivanov
e379164bc7
kubeadm: apply a number of _test fixes
...
- common_test.go: use constants.CurrentKubernetesVersion
- diff_test.go: write temporary files instead of using testdata.
this allows us to not have to bump kubernetesVersions in the
testdata files (now removed)
- policy_test.go: apply fixes to tests that were previously passing,
but a bump in constants.go breaks them. these tests now work
for any version.
2019-08-01 05:57:24 +03:00
Xianglin Gao
1b6ec47a04
do not return error, when the ds is not found
...
Signed-off-by: Xianglin Gao <xianglin.gxl@alibaba-inc.com >
2019-08-01 09:12:14 +08:00
David Xia
fabfd950b1
cleanup: fix some log and error capitalizations
...
Part of https://github.com/kubernetes/kubernetes/issues/15863
2019-07-20 18:26:16 -04:00
SataQiu
298909e20e
kubeadm: use local copy of kubectl's version package
2019-07-16 09:51:10 +08:00
Yassine TIJANI
309ea4e802
consolidate coreDNS version to ease dependency bump
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com >
2019-07-03 16:02:13 +02:00
Lubomir I. Ivanov
668d69799a
kubeadm: prevent PSP blocking of upgrade image prepull
...
If the cluster has a PSP that blocks Pods from running as root
the DS that handles upgrade prepull will fail to create its Pods.
Workaround that by adding a PodSecurityContext with RunAsUser=999.
2019-07-01 16:15:54 +03:00
SataQiu
10ddd7caf0
kubeadm: cleanup deps on pkg/version
2019-06-18 11:01:30 +08:00
Lubomir I. Ivanov
a49bc480b9
kubeadm: revert CoreDNS to 1.3.1
2019-05-30 23:31:54 +03:00
fabriziopandini
c2faa3bfd1
kubeadm upgrade node
2019-05-29 22:06:42 +02:00
Kubernetes Prow Robot
81a61ae0e3
Merge pull request #77863 from fabriziopandini/certs-expiration
...
Kubeadm: Add check certificate expiration command
2019-05-19 12:47:10 -07:00
fabriziopandini
919826531c
certs-expiration
2019-05-18 16:28:33 +02:00
Sandeep Rajan
0b28419412
bump coredns version to 1.5.0 and update manifest
2019-05-17 10:03:02 -04:00
fabriziopandini
1c897874bf
autogenerated
2019-05-15 10:26:00 +02:00
fabriziopandini
6db533dd5b
refactor certs renewal
2019-05-15 10:25:50 +02:00
SataQiu
d46bd0dc7a
make KubernetesDir a true constant
2019-05-09 17:16:59 +08:00
Daniel (Shijun) Qian
5268f69405
fix duplicated imports of k8s code ( #77484 )
...
* fix duplicated imports of api/core/v1
* fix duplicated imports of client-go/kubernetes
* fix duplicated imports of rest code
* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Kubernetes Prow Robot
f9c9ecdbb6
Merge pull request #77180 from fabriziopandini/renew-embedded-certs
...
kubeadm: renew certificates embedded in kubeconfig files
2019-05-06 15:30:06 -07:00
fabriziopandini
3076644f0b
autogenerated
2019-05-06 16:48:35 +02:00
fabriziopandini
cf7f8acae2
renew-embedded-certs
2019-05-06 16:48:24 +02:00
Àbéjídé Àyodélé
a2b0cb62a1
Clean up kubeadm.
...
These are based on recommendation from
[staticcheck](http://staticcheck.io/ ).
- Remove unused struct fields
- Remove unused function
- Remove unused variables
- Remove unused constants.
- Miscellaneous cleanups
2019-05-01 22:16:06 +00:00
fabriziopandini
137137cbaa
fix-upgrade-certs-renew
2019-04-27 09:58:17 +02:00
Rostislav M. Georgiev
9e1ac76c1a
kubeadm: Introduce v1beta2 config
...
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com >
2019-04-25 17:10:04 +03:00
Kubernetes Prow Robot
cee320a809
Merge pull request #76534 from ping035627/k8s-190413
...
Expect directory permissions to be 0700
2019-04-18 06:22:09 -07:00
PingWang
e3dcd3c0a9
Expect directory permissions to be 0700 or less
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
update the permissions to 0660
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
revert to 0750
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
update 0750 to 0700
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
2019-04-18 17:31:31 +08:00
Kubernetes Prow Robot
a73730147c
Merge pull request #76564 from tedyu/adm-clean-all
...
Cleanup as many dirs as possible in CleanupDirs
2019-04-15 08:14:05 -07:00
Ted Yu
185f02dd1a
Cleanup as many dirs as possible in CleanupDirs
...
Signed-off-by: Ted Yu <yute@vmware.com >
2019-04-15 06:10:33 -07:00
Kubernetes Prow Robot
c09cfb7178
Merge pull request #76566 from tedyu/adm-rollback-err
...
Return aggregate error from rollbackOldManifests
2019-04-15 03:54:23 -07:00
Kubernetes Prow Robot
18533fe84f
Merge pull request #76545 from xichengliudui/update-DNSType-comments
...
Update DNSType comments on compute.go
2019-04-15 00:20:01 -07:00
Ted Yu
3e0423926a
Return aggregate error from rollbackOldManifests
2019-04-14 10:06:07 -07:00
SataQiu
8b7b2349c7
capitalize the first letter of the prompt for consistency
2019-04-14 19:10:51 +08:00
aaa
85901dd0e0
Update DNSType comments on compute.go
...
update pull request
update pull request
update pull request
update pull request
2019-04-10 11:43:18 -04:00
aaa
980de9d38b
Use fmt.printf() to end with a newline
...
update pull request
2019-04-10 03:27:25 -04:00
SataQiu
4a200a2222
replace repeated values with a constant
2019-04-04 12:42:26 +08:00
Kubernetes Prow Robot
531dbd409f
Merge pull request #75445 from shinytang6/enhance/fmt
...
Replace all time.Now().Sub with time.Since
2019-03-26 13:55:17 -07:00
shinytang6
5c9f4d9dc6
replace time.Now().Sub with time.Since
2019-03-21 18:02:55 +08:00
Amarnath
be8d1c24f1
kubeadm: refactored directory fetch code
2019-03-13 18:28:53 +05:30
Yago Nobre
59d2f13850
Bump minimum kubeadm supported version to v1.12
2019-03-05 23:45:17 -03:00
ducnv
e11916da8e
kubeadm cleanup: master -> control-plane (cont.4)
2019-02-25 08:29:19 +07:00
Kubernetes Prow Robot
9e53b85d28
Merge pull request #74112 from pytimer/kubeadm-reset
...
kubeadm: Remove etcd members from the etcd cluster when reset the nodes
2019-02-22 00:19:40 -08:00