Conversation
059ac6b to
1cd889b
Compare
assets/terraform-modules/packet/flatcar-linux/kubernetes/bootkube.tf
Outdated
Show resolved
Hide resolved
906894d to
4a7eb43
Compare
a8573fa to
c061070
Compare
assets/terraform-modules/packet/flatcar-linux/kubernetes/bootkube.tf
Outdated
Show resolved
Hide resolved
c061070 to
0049640
Compare
assets/terraform-modules/packet/flatcar-linux/kubernetes/variables.tf
Outdated
Show resolved
Hide resolved
assets/terraform-modules/packet/flatcar-linux/kubernetes/controllers.tf
Outdated
Show resolved
Hide resolved
assets/terraform-modules/packet/flatcar-linux/kubernetes/workers/variables.tf
Outdated
Show resolved
Hide resolved
assets/terraform-modules/packet/flatcar-linux/kubernetes/workers/cl/worker.yaml.tmpl
Outdated
Show resolved
Hide resolved
assets/terraform-modules/packet/flatcar-linux/kubernetes/cl/controller.yaml.tmpl
Outdated
Show resolved
Hide resolved
assets/charts/control-plane/packet-ccm/templates/deployment.yaml
Outdated
Show resolved
Hide resolved
0049640 to
a8ac0c2
Compare
a8ac0c2 to
37c9299
Compare
invidian
left a comment
There was a problem hiding this comment.
Just some nits for the most recent changes. Do keep in mind that previous review comments which has not been resolved are still relevant.
assets/terraform-modules/packet/flatcar-linux/kubernetes/cl/controller.yaml.tmpl
Show resolved
Hide resolved
9b662f4 to
8ff429b
Compare
8ff429b to
e8969e9
Compare
|
Latest Update: CCM works fine. It is currently deployed as a Deployment and run via bootstrapping. CCM uses We are not deploying upstream We should wait for their latest release, which will address all the bugs. We have also opened an issue upstream for creating an managing Helm chart for CCM. Previous review comments all are almost addressed. Would recommend for reviews again. |
|
I'll pick it up and continue working on it. |
b6c6797 to
c17e8d7
Compare
d679af6 to
7fe4480
Compare
3f58bef to
0306aa7
Compare
0306aa7 to
496032d
Compare
|
This needs a rebase. |
1cee197 to
c7022ef
Compare
assets/charts/control-plane/packet-ccm/templates/deployment.yaml
Outdated
Show resolved
Hide resolved
assets/charts/control-plane/packet-ccm/templates/deployment.yaml
Outdated
Show resolved
Hide resolved
assets/terraform-modules/packet/flatcar-linux/kubernetes/workers/cl/worker.yaml.tmpl
Show resolved
Hide resolved
Running CCM on Packet requires passing Packet API key to the deployment, which is currently done trough Terraform, so we can no longer just let Packet Terraform provider read this environment variable for it's operation, but we must pass it to Terraform module. This commit ensures, that if user did not configure auth token, value from environment variable will be still written into Terraform code and passed to the controller module. Signed-off-by: knrt10 <kautilya@kinvolk.io>
Using CCM on Kubernetes requires --cloud-provider to be set to "external". This commit enables this customization. Default value remains empty string, so no flag will be set for compatibility with other platforms. Refs #548 Signed-off-by: knrt10 <kautilya@kinvolk.io>
c7022ef to
67d5710
Compare
This commit add packet-ccm Helm chart based on manifests from https://github.com/packethost/packet-ccm/tree/master/deploy/template, but with Lokomotive-specific modifications like using image with BGP Node Selector support, enabled leader election for HA, removed unnecessary RBAC grants etc. This chart will be used to enable CCM on Packet platform. Refs #548 Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
This label will be used by Packet CCM to select which nodes should have BGP session created. Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
There is no need to manually label the nodes now for tests, as Lokomotive on Packet ships those labels automatically for all worker nodes. Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
So we don't hit a regression when we move the responsibility of enabling BGP for nodes from Terraform to Packet CCM. Refs #548 Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
Which are set by Packet CCM right now. Refs #548 Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
This commit enables CCM for Packet platform to allow dropping hacky way of labeling Node objects on Packet via Ignition script for MetalLB autodiscovery to work, which we are doing right now. Closes #548 Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
67d5710 to
02b1ef6
Compare
See commits for more information
Closes #548
Closes #1126
Signed-off-by: knrt10 kautilya@kinvolk.io