Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

Use in-cluster shoot API-server urls for health-checks #602

Merged

Conversation

zanetworker
Copy link
Contributor

@zanetworker zanetworker commented Feb 19, 2020

What this PR does / why we need it:
Currently the internal DNS entry for the Shoot API-servers is used for health-checks, these health-cheks translate to egress traffic costs.

In an effort to optimize costs, this PR replaces the secret used for the kubeconfig of the seed cluster with another that makes use of an in-cluster url similar to gardener/gardener#1928

Which issue(s) this PR fixes:
Part of #gardener/gardener#1953

Special notes for your reviewer:

Release note:

Use internal Gardener secret for health checks.

@zanetworker zanetworker requested a review from a team as a code owner February 19, 2020 10:07
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Feb 19, 2020
@gardener-robot-ci-2 gardener-robot-ci-2 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Feb 19, 2020
go.mod Show resolved Hide resolved
pkg/util/shoot_clients.go Outdated Show resolved Hide resolved
@zanetworker zanetworker force-pushed the enhance/incluster-healthchecks branch from e3b2291 to 9814705 Compare February 19, 2020 12:53
@gardener-robot-ci-3 gardener-robot-ci-3 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Feb 19, 2020
Copy link
Contributor

@rfranzke rfranzke left a comment

Choose a reason for hiding this comment

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

/lgtm

@rfranzke rfranzke merged commit f5f5268 into gardener-attic:master Feb 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants