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

check if running container also has ip address to return ready state #168

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

prezha
Copy link
Contributor

@prezha prezha commented Mar 24, 2023

closes #163

currently, container's running state is directly translated to PodSandbox's Ready state:

// Translate container to sandbox state.
state := v1.PodSandboxState_SANDBOX_NOTREADY
if r.State.Running {
state = v1.PodSandboxState_SANDBOX_READY
}

this pr adds check if a running container also has an ip address assigned to return the PodSandbox's Ready state

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.

Updating from v0.3.0 to v0.3.1 causing multi-node network issues
2 participants