mirror of https://github.com/easzlab/kubeasz.git
更新K8S v1.9.0
parent
e42cc48d5e
commit
6134c1ae2d
11
README.md
11
README.md
|
@ -16,12 +16,13 @@
|
||||||
|
|
||||||
## 组件版本
|
## 组件版本
|
||||||
|
|
||||||
1. kubernetes v1.8.4
|
1. kubernetes v1.9.0
|
||||||
1. etcd v3.2.10
|
1. etcd v3.2.11
|
||||||
1. docker 17.09.0-ce
|
1. docker 17.09.1-ce
|
||||||
1. calico/node v2.6.2
|
1. calico/node v2.6.3
|
||||||
|
|
||||||
附:集群用到的所有二进制文件已打包好供下载 [https://pan.baidu.com/s/1eSetFSA](https://pan.baidu.com/s/1eSetFSA)
|
附:集群用到的所有二进制文件已打包好供下载 [https://pan.baidu.com/s/1i5u3SEh](https://pan.baidu.com/s/1i5u3SEh)
|
||||||
|
注:`Kubernetes v1.8.x` 版本请切换到项目分支 `v1.8`
|
||||||
|
|
||||||
## 快速指南
|
## 快速指南
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# 主要组件版本
|
# 主要组件版本
|
||||||
kubernetes v1.8.4
|
|
||||||
etcd v3.2.10
|
+ kubernetes v1.9.0
|
||||||
docker 17.09.0-ce
|
+ etcd v3.2.11
|
||||||
calico/node v2.6.2
|
+ docker 17.09.1-ce
|
||||||
|
+ calico/node v2.6.3
|
||||||
|
|
|
@ -41,7 +41,7 @@ subjects:
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
---
|
---
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
k8s-app: kubernetes-dashboard
|
k8s-app: kubernetes-dashboard
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: monitoring-grafana
|
name: monitoring-grafana
|
||||||
|
|
|
@ -20,7 +20,7 @@ roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: heapster
|
name: heapster
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: monitoring-influxdb
|
name: monitoring-influxdb
|
||||||
|
|
|
@ -44,7 +44,7 @@ metadata:
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
---
|
---
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: traefik-ingress-controller
|
name: traefik-ingress-controller
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
|
|
|
@ -41,7 +41,7 @@ spec:
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-dns
|
name: kube-dns
|
||||||
|
|
|
@ -28,7 +28,7 @@ ExecStart={{ bin_dir }}/docker run --net=host --privileged --name=calico-node \
|
||||||
-v /run/docker/plugins:/run/docker/plugins \
|
-v /run/docker/plugins:/run/docker/plugins \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
-v /var/log/calico:/var/log/calico \
|
-v /var/log/calico:/var/log/calico \
|
||||||
calico/node:v2.6.2
|
calico/node:v2.6.3
|
||||||
ExecStop={{ bin_dir }}/docker rm -f calico-node
|
ExecStop={{ bin_dir }}/docker rm -f calico-node
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
|
@ -41,7 +41,7 @@ spec:
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-dns
|
name: kube-dns
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: calico-kube-controllers
|
name: calico-kube-controllers
|
||||||
rules:
|
rules:
|
||||||
|
@ -21,7 +21,7 @@ rules:
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: calico-kube-controllers
|
name: calico-kube-controllers
|
||||||
roleRef:
|
roleRef:
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Calico Version v2.6.2
|
# Calico Version v2.6.3
|
||||||
# https://docs.projectcalico.org/v2.6/releases#v2.6.2
|
# https://docs.projectcalico.org/v2.6/releases#v2.6.3
|
||||||
# This manifest includes the following component versions:
|
# This manifest includes the following component versions:
|
||||||
# calico/kube-controllers:v1.0.0
|
# calico/kube-controllers:v1.0.1
|
||||||
|
|
||||||
# Create this manifest using kubectl to deploy
|
# Create this manifest using kubectl to deploy
|
||||||
# the Calico Kubernetes controllers.
|
# the Calico Kubernetes controllers.
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: calico-kube-controllers
|
name: calico-kube-controllers
|
||||||
|
@ -20,6 +20,9 @@ spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
k8s-app: calico-kube-controllers
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: calico-kube-controllers
|
name: calico-kube-controllers
|
||||||
|
@ -31,8 +34,8 @@ spec:
|
||||||
serviceAccountName: calico-kube-controllers
|
serviceAccountName: calico-kube-controllers
|
||||||
containers:
|
containers:
|
||||||
- name: calico-kube-controllers
|
- name: calico-kube-controllers
|
||||||
#image: quay.io/calico/kube-controllers:v1.0.0
|
#image: quay.io/calico/kube-controllers:v1.0.1
|
||||||
image: calico/kube-controllers:v1.0.0
|
image: calico/kube-controllers:v1.0.1
|
||||||
env:
|
env:
|
||||||
# Configure the location of your etcd cluster.
|
# Configure the location of your etcd cluster.
|
||||||
- name: ETCD_ENDPOINTS
|
- name: ETCD_ENDPOINTS
|
||||||
|
|
Loading…
Reference in New Issue