Create Guard to Allow Egress
Create guard to allow egress is used to create a Cloudeka Guard that will allow outbound traffic (egress) from pods with certain labels to pods with other labels. Using this syntax, you can control outbound access from pods that have the label app: client-default in the default namespace to pods that have the label app: web-app. You can first run the following syntax to create a YAML file with the name allow-egress.
Copy and paste the following YAML contents.
After pasting the syntax, save the file by pressing Ctrl + O, then press the Enter key and exit the editor by pressing Ctrl + X. The next step is to apply Cloudeka Guard.
Last updated