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

Add fsnotify to watch files in the gke-pod-network directory #123

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

sdmodi
Copy link
Contributor

@sdmodi sdmodi commented Apr 12, 2022

By doing this, we will not parse the entire gke-pod-network directory every 30 seconds. Instead, we will only parse the directory every time there is a change in the pod IP allocation. For most cases, this will be more efficient.

@sdmodi
Copy link
Contributor Author

sdmodi commented Apr 12, 2022

/assign mrhohn

Copy link
Collaborator

@sypakine sypakine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some small nits.

By doing this, we will not parse the entire gke-pod-network directory
every 30 seconds. Instead, we will only parse the directory every time
there is a change in the pod IP allocation. For most cases, this will
be more efficient.
@sypakine
Copy link
Collaborator

/lgtm
/approve

@k8s-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sdmodi, sypakine

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 232d958 into GoogleCloudPlatform:master Apr 13, 2022
jingyuanliang added a commit to jingyuanliang/netd that referenced this pull request Sep 4, 2024
… 1.23]

Also bump base image to distroless-iptables:v0.6.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants