Skip to content

Conversation

@vishnukv-facets
Copy link
Contributor

Description

Related issues

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I have created feat/bugfix branch out of develop branch
  • Code passes linting/formatting checks
  • Changes to resources have been tested in our dev environments
  • I have made corresponding changes to the documentation

Testing

Reviewer instructions

@vishnukv-facets vishnukv-facets force-pushed the eks_auto branch 3 times, most recently from 00d2ea9 to 92dbe03 Compare April 30, 2025 12:17
…y removing the merge function and directly defining parameters.
… and updating main.tf to include it in module inputs. This improves network configuration flexibility.
…merations for log types and reclaim policies, and implement visibility conditions for dedicated and default node pool settings. This improves user experience and flexibility in cluster management.
…e configuration options and focus on essential settings for cluster logging.
… introduce max_size_cpu and max_size_memory parameters, replacing previous desired_size, min_size, and max_size fields. Add dedicated and default node pool definitions in locals.tf and update main.tf to include modules for both node pools, enhancing cluster management and resource allocation.
…rsion' in the spec, enhancing the clarity of required fields for configuration. Additionally, add 'kubernetes_version' to the required fields under the node pool specifications for improved validation.
…treamlining the module setup and improving clarity.
…new modules for improved organization and clarity. Add comprehensive configurations for managed and self-managed node groups, Fargate profiles, and IAM roles, enhancing flexibility and usability. Update user data templates for various operating systems to streamline node initialization.
…oup sizing parameters with max_size_cpu and max_size_memory. Update validation logic for improved clarity and consistency in configuration.
…s. Update EKS module to use local path for KMS module, removing version attribute for compatibility.
…ools in main.tf to ensure proper resource initialization.
…pdating provider authentication references to use k8s_details for improved clarity and reliability.
…luster data sources and provider configurations for improved authentication and resource management.
… k8s_cluster main.tf for improved clarity and maintainability.
… and namespace handling in locals.tf for improved resource management and flexibility.
…ved clarity and flexibility; remove deprecated instance variable structure and add new variable definitions for better configuration management.
…id for improved consistency and accuracy in resource identification; remove unnecessary whitespace in main.tf.
…to k8s_details for improved consistency and clarity in outputs.tf and facets.yaml.
…minate the explicit provider declaration for improved clarity and maintainability.
…tputs in k8s_cluster outputs.tf for improved EKS module management and clarity.
…aml and updating legacy_outputs in outputs.tf to reference the correct IAM role and security group for improved resource management and clarity.
…and adding secret copier configuration, while enhancing legacy_outputs in outputs.tf for improved resource management and clarity.
…ule in secrets.tf for improved resource allocation and management.
… initializing output_interfaces in outputs.tf for improved clarity and maintainability.
… dedicated and default node pools, ensuring accurate resource configuration based on node pool settings.
@pramodh-ayyappan
Copy link
Collaborator

Check if EFS driver is supported in Auto Mode, and also check if there are any other controllers missing

@@ -0,0 +1,319 @@
intent: kubernetes_cluster
flavor: aws_eks
Copy link
Collaborator

@pramodh-ayyappan pramodh-ayyappan May 23, 2025

Choose a reason for hiding this comment

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

@rr0hit Can we have new flavor for this since users might be allowed to update to new version in the UI will become a problem if we release it as a new version instead of a new flavor


module "eks" {
source = "./aws-terraform-eks"
cluster_name = "${substr(var.cluster.name, 0, 38 - 11 - 12)}-${var.cluster.clusterCode}-k8s-cluster"
Copy link
Collaborator

Choose a reason for hiding this comment

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

alias-flavors: [ "default" ]
version: "0.3"
metadata:
name: "eks-cluster"
Copy link
Collaborator

Choose a reason for hiding this comment

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

spec is missing

x-ui-visible-if:
field: spec.cluster.kms_keys.enable_rotation
values: [true]
required:
Copy link
Collaborator

Choose a reason for hiding this comment

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

indentation for required block should be one level back, since required is for cluster properties not for kms property

})
}

variable "cluster" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove this var

default = {}
}

variable "cc_metadata" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove this var

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.

3 participants