Posts

Showing posts from 2018

Enable MacOS Start Up sound in the new 2016 and 2017 Macbook pro

Disable boot on power source and boot on lid open by running this on terminal: sudo nvram AutoBoot= Enable it again by running sudo nvram AutoBoot=%03 Feature removed by apple on latest firmware, doesn't work anymore. Bonus: Boot chime control sudo nvram BootAudio= sudo nvram BootAudio =%01

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