kube-flannel,k8s集群搭建网络插件安装的配置文件
1
k8s/kubernetes flannel 脚本
2021-11-17 09:01:39 5KB kubernetes k8s flannel 法兰绒
1
k8s中的flannel网络插件 kube-flannel.yml
2021-10-21 09:01:34 14KB k8s
1
--- apiVersion: extensions/v1beta1 kind: PodSecurityPolicy metadata: name: psp.flannel.unprivileged annotations: seccomp.security.alpha.kubernetes.io/allowedProfileNames: docker/default seccomp.security.alpha.kubernetes.io/defaultProfileName: docker/default apparmor.security.beta.kubernetes.io/allowedProfileNames: runtime/default apparmor.security.beta.kubernetes.io/defaultProfileName: runtime/default spec: privileged: false volumes: - configMap - secret - emptyDir - hostPath allowedHostPaths: - pathPrefix: "/etc/cni/net.d" - pathPrefix: "/etc/kube-flannel" - pathPrefix: "/run/flannel" readOnlyRootFilesystem: false # Users and groups runAsUser: rule: RunAsAny supplementalGroups: rule: RunAsAny fsGroup: rule: RunAsAny # Privilege Escalation allowPrivilegeEscalation: false defaultAllowPrivilegeEscalation: false # Capabilities allowedCapabilities: ['NET_ADMIN'] defaultAddCapabilities: [] requiredDropCapabilities: [] # Host namespaces hostPID: false hostIPC: false hostNetwork: true hostPorts: - min: 0 max: 65535 # SELinux seLinux: # SELinux is unsed in CaaSP rule: 'RunAsAny' --- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1beta1 metadata: name: flannel rules: - apiGroups: ['extensions'] resources: ['podsecuritypolicies'] verbs: ['use'] resourceNames: ['psp.flannel.unprivileged'] - apiGroups: - "" resources: - pods verbs: - get - apiGroups: - "" resources: - nodes verbs: - list - watch - apiGroups: - "" resources: - nodes/status verbs: - patch --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1beta1 metadata: name: flannel roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: flannel subjects: - kind: ServiceAccount name: flannel namespace: kube-system --- apiVersion: v1 kind: ServiceAccount me
2021-10-17 22:48:18 12KB kube-flannel
1
kube-flannel
2021-10-16 15:34:53 14KB kube-flannel
1
kube-flannel-rbac.yml # Create the clusterrole and clusterrolebinding: # $ kubectl create -f kube-flannel-rbac.yml # Create the pod using the same namespace used by the flannel serviceaccount: # $ kubectl create --namespace kube-system -f kube-flannel.yml --- kind: ClusterRole apiVersion: rbac.autho
2021-10-06 12:23:44 24KB ann bac c
1
kube-flannel.zip
2021-09-09 22:00:53 2KB k8s
1
kube-flannel.yml
2021-08-16 14:01:01 5KB k8s网络插件
1
kubernetes的网络插件,flannel.yaml文件,亲测适用于v1.19.4至v1.21.3,更高的暂时没有测试
2021-08-10 17:08:22 5KB kubernetes flannel k8s
1
kubernetes部署中所使用的flannel网络插件
2021-07-15 09:01:24 7KB kubernetes k8s flannel 网络插件
1