Skip to content

Instantly share code, notes, and snippets.

@dangtrinhnt
Created May 2, 2020 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dangtrinhnt/67385787b6bb827bb895fc1ab2d4c454 to your computer and use it in GitHub Desktop.
Save dangtrinhnt/67385787b6bb827bb895fc1ab2d4c454 to your computer and use it in GitHub Desktop.
Disable MetalLB for MicroK8S
#!/usr/bin/env bash
set -e
source $SNAP/actions/common/utils.sh
echo "Disabling MetalLB"
KUBECTL="$SNAP/kubectl --kubeconfig=${SNAP_DATA}/credentials/client.config"
$KUBECTL delete namespaces metallb-system
echo "MetalLB is terminating"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment