mirror of https://github.com/easzlab/kubeasz.git
minor fix
parent
2ff5d55d6d
commit
0b7c1d98e8
|
@ -36,7 +36,6 @@ spec:
|
|||
containers:
|
||||
- name: APP_NAME
|
||||
image: ProjectImage
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
# 设置java的时区
|
||||
- name: TZ
|
||||
|
|
|
@ -63,10 +63,8 @@ apt-get install git python-pip -y
|
|||
# CentOS 7
|
||||
yum install git python-pip -y
|
||||
# pip安装ansible(国内如果安装太慢可以直接用pip阿里云加速)
|
||||
#pip install pip --upgrade
|
||||
#pip install ansible==2.6.12 netaddr==0.7.19
|
||||
pip install pip --upgrade -i https://mirrors.aliyun.com/pypi/simple/
|
||||
pip install ansible==2.6.12 netaddr==0.7.19 -i https://mirrors.aliyun.com/pypi/simple/
|
||||
pip install ansible==2.6.18 netaddr==0.7.19 -i https://mirrors.aliyun.com/pypi/simple/
|
||||
```
|
||||
|
||||
- 3.2 在ansible控制端配置免密码登录
|
||||
|
|
|
@ -189,7 +189,6 @@ spec:
|
|||
containers:
|
||||
- name: kubernetes-dashboard
|
||||
image: kubernetesui/dashboard:v2.0.0-beta5
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8443
|
||||
protocol: TCP
|
||||
|
|
|
@ -15,9 +15,9 @@ set -o errexit
|
|||
|
||||
# default version, can be overridden by cmd line options
|
||||
export DOCKER_VER=18.09.9
|
||||
export KUBEASZ_VER=2.0.4
|
||||
export KUBEASZ_VER=2.1.0
|
||||
export K8S_BIN_VER=v1.16.2
|
||||
export EXT_BIN_VER=0.3.1
|
||||
export EXT_BIN_VER=0.3.2
|
||||
export SYS_PKG_VER=0.3.3
|
||||
|
||||
function install_docker() {
|
||||
|
@ -207,8 +207,8 @@ function get_offline_image() {
|
|||
docker save -o ${imageDir}/coredns_${corednsVer}.tar coredns/coredns:${corednsVer}
|
||||
fi
|
||||
if [[ ! -f "$imageDir/dashboard_$dashboardVer.tar" ]];then
|
||||
docker pull mirrorgooglecontainers/kubernetes-dashboard-amd64:${dashboardVer} && \
|
||||
docker save -o ${imageDir}/dashboard_${dashboardVer}.tar mirrorgooglecontainers/kubernetes-dashboard-amd64:${dashboardVer}
|
||||
docker pull kubernetesui/dashboard:${dashboardVer} && \
|
||||
docker save -o ${imageDir}/dashboard_${dashboardVer}.tar kubernetesui/dashboard:${dashboardVer}
|
||||
fi
|
||||
if [[ ! -f "$imageDir/flannel_$flannelVer.tar" ]];then
|
||||
docker pull easzlab/flannel:${flannelVer} && \
|
||||
|
|
Loading…
Reference in New Issue