再探kubernetes: 1: 离线安装准备:1.15.0

这篇文章memo一下kubernetes升级至1.15的工具改动。

准备内容

主要准备内容同1.13相差不大,详细可参看

  • https://liumiaocn.blog.csdn.net/article/details/88163677

修改内容

根据目前的更新以下组件更新至最新版本

组件 更新前版本 当前版本
Kubernetes 1.13.4 1.15.0
Docker 17.03.2 18.09.7
ETCD 3.3.12 3.3.13
FLANNEL 0.10.0 0.11.0

可根据需要修改下载文件的版本信息

[root@liumiao shell]# git diff 
diff --git a/k8s/shell/step0-get-binaries.sh b/k8s/shell/step0-get-binaries.sh
index a51945c..3ad866a 100755
--- a/k8s/shell/step0-get-binaries.sh
+++ b/k8s/shell/step0-get-binaries.sh
@@ -3,11 +3,12 @@
 TYPE_OS=linux
 TYPE_ARCH=amd64
 VER_CFSSL=R1.2
-VER_KUBERNETES=v1.13.4
-VER_ETCD=v3.3.12
-VER_DOCKER=17.03.2-ce
+#VER_KUBERNETES=v1.13.4
+VER_KUBERNETES=v1.15.0
+VER_ETCD=v3.3.13
+VER_DOCKER=18.09.7
 VER_CNI=v0.7.4
-VER_FLANNEL=v0.10.0
+VER_FLANNEL=v0.11.0
 DIR_DOWNLOAD=/tmp
 
 
[root@liumiao shell]#

下载日志

[root@liumiao shell]# sh step0-get-binaries.sh 
## clear previous download binaries
## create binaries download dir
## download cfssl
Sun Jun 30 10:55:52 CST 2019
## get cfssl_linux-amd64 with name cfssl
## get cfssljson_linux-amd64 with name cfssljson
## get cfssl-certinfo_linux-amd64 with name cfssljson
cfssl  cfssl-certinfo  cfssljson

## download kubernetes
curl -Lo kubernetes.tar.gz https://dl.k8s.io/v1.15.0/kubernetes-server-linux-amd64.tar.gz
kube-apiserver	kube-controller-manager  kube-proxy  kube-scheduler  kubectl  kubelet  plugin

## download etcd
## download docker
docker	docker-init  docker-proxy  dockerd

## download cni
bridge	dhcp  flannel  host-device  host-local	ipvlan	loopback  macvlan  portmap  ptp  sample  tuning  vlan
Sun Jun 30 10:56:44 CST 2019
## download flannel
flanneld
mk-docker-opts.sh
README.md
## download completed
/tmp/binaries
|-- cfssl
|   |-- cfssl
|   |-- cfssl-certinfo
|   `-- cfssljson
|-- cni
|   |-- bridge
|   |-- dhcp
|   |-- flannel
|   |-- host-device
|   |-- host-local
|   |-- ipvlan
|   |-- loopback
|   |-- macvlan
|   |-- portmap
|   |-- ptp
|   |-- sample
|   |-- tuning
|   `-- vlan
|-- docker
|   |-- docker
|   |-- dockerd
|   |-- docker-init
|   `-- docker-proxy
|-- etcd
|   |-- etcd
|   `-- etcdctl
|-- flannel
|   |-- flanneld
|   `-- mk-docker-opts.sh
`-- kubernetes
    |-- kube-apiserver
    |-- kube-controller-manager
    |-- kubectl
    |-- kubelet
    |-- kube-proxy
    |-- kube-scheduler
    `-- plugin
        `-- coredns
            `-- coredns.yaml

8 directories, 31 files
[root@liumiao shell]#

你可能感兴趣的:(kubernetes,1.15.0,安装准备,Kubernetes,深入浅出kubernetes)