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
View zip-excluding-specific-directories-and-files.md

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 172.17.0.6 minikube
metallb-system controller-7cbddf6c7-75rr2 0/1 ImagePullBackOff 0 1m 172.17.0.4 minikube
metallb-system speaker-2n5vj 0/1 ImagePullBackOff 0 1m 10.0.2.15 minikube
metallb-system test-bgp-router-5d5b7ffdb7-skgqg 0/1 ImagePullBackOff 0 1m 172.17.0.7 minikube
metallb-system test-bgp-router-fd8d857bd-4fmw8 1/1 Running 0 7m 172.17.0.5 minikube
@inevity
inevity / 1_kubernetes_on_macOS.md
Created Jun 13, 2018 — forked from kevin-smets/1_kubernetes_on_macOS.md
Local Kubernetes setup on macOS with minikube on VirtualBox and local Docker registry
View 1_kubernetes_on_macOS.md

Requirements

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!

Prerequisites

You can’t perform that action at this time.