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

Show current status of daemonset in karmor install #443

Open
daemon1024 opened this issue Jun 20, 2024 · 2 comments
Open

Show current status of daemonset in karmor install #443

daemon1024 opened this issue Jun 20, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@daemon1024
Copy link
Member

When we execute karmor install
It install our helm chart followed up by waiting for KubeArmor to start to verify whether enforcement works or not.

Ideal case this is the behaviour

$ karmor install
🛡	Installed helm release : kubearmor-operator
😄	KubeArmorConfig created
⌚️	This may take a couple of minutes                     
🥳	KubeArmor Snitch Deployed!             
🥳	KubeArmor Daemonset Deployed!             
🥳	Done Checking , ALL Services are running!             
⌚️	Execution Time : 30.608023946s 

🔧	Verifying KubeArmor functionality (this may take upto a minute) /.
        Cluster is Armored Up!

But in some cases, the daemonset creation can get stuck, it may be due to less node resources or incorrect volume mounts

$ karmor install
🛡	Installed helm release : kubearmor-operator
😄	KubeArmorConfig updated
⌚️	This may take a couple of minutes                     
🥳	KubeArmor Snitch Deployed!             
ℹ️	Waiting for Daemonset to start: —          

In that case the CLI forever keeps waiting to start. We should show the current status of Pods when we are waiting for the daemonset to start
Like
Pending
Init
PodInitialising
Running

And similarly show events as well in case there are any error events.

@daemon1024 daemon1024 added enhancement New feature or request help wanted Extra attention is needed labels Jun 20, 2024
@ayushrakesh
Copy link

Hey @daemon1024 I would like to work on this. Please assign this to me.

@ayushrakesh
Copy link

@daemon1024 I want to ask that should I configure the .kube/conf file to run this or any kubernetes related project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants