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

added a info about the auto heal of k8 #49282

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ayushpatil2122
Copy link
Contributor

Description

The Kubernetes documentation currently mentions self-healing as a feature, but it does not provide a detailed explanation of what self-healing entails. This feature request aims to address that gap by adding a concise, dedicated page within the Kubernetes architecture section. The new page will briefly outline Kubernetes' self-healing capabilities, such as automatic Pod replacement, workload rescheduling, node health monitoring, and storage recovery. It will also link to relevant documentation to guide users in implementing and understanding these features.

Issue

#48963

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 4, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign reylejano for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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 added the language/en Issues or PRs related to English language label Jan 4, 2025
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 4, 2025
Copy link

netlify bot commented Jan 4, 2025

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 7ea9b22
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/6779a1393bb0540008dbe2b7
😎 Deploy Preview https://deploy-preview-49282--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@katcosgrove katcosgrove left a comment

Choose a reason for hiding this comment

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

Some nits for grammar

## Ability to self-heal

The idea behind self-healing Kubernetes is simple: If a container fails, Kubernetes automatically redeploys the afflicted
container to its desired state to restore operations
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
container to its desired state to restore operations
container to its desired state to restore operations.

The idea behind self-healing Kubernetes is simple: If a container fails, Kubernetes automatically redeploys the afflicted
container to its desired state to restore operations

Self-healing Kubernetes has four capabilities :
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Self-healing Kubernetes has four capabilities :
Self-healing Kubernetes has four capabilities:

- disable containers that don't respond to predefined health checks.
- prevent containers from appearing to users or other containers until they are ready.

Ideally, container detection and restoration should be seamless and immediate, minimize application disruption and mitigate negative UX.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Ideally, container detection and restoration should be seamless and immediate, minimize application disruption and mitigate negative UX.
Ideally, container detection and restoration should be seamless and immediate, minimize application disruption and mitigate negative user experience.

Ideally, container detection and restoration should be seamless and immediate, minimize application disruption and mitigate negative UX.
Organizations can specify how Kubernetes performs health checks and what actions it should take after it detects a problem.

How does self-healing work with Kubernetes? :
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
How does self-healing work with Kubernetes? :
How does self-healing work with Kubernetes?:

@iheartNathan
Copy link
Contributor

Hi @ayushpatil2122, I am the PR wrangler shadow for this week (January 12) and I will be helping to review this PR.

Comment on lines +116 to +119
- restart failed containers.
- replace containers that require updates, such as a new software version.
- disable containers that don't respond to predefined health checks.
- prevent containers from appearing to users or other containers until they are ready.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- restart failed containers.
- replace containers that require updates, such as a new software version.
- disable containers that don't respond to predefined health checks.
- prevent containers from appearing to users or other containers until they are ready.
- Restart failed containers.
- Replace containers that require updates, such as a new software version
- Kill containers that don't respond to user-defined health checks.
- Prevent advertising containers to clients until they are ready to serve traffic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants