-
Notifications
You must be signed in to change notification settings - Fork 977
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
Separating GKE Standard and Autopilot Modules #1330
Conversation
…ion-fabric into avinashjha/gke-autopilot
Hey @avinashkumar1289, it's not a naming convention issue. You're actually removing a module that is a dependency elsewhere in the repo. The tests are failing because they depend on that module. This is exactly what should happen. The PR should update those other parts of the codebase and ensure all the references to the existing module are updated and work as expected. The failing tests should actually help you figure out what is broken by the changes you're introducing. If you want we can show you how to go about fixing some of those failures. |
Thanks @juliocc .Yeah i had a sync with ludo. I am going to replace all the dependencies from gke-cluster to gke-standard-cluster. |
…ion-fabric into avinashjha/gke-autopilot
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.
Super job thanks a lot for tackling this! Can you remove the commented code in the autpilot mode before merging?
@ludoo Thanks .Pushed the changes !! I will go ahead and merge the code. |
It's good to go for me, let's wait this morning so Julio can also give it a look, then you should be able to merge (do you see the green "Squash and merge" button?) |
* separating GKE Standard and Autopilot Modules * Changes for Updating the terraform and provide versions * Changes for Autopilot Readme * Changes for Autopilot Variable * Changes for Autopilot Readme * Changes for Autopilot Readme * Changes for Blueprint * Changes for Blueprint ReadMe * Changes for gke-standard-cluster dependency * Changes for gke-standard-cluster in gke-fleet * Changes for gke-standard-cluster in cluster-mesh-gke-fleet-api * python formatting * python formatting * python formatting * GKE module naming convention * Readme Changes * test module * Removing comment code from Autopilot
Hi, What is the reason why var.monitoring_config was removed from the autopilot version? Is it not supported in GKE? |
@intotecho monitoring config is enabled by default in GKE Autopilot and cannot be disabled. Hence we have removed the configuration. |
Thanks, makes sense. Are all the components enabled, like SYSTEM_COMPONENTS, APISERVER, CONTROLLER_MANAGER, and SCHEDULER? |
Thanks for the link! The new modules are very clean and a good improvement.
Note that deleting the old module instead of deprecating it forces users to
upgrade to either autopilot or standard when they upgrade the cloud
foundation fabric version.
…On Tue, 23 May 2023, 5:03 pm Julio Castillo, ***@***.***> wrote:
These are the details:
https://cloud.google.com/kubernetes-engine/docs/resources/autopilot-standard-feature-comparison#:~:text=Logging%20and%20monitoring
—
Reply to this email directly, view it on GitHub
<#1330 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFBBWAETIBXNE5XVWANPMLXHR4PPANCNFSM6AAAAAAXA7FZOM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
I am having trouble getting the gke autopilot cluster into BALANCED mode. Although the provider says BALANCED is the default. The console is reporting something else.
I tried adding autoscaling_profile = "BALANCED" in modules/gke-cluster-autopilot/main.tf I am not sure if this is user error, an issue with the google beta provider version "4.60" or the way it is called. |
@intotecho I can confirm your findings. As far as I can tell, there are two bugs lurking here:
So as temporary workaround, after modifying
(your module address may differ) |
@intotecho Sorry, my bad. For autopilot clusters you can't modify this value. |
Ok, thanks for looking into it.
Regards Chris
…On Tue, 13 June 2023, 6:41 am Wiktor Niesiobędzki, ***@***.***> wrote:
@intotecho <https://github.com/intotecho> Sorry, my bad. For autopilot
clusters you can't modify this value.
—
Reply to this email directly, view it on GitHub
<#1330 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFBBWHP4VTPQYMVV6FK7SDXLB32NANCNFSM6AAAAAAXA7FZOM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
This Pull request contains changes for separating GKE autopilot and Standard Modules.
I have commented out changes in the autopilot module, so it becomes easy to find what blocks I have removed before merging.