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

[DEFECT] Trousseau daemonset crash #274

Open
sathishstar25 opened this issue Dec 16, 2024 · 2 comments
Open

[DEFECT] Trousseau daemonset crash #274

sathishstar25 opened this issue Dec 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sathishstar25
Copy link

sathishstar25 commented Dec 16, 2024

Issue template is used for reporting defects or support issues.

Title: KubeAPI server crash when Trousseau fails due to token expiry or config issue. Using Trousseau v1.1.3

Detailed Description

I encrypted a few of my Kubernetes clusters with Trousseau, and it was successful. However, when the token to Vault expired, the Trousseau DaemonSet crashed, and along with it, the Kube API server also stopped running. This issue occurs on all the master nodes.

I tried to test this in a development cluster but I mistakenly passed the wrong argument in the Listen address in the Trousseau DaemonSet configuration. Although the token wasn't expired at that time, the Kube API server still crashed along with the Trousseau DaemonSet.

Expected Behavior

I'm not sure what the expected behavior should be, but an issue with the Trousseau DaemonSet shouldn't break the cluster/API server.

Current Behavior

The Trousseau DaemonSet crashes along with the Kube API server.

Steps to Reproduce

1.Encrypt the etcd cluster using Trousseau and Vault.
2.Let the Vault token expire for Trousseau access or introduce an error in the DaemonSet configuration and apply the changes.

Context (Environment)

We are unable to bring back the cluster as we can't instruct the Kube API server.

Kindly let me know if there are any other details that you require.

Possible Solution/Implementation

Possible PR


@sathishstar25 sathishstar25 added the bug Something isn't working label Dec 16, 2024
@sathishstar25 sathishstar25 changed the title [DEFECT] [DEFECT] Trousseau daemonset crash Dec 16, 2024
@romdalf
Copy link
Contributor

romdalf commented Dec 16, 2024

Thank you for your issue.

Supporting only KMSv1, the Trousseau project is no longer suitable for use except for educational purposes.
The Kubernetes project retired the KMSv1 in favor of KMSv2, a production-grade replacement. There is no plan (as far as I know) to develop a KMSv2-supported version.

There are other options available like:

Cheers,
Rom

Note that I am not part of the Ondat org anymore, but I feel that I should provide the community with answers.

@sathishstar25
Copy link
Author

Apologies. I should have mentioned the version. I'm using k8s 1.23.7 version. So its kms v1 only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants