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
helm: Generate experimental-install.yaml #11907
Conversation
4528395
to
3aab704
Compare
3aab704
to
0d60db0
Compare
@@ -16,12 +17,21 @@ DEV_VERSION_REGEX := '[0-9]\+\.[0-9]\+\.[0-9]\+-dev' | |||
CILIUM_CHART_REGEX := '\([vV]ersion:\) '$(VERSION_REGEX) | |||
CILIUM_TAG_REGEX := '\(tag:\) \(v'$(VERSION_REGEX)'\|latest\)' | |||
CILIUM_PULLPOLICY_REGEX := '\(pullPolicy:\) .*' | |||
ULTIMATE_OPTIONS := \ | |||
--set global.hubble.enabled=true \ | |||
--set global.hubble.listenAddress=":4244" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we enable this by default without any warning to the user? (I know there's a warning in the logs but that would be it)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aanm Are you saying that we should enable these options by default for all cilium installs or asking whether we should warn users when these settings are enabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aanm Are you saying that we should enable these options by default for all cilium installs or asking whether we should warn users when these settings are enabled?
warn users when these settings are enabled since this might be unnoticed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aanm How would you suggest the warning should be delivered to users? In cilium status? IMO if it is not possible for the user to use the experimental options without explicitly invoking experimental-install.yaml
on the command line warnings in the docs that document such use should be enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that we can generate custom text in the Helm NOTES output depending on specific helm options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is how the warning is worded right now: https://github.com/cilium/cilium/pull/11882/files#diff-0806f700bf4c3d27724e99235d5f13a8R47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joestringer yeah i think it makes sense to add a warning in NOTES.txt if global.hubble.listenAddress
is set. i will open a separate PR for that since it's not directly related to experimental-install.yaml.
@@ -16,12 +17,21 @@ DEV_VERSION_REGEX := '[0-9]\+\.[0-9]\+\.[0-9]\+-dev' | |||
CILIUM_CHART_REGEX := '\([vV]ersion:\) '$(VERSION_REGEX) | |||
CILIUM_TAG_REGEX := '\(tag:\) \(v'$(VERSION_REGEX)'\|latest\)' | |||
CILIUM_PULLPOLICY_REGEX := '\(pullPolicy:\) .*' | |||
ULTIMATE_OPTIONS := \ | |||
--set global.hubble.enabled=true \ | |||
--set global.hubble.listenAddress=":4244" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aanm Are you saying that we should enable these options by default for all cilium installs or asking whether we should warn users when these settings are enabled?
@michi-covalent I am not very clear on why it's 'ultimate', from the description it sounds like 'experimental' would be more appropriate... Could you explain the intention please? |
i like |
Ref: #11907 (comment) Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
Generate experimental-install.yaml in which we can enable experimental features without changing default values in the Helm chart. This makes it easier for users to play around with bleeding edge features with a simple `kubectl apply`. Ref #11902 Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
0d60db0
to
bbdd87a
Compare
test-me-please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t
Ref: #11907 (comment) Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
[ upstream commit a67554d ] Ref: #11907 (comment) Signed-off-by: Michi Mutsuzaki <michi@isovalent.com> Signed-off-by: André Martins <andre@cilium.io>
[ upstream commit a67554d ] Ref: #11907 (comment) Signed-off-by: Michi Mutsuzaki <michi@isovalent.com> Signed-off-by: André Martins <andre@cilium.io>
Generate experimental-install.yaml in which we can enable experimental/beta
features without changing default values in the Helm chart. This makes
it easier for users to play around with bleeding edge features with a
simple
kubectl apply
.Ref #11902
Signed-off-by: Michi Mutsuzaki michi@isovalent.com