-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename clean.sh to uninstall-docker.sh: delete some clean kube logic (#144) * modify plugin file (#150) * modify plugin file * modify Kubefile * modify plugin and build.sh * modify plugin and build.sh * modify plugin * add Clusterfile;modify script,plugin * modify Kubefile,script,plugin * modify Kubefile,script,plugin * update plugins、scripts、imagesList * Fix plugins. Signed-off-by: huaiyou <[email protected]> * Fix bins path. Signed-off-by: huaiyou <[email protected]> * If another ip family ip not found, will not crash. Support configure RegistryIP dns resolve. Use hack sealer. HACK: add adp images. Signed-off-by: huaiyou <[email protected]> * fix helm values; fix docker clean volumes. Signed-off-by: huaiyou <[email protected]> * fix. Signed-off-by: huaiyou <[email protected]> * Fix etcd ephemeral-storage patch; Configure registry domain; Rename kube-prometheus-stack to kube-prometheus-crds; Support use & to join multi storage device. Signed-off-by: huaiyou <[email protected]> * Set registry url for nvidia pod. disable serializeImagePulls. Signed-off-by: huaiyou <[email protected]> * Update imageList. Signed-off-by: huaiyou <[email protected]> * Support process DeployMode. Signed-off-by: huaiyou <[email protected]> * Support PlatformType Support install component in managedcluster. Signed-off-by: huaiyou <[email protected]> * Hack label for infra; Split coredns host to another configmap; Support generate clusterinfo; Remove useless images. Signed-off-by: huaiyou <[email protected]> * Split plugin to post scale up and post install; Fix set log rotate should run on all hosts; Support ingressInternalIP etc. Signed-off-by: huaiyou <[email protected]> * Mark managed by ackd label. Signed-off-by: huaiyou <[email protected]> * Dump ca cert into clusterinfo. Signed-off-by: huaiyou <[email protected]> * Support set PlatformCA. Signed-off-by: huaiyou <[email protected]> * Fix. Signed-off-by: huaiyou <[email protected]> * Fix clusterinfo. Signed-off-by: huaiyou <[email protected]> * Fix. Signed-off-by: huaiyou <[email protected]> * Label all node with cnstack-infra if not enterprise mode. Enable IPv6DualStack by default. Signed-off-by: huaiyou <[email protected]> * Use new oss. Signed-off-by: huaiyou <[email protected]> * Fix cidr. Signed-off-by: huaiyou <[email protected]> * Fix image. Signed-off-by: huaiyou <[email protected]> * Update. Signed-off-by: huaiyou <[email protected]> * Support vip for apiserver. Improve helm install retry. Signed-off-by: huaiyou <[email protected]> * Update to 1.20.11; Fix depreciated api verison; Remove useless ingress; Ignore check for hybridnet subnet. Signed-off-by: huaiyou <[email protected]> * Set metrics server replicas. Signed-off-by: huaiyou <[email protected]> * Remove allocate node cidr. Signed-off-by: huaiyou <[email protected]> * Fix. Signed-off-by: huaiyou <[email protected]> * Support gatewayExposeMode Signed-off-by: huaiyou <[email protected]> * Check mountpoint before disk init. Signed-off-by: huaiyou <[email protected]> * Fix node port for apiserver lb. Signed-off-by: huaiyou <[email protected]> * update storage class annotations (#166) * Support deployMode,gatewayDomain,registryExternalURL; Add push-to-registry.sh etcdctl_v3.sh Signed-off-by: huaiyou <[email protected]> Signed-off-by: huaiyou <[email protected]> Co-authored-by: kakaZhou719 <[email protected]> Co-authored-by: kakzhou719 <[email protected]> Co-authored-by: Steven.Wang <[email protected]> Co-authored-by: Zhiheng Sun <[email protected]>
- Loading branch information
1 parent
96aaf52
commit 337e2c5
Showing
12 changed files
with
145 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#! /bin/bash | ||
|
||
set -e | ||
|
||
if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then | ||
echo "此脚本的入参为一个本地存在的docker镜像的tar包路径或者一个本地存在的docker镜像名" | ||
echo "此脚本会将传入的镜像tar包或者镜像名,转存到sealer registry当中" | ||
echo "Usage: $0 /root/image.tar #这是一个docker镜像save的tar包" | ||
echo " $0 image.tgz #这是对一个docker镜像save的tar包进行gzip压缩的包" | ||
echo " $0 nginx:latest #这是一个docker镜像名称" | ||
exit 0 | ||
fi | ||
|
||
split_image_name() { | ||
ImageUrl=$1 | ||
res="${ImageUrl//[^\/]}" | ||
PartNum=${#res} | ||
if [ ${PartNum} -eq 2 ];then | ||
Domain=$(echo $ImageUrl | cut -d'/' -f 2) | ||
Image=$(echo $ImageUrl | cut -d'/' -f 3) | ||
elif [ ${PartNum} -eq 1 ];then | ||
Domain=default | ||
Image=$(echo $ImageUrl | cut -d'/' -f 2) | ||
elif [ ${PartNum} -eq 0 ];then | ||
Domain=default | ||
Image=$ImageUrl | ||
fi | ||
} | ||
|
||
if echo "$1" | grep -q -E '\.tar$';then | ||
FullName=`docker load -i ${1} | cut -d' ' -f 3` | ||
elif echo "$1" | grep -q -E '\.tgz$';then | ||
image=`tar -xvf $1` | ||
FullName=`docker load -i ${image} | cut -d' ' -f 3` | ||
else | ||
FullName="$1" | ||
fi | ||
|
||
split_image_name $FullName | ||
|
||
for m in `kubectl get no -owide |grep master|awk '{print $6}'`;do | ||
docker tag $ImageUrl ${m}:5000/$Domain/$Image | ||
docker push ${m}:5000/$Domain/$Image | ||
done | ||
|
||
echo "已成功转存到 registry-internal.adp.aliyuncs.com:5000/$Domain/$Image" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,6 @@ spec: | |
- name: https | ||
port: 6443 | ||
targetPort: 6443 | ||
nodePort: 30057 | ||
selector: | ||
component: kube-apiserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,6 @@ | |
|
||
### Kernel: | ||
|
||
- 4.18.* | ||
- 4.19.* | ||
- 3.10.* (must >=3.10.0-1160) | ||
|
||
|