Skip to content

fix: etc/hosts is incorrect when localhost is not belong cluster.#2349

Merged
ks-ci-bot merged 1 commit intokubesphere:feature-gitopsfrom
redscholar:feature
Aug 7, 2024
Merged

fix: etc/hosts is incorrect when localhost is not belong cluster.#2349
ks-ci-bot merged 1 commit intokubesphere:feature-gitopsfrom
redscholar:feature

Conversation

@redscholar
Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind bug

What this PR does / why we need it:

when exec kubekey out of cluster. the /etc/hosts will occurred a incorrect record.like this:
截屏2024-08-07 17 35 06
the calico/node will get error ip for localhost like this:
截屏2024-08-07 17 35 37

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Does this PR introduced a user-facing change?


Additional documentation, usage docs, etc.:


Signed-off-by: joyceliu <joyceliu@yunify.com>
@ks-ci-bot ks-ci-bot added the kind/bug Categorizes issue or PR as related to a bug. label Aug 7, 2024
@ks-ci-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ImitationImmortal

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

The pull request process is described here

Details 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

@ks-ci-bot ks-ci-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 7, 2024
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Aug 7, 2024

@liangzai006
Copy link
Copy Markdown
Contributor

/lgtm

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 7, 2024
@ks-ci-bot
Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: bfccb7dbac41e71b48bed4c8eec8aa62c0e8156e

@ks-ci-bot ks-ci-bot merged commit 4a060a9 into kubesphere:feature-gitops Aug 7, 2024
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. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants