Posts

Showing posts from July, 2018

Loadbalancer on Premises for Kubernetes

Installing MetalLB 1- Create a metallb.yaml file. $ vim metallb.yaml apiVersion: v1 kind: Namespace metadata: name: metallb-system labels: app: metallb --- apiVersion: v1 kind: ServiceAccount metadata: namespace : metallb-system name: controller labels: app: metallb --- apiVersion: v1 kind: ServiceAccount metadata: namespace : metallb-system name: speaker labels: app: metallb --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: metallb-system:controller labels: app: metallb rules: - apiGroups: [ "" ] resources: [ "services" ] verbs: [ "get" , "list" , "watch" , "update" ] - apiGroups: [ "" ] resources: [ "services/status" ] verbs: [ "update" ] - apiGroups: [ "" ] resources: [ "events" ] verbs: [ "create" , "patch" ] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole me