is there a way to edit an ingress in a file locally and apply it to a remote? i promise i googled and tried finding a solution but can only see kubectl edit and never know if the formatting is right by manually editing on the shell
h
happy-megabyte-30332
12/19/2022, 8:32 AM
Hello, i hope i understood your question correctly.
You can use a local file eg. my-ingress.yaml with all the definitions in it and then do something like kubectl apply -f my-ingress.yaml -n my-namespace