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

Move APIs to work with health checks into translator package to prepare for future refactoring #1167

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

rramkumar1
Copy link
Contributor

@rramkumar1 rramkumar1 commented Jun 23, 2020

Note that this PR does not introduce any semantic changes.

Some considerations:

  1. We eventually want to start using composite.HealthCheck to represent HealthChecks rather than the existing structure. Moving it to the translator package makes it easier to slowly start chipping away at removing the legacy code.

  2. Some of the methods exported in pkg/translator/healthchecks.go will eventually become internal implementation details. For example, DefaultHealthCheck, ApplyProbeSettingstoHC, etc.


This change is Reviewable

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jun 23, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rramkumar1

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 requested review from freehan and MrHohn June 23, 2020 22:05
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 23, 2020
Copy link
Contributor

@spencerhance spencerhance left a comment

Choose a reason for hiding this comment

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

lgtm

@spencerhance
Copy link
Contributor

@freehan, can you take a look and approve?

@rramkumar1 rramkumar1 merged commit b5d904b into kubernetes:master Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants