Created
June 13, 2020 19:28
-
-
Save tcdowney/82581aff1c0a929253397b28e606958a to your computer and use it in GitHub Desktop.
Convert LoadBalancer Service to NodePort ytt
This file contains hidden or 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
#! https://downey.io/notes/dev/convert-loadbalancer-service-to-nodeport-ytt/ | |
#@ load("@ytt:overlay", "overlay") | |
#@overlay/match by=overlay.subset({"kind": "Service", "spec":{"type":"LoadBalancer"}}),expects=1 | |
--- | |
spec: | |
#@overlay/replace | |
type: NodePort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment