Skip to content

Instantly share code, notes, and snippets.

On home.

baul inevity

On home.
Block or report user

Report or block inevity

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Zip excluding specific directories

Exclude .git file and node_modules directory

$ zip -r9 [target_file] [source_file] -x *.git* node_modules/\*

Exclude .git file and files in node_modules directory, but keep node_modules directory

$ zip -r9 [target_file] [source_file] -x *.git* node_modules/**\*
View metalb in-cluster registry issue
## use the in-k8s register
make push
kc get pod
metallb-system controller-76bfc5b8f-gn67m 1/1 Running 0 7m minikube
metallb-system controller-7cbddf6c7-75rr2 0/1 ImagePullBackOff 0 1m minikube
metallb-system speaker-2n5vj 0/1 ImagePullBackOff 0 1m minikube
metallb-system test-bgp-router-5d5b7ffdb7-skgqg 0/1 ImagePullBackOff 0 1m minikube
metallb-system test-bgp-router-fd8d857bd-4fmw8 1/1 Running 0 7m minikube
inevity /
Created Jun 13, 2018 — forked from kevin-smets/
Local Kubernetes setup on macOS with minikube on VirtualBox and local Docker registry


Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:

sysctl -a | grep machdep.cpu.features | grep VMX

If there's output, you're good!


You can’t perform that action at this time.