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 liveness and readiness probes to debug container partials template #11308

Merged
merged 6 commits into from
Nov 3, 2023

Conversation

deusxanima
Copy link
Contributor

Subject

added liveness and readiness probes to debug container partials template

Problem

Some environments have security restrictions which require liveness and readiness probes in order to deploy any container in the cluster. Currently our debug container does not contain these, and there is no easy way for users to add the values into the container due to the way it's injected into the pod but not propagated to the deployment.

Solution

Added static liveness and readiness probes to debug container partials template which will always pass and evaluate to true.

Fixes #[11307]

Alen Haric (deusxanima) [email protected]

@deusxanima deusxanima requested a review from a team as a code owner August 28, 2023 22:55
charts/linkerd-control-plane/values-ha.yaml Outdated Show resolved Hide resolved
charts/linkerd-control-plane/values.yaml Outdated Show resolved Hide resolved
charts/linkerd-control-plane/values-ha.yaml Outdated Show resolved Hide resolved
Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

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

I've replaced the commands with just true, fixed the golden files and the pod-with-debug.patch.json file 🙏

@alpeb alpeb merged commit 33dffe6 into linkerd:main Nov 3, 2023
32 checks passed
alpeb added a commit that referenced this pull request Nov 9, 2023
## edge-23.11.2

This edge release contains observability improvements and bug fixes to the
Destination controller, and a refinement to the multicluster gateway resolution
logic.

* Fixed an issue where the Destination controller could stop processing service
  profile updates, if a proxy subscribed to those updates stops reading them;
  this is a followup to the issue [#11491] fixed in edge-23.10.3 ([#11546])
* In the Destination controller, added informer lag histogram metrics to track
  whenever the objects tracked are falling behind the state in the
  kube-apiserver ([#11534])
* In the multicluster service mirror, extended the target gateway resolution
  logic to take into account all the possible IPs a hostname might resolve to,
  not just the first one (thanks @MrFreezeex!) ([#11499])
* Added probes to the debug container to appease environments requiring probes
  for all containers ([#11308])
alpeb added a commit that referenced this pull request Nov 9, 2023
## edge-23.11.2

This edge release contains observability improvements and bug fixes to the
Destination controller, and a refinement to the multicluster gateway resolution
logic.

* Fixed an issue where the Destination controller could stop processing service
  profile updates, if a proxy subscribed to those updates stops reading them;
  this is a followup to the issue [#11491] fixed in [edge-23.10.3] ([#11546])
* In the Destination controller, added informer lag histogram metrics to track
  whenever the Kubernetes objects watched by the controller are falling behind
  the state in the kube-apiserver ([#11534])
* In the multicluster service mirror, extended the target gateway resolution
  logic to take into account all the possible IPs a hostname might resolve to,
  rather than just the first one (thanks @MrFreezeex!) ([#11499])
* Added probes to the debug container to appease environments requiring probes
  for all containers ([#11308])

[edge-23.10.3]: https://github.com/linkerd/linkerd2/releases/tag/edge-23.10.3
[#11546]: #11546
[#11534]: #11534
[#11499]: #11499
[#11308]: #11308
@deusxanima deusxanima deleted the alen/adding_debug_container_probes branch December 8, 2023 02:23
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.

5 participants