-
Notifications
You must be signed in to change notification settings - Fork 49
examples: make Flatcar channels explicit #565
Conversation
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.
Thanks @alban for the patch.
@@ -101,7 +101,7 @@ cluster "aws" { | |||
|
|||
region = var.region | |||
|
|||
enable_aggreation = true | |||
enable_aggregation = true |
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.
Looks like this code snippet was never tested 😬
0f41ecf
to
ecf1013
Compare
@@ -57,6 +57,10 @@ cluster "packet" { | |||
cluster_name = var.cluster_name | |||
controller_count = var.controllers_count | |||
|
|||
//os_channel = "stable" | |||
//os_version = "current" |
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.
I think os_version
doesn't work on Packet. We used preinstalled Flatcar images on amd64, so we can't choose the version, we just run "whatever the preinstalled version is".
On ARM we use IPXE, IIRC, and we can choose that, though
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.
I think for Packet, we could just set commented out os_channel
value then.
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.
I can changed os_version
to "" since that's the only value accepted without ipxe_script_url
. It is commented.
ecf1013
to
c94727f
Compare
Updated. |
If Flatcar channels are not explicit, it is difficult for the user to find out how to change them. It also makes it less likely to forget to change it in the worker pool section.
c94727f
to
215889d
Compare
If Flatcar channels are not explicit, it is difficult for the user to find out how to change them. It also makes it less likely to forget to change it in the worker pool section.
Also fix a typo in the configuration.