update flannel v0.11.0-amd64

pull/465/head
gjmzj 2019-02-15 14:47:43 +08:00
parent 81bb83b3b7
commit 2cb94ff8d0
2 changed files with 7 additions and 12 deletions

View File

@ -8,11 +8,8 @@ NODE_WITH_MULTIPLE_NETWORKS: "true"
#FLANNEL_BACKEND: "host-gw"
FLANNEL_BACKEND: "vxlan"
#install_cni_image: "quay.io/coreos/flannel:v0.10.0-amd64"
install_cni_image: "jmgao1983/flannel:v0.10.0-amd64"
#flanneld_image: "quay.io/coreos/flannel:v0.10.0-amd64"
flanneld_image: "jmgao1983/flannel:v0.10.0-amd64"
flanneld_image: "jmgao1983/flannel:v0.11.0-amd64"
# 离线镜像tar包
flannel_offline: "flannel_v0.10.0-amd64.tar"
flannel_offline: "flannel_v0.11.0-amd64.tar"

View File

@ -1,6 +1,6 @@
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: flannel
rules:
@ -25,7 +25,7 @@ rules:
- patch
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: flannel
roleRef:
@ -82,7 +82,7 @@ data:
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: kube-flannel-ds
name: kube-flannel-ds-amd64
namespace: kube-system
labels:
tier: node
@ -98,13 +98,12 @@ spec:
nodeSelector:
beta.kubernetes.io/arch: amd64
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
- operator: Exists
effect: NoSchedule
serviceAccountName: flannel
initContainers:
- name: install-cni
image: {{ install_cni_image }}
image: {{ flanneld_image }}
command:
- cp
args:
@ -124,7 +123,6 @@ spec:
args:
- --ip-masq
- --kube-subnet-mgr
#- --iface=eth1
resources:
requests:
cpu: "100m"