Created
September 9, 2024 20:31
-
-
Save cdxker/e98a8f3460b6c2fee37538e7ebf3e1a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BACKEND=$(kubectl get ing <ingress-name> -o json | jq -j '.metadata.annotations."ingress.kubernetes.io/backends"' | jq -j 'keys[0]') | |
gcloud compute backend-services update $BACKEND --enable-cdn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment