Skip to content

Conversation

@lipovsek-aws
Copy link

Description of changes:
During testing I got errors of missing namespace for NPD.

apiVersion: v1
kind: Namespace
metadata:
name: {{ include "neuron-node-problem-detector-and-recovery.namespace" . }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Sometimes I have seen clusters already having neuron-healthcheck-system namespace when created, causing helm deployment failure due to ownership issues, so we have not added the namespace.

Copy link
Author

Choose a reason for hiding this comment

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

What is the use case when exactly this namespace is created? In that case we can set npd to use different namespace?
Alternatively I think this requirement should be added to the readme.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not 100% sure when this ns is created tbh, yes we can update the readme to create the npd namespace if does not exist. Alternatively we can control this behavior using a flag to create a ns, by default its off.

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.

2 participants