Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude nodes from SNAT redirect policy #1203

Conversation

smshareef
Copy link
Contributor

No description provided.

@smshareef smshareef marked this pull request as ready for review November 24, 2023 13:45
@smshareef smshareef marked this pull request as draft November 24, 2023 13:46
@smshareef smshareef force-pushed the shaikmas-jira-138-exclude-nodes-from-snat-redirect-policy branch from 913f80e to 76c4c95 Compare November 30, 2023 12:13
@smshareef smshareef marked this pull request as ready for review November 30, 2023 12:13
Exclude nodes based on the node-role.kubernetes.io labels.

Below structure is the config,

    node_snat_redirect_exclude:
      - group: <node_group_name_1>:
        labels:
          - <label_1>
          - <label_2>
          .
          - <label_n>
      .
      .
      - group: <node_group_name_n>:
        labels:
          - <label_1>
          - <label_2>
          .
          .
          - <label_n>

The nodes in a node group which match all the labels in the config
will be excluded from the SNAT redirect policy.
@smshareef smshareef force-pushed the shaikmas-jira-138-exclude-nodes-from-snat-redirect-policy branch from 76c4c95 to 89437da Compare November 30, 2023 16:26
@akhilamohanan akhilamohanan changed the title CKO-138: Exclude nodes from SNAT redirect policy Exclude nodes from SNAT redirect policy Dec 1, 2023
@akhilamohanan akhilamohanan merged commit afa25a6 into master Dec 1, 2023
5 checks passed
@snaiksat snaiksat deleted the shaikmas-jira-138-exclude-nodes-from-snat-redirect-policy branch December 2, 2023 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants