Commit Graph

371 Commits

Author SHA1 Message Date
joyceliu 1a4f7d6122 fix: add gather_facts interface to connector
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-24 18:10:45 +08:00
joyceliu eab066ba10 feat: add check item for kk precheck command
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-20 19:14:45 +08:00
joyceliu 2674b92527 feat: add cert renew commmand.
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-17 15:40:39 +08:00
joyceliu fe588fad3a feat: add artifact command.
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-14 16:35:29 +08:00
joyceliu 7247c2733c feat: add init command.
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-11 16:28:41 +08:00
joyceliu 97f4fed170 feat: change some description in command line.
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-07 16:42:04 +08:00
joyceliu e6eca604f8 feat: add pretty log
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-07 16:00:34 +08:00
joyceliu 94253593c5 feat: add sonobuoy plugin.
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-06 16:37:58 +08:00
joyceliu c81bca36b3 feat: add cronJob for pipeline.
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-04 09:57:24 +08:00
joyceliu 2eed0820d7 fix: add operator
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-05-29 10:32:02 +08:00
joyceliu 34b4d1b8c9 fix: Modify comments
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-05-23 12:52:45 +08:00
joyceliu bdef602ddf feat: add create cluster command
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-05-21 19:21:48 +08:00
joyceliu 734709f15b fix: Optimize loop logic.
fix: watcher exclude unknown file.
fix: prepare variable before run task. parse tmpl syntax to actual value.
fix: add some info log.

Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-03-07 17:38:01 +08:00
joyceliu c70cd6576e feat: add artifact precheck
feat: add default hostname (localhost) to represent local mechine if inventory not set.

Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-02-07 19:05:46 +08:00
joyceliu e4db402e49 feat: add proxy client to transport resource to local.
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-02-06 16:08:43 +08:00
joyceliu 2a676185e2 feat: kubekey gitops
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-01-05 15:14:36 +08:00
joyceliu 2f4c2fa795 feat: init branch
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-01-04 14:38:24 +08:00
ks-ci-bot 8e48451634 Update containerd version to 1.7.8
Signed-off-by: pixiake <guofeng@yunify.com>
2023-11-14 10:04:39 +08:00
KubeSphere CI Bot b56826b4bd
Merge pull request #2038 from liuxu623/master
fix: backup script doesn't work when set etcd dataDir to another dir except '/var/lib/etcd'
2023-11-14 09:56:27 +08:00
KubeSphere CI Bot a9df358ade
Merge pull request #2041 from qyz87/qyz87-addnodes-kubevip
fix: redundant interface for kubevip when add k8s nodes
2023-11-14 09:54:27 +08:00
qyz87 5d72464132
Update tasks.go
get redundant interface for kubevip when add k8s nodes
2023-11-09 19:03:43 +08:00
qyz87 327ef32de8
Update docker.go
ensure docker credentials save to $HOME/.docker/config.json
2023-11-09 15:47:06 +08:00
liuxu ede57bf951 fix: backup script doesn't work when set etcd dataDir to another dir except '/var/lib/etcd' 2023-11-06 14:24:11 +08:00
samt42 668ae5f099 check file sha256sum by streaming to save memory usage. good for machine with limited memory size. 2023-11-03 12:38:52 +08:00
joyceliu 9f7abdb740 fix(release): add support v3.4.1 for kubesphere
Signed-off-by: joyceliu <joyceliu@yunify.com>
2023-10-30 18:35:20 +08:00
joyceliu a0f496e13f fix(release): add support v3.4.1 for kubesphere
Signed-off-by: joyceliu <joyceliu@yunify.com>
2023-10-30 16:11:52 +08:00
rick 5ec551a292 feat: move the preInstall step ahead in the add node pipeline 2023-10-19 15:27:08 +08:00
pixiake cbad8ddbf2 Support enable calico typha in configuration
Signed-off-by: pixiake <guofeng@yunify.com>
2023-09-25 14:00:13 +08:00
pixiake 5613458c97 Support v1beta3 of kubeadm config
Signed-off-by: pixiake <guofeng@yunify.com>
2023-09-25 07:57:51 +08:00
xiongww 12b45319ec del unconfig harbor http and https port ,use default port 2023-09-20 11:30:23 +08:00
xiongww b468febff7 support harbor docker-compose ha design and come true 2023-09-20 11:21:07 +08:00
rick 2e87c549d5 feat: add the wait option for the helm addon config 2023-09-18 13:56:20 +08:00
pixiake 4735862f7f update docker version to 24.0.6
Signed-off-by: pixiake <guofeng@yunify.com>
2023-09-13 10:54:35 +08:00
pixiake 74b6b72382 Fix hybridnet configuration bug
Signed-off-by: pixiake <guofeng@yunify.com>
2023-08-25 15:59:19 +08:00
KubeSphere CI Bot c7aec0faa2
Merge pull request #1962 from pixiake/master
Added new network plugin Hybridnet
2023-08-24 09:11:00 +08:00
pixiake 12a91284bb Added new network plugin Hybridnet
Signed-off-by: pixiake <guofeng@yunify.com>
2023-08-23 20:12:16 +08:00
KubeSphere CI Bot 4878e8d391
Merge pull request #1961 from pixiake/master
Update calico to v3.26.1
2023-08-23 11:01:00 +08:00
KubeSphere CI Bot 8b11847712
Merge pull request #1955 from BaiMeow/master
fix: slice overflow panic sometimes during node info parsing
2023-08-23 10:58:58 +08:00
pixiake 150836f228 Update calico to v3.26.1
Signed-off-by: pixiake <guofeng@yunify.com>
2023-08-23 10:33:57 +08:00
KubeSphere CI Bot 6db33bc06f
Merge pull request #1956 from pixiake/master
Supports custom configuration of cluster dns
2023-08-22 14:39:58 +08:00
KubeSphere CI Bot 40919ad223
Merge pull request #1959 from k8s-explore/master
cmd: fix a few function names on comments
2023-08-22 13:59:58 +08:00
KubeSphere CI Bot ebf8a23d6b
Merge pull request #1953 from yjqg6666/fix-bin-check-msg
update binary-check message
2023-08-22 13:52:57 +08:00
KubeSphere CI Bot 01e282152d
Merge pull request #1947 from wenwutang1/master
fix bug: when k8s version > v1.25.0 ,use flannel error
2023-08-22 13:49:58 +08:00
KubeSphere CI Bot 4fea211615
Merge pull request #1944 from qyz87/qyz87-sudoscp
fix: scp permission denied
2023-08-22 13:46:58 +08:00
pixiake 26f37bb432 Supports custom configuration of cluster dns
Signed-off-by: pixiake <guofeng@yunify.com>
2023-08-22 13:32:49 +08:00
cui fliter 86433fa2d8 cmd: fix a few function names on comments
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-08-22 10:49:30 +08:00
BaiMeow c3948bb2df fix: slice overflow panic sometimes during node info parsing 2023-08-16 22:44:23 +08:00
King Jin a39b8b31c2
update binary-check message 2023-08-15 16:42:33 +08:00
KubeSphere CI Bot 8cd89616e5
Merge pull request #1936 from wenwenxiong/master
calico use node ip for felix route rule source ip
2023-08-15 08:30:49 +08:00
tww 8521c145bb fix bug: when k8s version > v1.25.0 ,use flannel error 2023-08-07 17:25:38 +08:00
qyz87 b700a26dca
Update ssh.go
import
2023-08-03 16:16:51 +08:00
qyz87 d05a7e85b7
Update ssh.go
MkDirAll chmod
2023-08-03 16:15:20 +08:00
pixiake d8bd5fa70d fix: KubeSphere version check error
Signed-off-by: pixiake <guofeng@yunify.com>
2023-07-28 11:25:05 +08:00
xiongww d48e3fa71a calico use node ip for felix route rule source ip 2023-07-26 11:51:37 +08:00
pixiake 3e84255904 sync kubesphere v3.4.0 manifests
Signed-off-by: pixiake <guofeng@yunify.com>
2023-07-21 10:16:29 +08:00
pixiake 3db66ee8aa sync kubesphere v3.4.0 manifests
Signed-off-by: pixiake <guofeng@yunify.com>
2023-07-20 13:51:49 +08:00
KubeSphere CI Bot 76c531bb3b
Merge pull request #1920 from wenwenxiong/master
filter etcd node for k8s cluster delete node
2023-07-18 17:59:05 +08:00
KubeSphere CI Bot c879a27f44
Merge pull request #1901 from LinuxSuRen/feat/initial-module
feat: add an initial stage at the very start cluster creating phase
2023-07-18 17:57:05 +08:00
xiongww 3d0c1b62ca Merge branch 'master' of https://github.com/wenwenxiong/kubekey 2023-07-14 15:16:22 +08:00
xiongww 785a3200d7 filter etcd node for delete node, because not have to deal with etcd cluster del node so far 2023-07-14 15:15:40 +08:00
rick c098865f00 move the preInstall into the first stage 2023-07-14 15:10:32 +08:00
KubeSphere CI Bot dcfe49655f
Merge pull request #1878 from wenwenxiong/master
support kk add and delete node with master role
2023-07-14 13:59:00 +08:00
KubeSphere CI Bot 70c13a2fc6
Merge pull request #1916 from pixiake/master
update default etcd version to v3.5.6
2023-07-14 09:16:00 +08:00
pixiake bd9b7d5603 support to use external dns to resolve control-plane domain
Signed-off-by: pixiake <guofeng@yunify.com>
2023-07-13 17:51:02 +08:00
pixiake 186faf4011 update default etcd version to v3.5.6
Signed-off-by: pixiake <guofeng@yunify.com>
2023-07-13 14:02:29 +08:00
KubeSphere CI Bot bc409a8246
Merge pull request #1907 from wongearl/fix/imagefullname
fix: imagefullName support more than two slash-separated
2023-07-13 11:34:58 +08:00
KubeSphere CI Bot ed24dcf9b5
Merge pull request #1911 from wongearl/fix/ubuntu
fix: fix ubuntu version get
2023-07-13 11:30:59 +08:00
pixiake 4f18b046e7 add calicoctl to artifact
Signed-off-by: pixiake <guofeng@yunify.com>
(cherry picked from commit 4a4c85b36b39b0455288775e2ae9d84b4134a4f8)
Signed-off-by: pixiake <guofeng@yunify.com>
2023-07-13 10:47:35 +08:00
wongearl 2224639908 fix: fix ubuntu version get 2023-07-13 09:48:48 +08:00
wongearl a7925aee59 ix: imagefullName support more than two slash-separated 2023-07-12 11:09:02 +08:00
KubeSphere CI Bot ffaa19f430
Merge pull request #1906 from pixiake/master
Support custom CALICO_IPV4POOL_NAT_OUTGOING
2023-07-07 15:38:53 +08:00
pixiake 6105305d8a Support custom CALICO_IPV4POOL_NAT_OUTGOING
Signed-off-by: pixiake <guofeng@yunify.com>
2023-07-07 08:36:22 +08:00
sunlintong 6bcf235ddc fix(typo): containerd 2023-07-06 13:22:55 +08:00
rick 6c1581d355 feat: add an initial stage at the very start cluster creating phase 2023-07-05 10:21:25 +08:00
KubeSphere CI Bot d5d2b81d0b
Merge pull request #1896 from littleBlackHouse/default-ipp
fix: Modify the imagePullPolicy to make it more practical for offline…
2023-07-04 07:46:49 +08:00
joyceliu 9afe270086 fix: Modify the imagePullPolicy to make it more practical for offline scenarios. 2023-06-29 18:16:21 +08:00
joyceliu 3ba36db3b9 update version to v3.1.0-rc.0 2023-06-29 16:20:09 +08:00
KubeSphere CI Bot 4d32a970fd
Merge pull request #1892 from pixiake/master
feat: Support for enabling kube-apiserver auditing
2023-06-29 14:41:44 +08:00
pixiake 4488091476 feat: Support for enabling kube-apiserver auditing
Signed-off-by: pixiake <guofeng@yunify.com>
2023-06-29 14:09:58 +08:00
rick d95737717c chore: remove the duplicated switch statements 2023-06-25 15:47:24 +08:00
guoguangwu d57bff10cb fix: eliminate an extra loop
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-06-21 17:33:01 +08:00
guoguangwu 7cb742a6a7 chore: remove refs to deprecated io/ioutil
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-06-21 10:51:09 +08:00
KubeSphere CI Bot 7ecb34696e
Merge pull request #1881 from pixiake/master
Support for installing calicoctl
2023-06-21 09:24:35 +08:00
pixiake 4fe13751ef Support for installing calicoctl
Signed-off-by: pixiake <guofeng@yunify.com>
2023-06-20 17:27:46 +08:00
KubeSphere CI Bot 04af403683
Merge pull request #1877 from hellocn9/stopkubelet
stop kubelet service first when remove worker node.
2023-06-19 10:18:32 +08:00
xiongww e76ac729db support kk add and delete node with master role 2023-06-13 14:57:10 +08:00
hellocn9 abf5b0dc8f stop kubelet first when remove worker node. 2023-06-13 14:40:24 +08:00
hellocn9 0ce4c28a0f use os.ReadFile to replace ioutil.ReadFile 2023-06-13 12:03:14 +08:00
KubeSphere CI Bot 9ca380bd4c
Merge pull request #1863 from jojotong/fix_kubeadm_certSANs
fix(kubeadm): certSANs use quotes, avoid to be parsed as int
2023-06-05 14:04:13 +08:00
KubeSphere CI Bot 5515f967d9
Merge pull request #1862 from jojotong/image_pull_arch
perf(image): pull image specify arch
2023-06-05 14:03:14 +08:00
KubeSphere CI Bot 75ee0c83c9
Merge pull request #1861 from littleBlackHouse/net_param
fix: change default kernel paramter.
2023-06-05 13:59:13 +08:00
joyceliu 1dabba32b6 fix: init kernel parameter 2023-06-05 13:55:08 +08:00
joyceliu 8768b213d8 fix: init kernel parameter 2023-06-01 18:21:43 +08:00
sunlintong e54c70cc1c fix(kubeadm): certSANs use quotes, avoid to be parsed as int 2023-06-01 16:48:52 +08:00
sunlintong bcf5a6f813 perf(image): pull image specify arch 2023-06-01 16:39:15 +08:00
liujian a9832dc6c0 fix: change default kernel paramter.
Which causing abnormal health check of Pod: net.ipv4.tcp_tw_reuse
Which modified causing abnormal NAT: net.ipv4.tcp_tw_recycle
Which modified causing network connection failure: net.ipv4.conf.all.rp_filter, net.ipv4.conf.default.rp_filter.
2023-06-01 15:33:58 +08:00
KubeSphere CI Bot 5fb62a31dc
Merge pull request #1854 from yjqg6666/systemd_cgroup
[#1853] update the way to get containerd cgroup driver config
2023-05-31 17:46:08 +08:00
littleBlackHouse be8e2f3951
Update kubeadm_config.go
update the way to get containerd cgroup driver config
2023-05-30 17:57:53 +08:00
littleBlackHouse 64ceba3ae9
Update kubeadm_config.go
update the way to get containerd cgroup driver config
2023-05-30 17:56:19 +08:00
hellocn9 177c273cb2 add clean up the VXLAN interface when delete the cluster 2023-05-30 11:34:12 +08:00