ubc / aws-eks-terraform Goto Github PK
View Code? Open in Web Editor NEWA lazymans Terraform deployment of an AWS EKS cluster with Managed Hosts and Autoscaling.
A lazymans Terraform deployment of an AWS EKS cluster with Managed Hosts and Autoscaling.
Currently, only one node type can be used. Use smaller instance type for management nodes can be more cost effective.
Also why did I choose to test this in a public repo? Hello people of the interwebs.
helm_release.lb: Creating...
╷
│ Warning: "default_secret_name" is no longer applicable for Kubernetes v1.24.0 and above
│
│ with kubernetes_service_account.service-account,
│ on lb.tf line 17, in resource "kubernetes_service_account" "service-account":
│ 17: resource "kubernetes_service_account" "service-account" {
│
│ Starting from version 1.24.0 Kubernetes does not automatically generate a token for service accounts, in this case, "default_secret_name" will be empty
╵
╷
│ Error: Kubernetes cluster unreachable: Get "https://51BEE284589EB8F6C7BB833A811D79E4.gr7.us-east-1.eks.amazonaws.com/version": dial tcp: lookup 51BEE284589EB8F6C7BB833A811D79E4.gr7.us-east-1.eks.amazonaws.com on 10.0.0.138:53: no such host
│
│ with helm_release.cluster_autoscaler[0],
│ on charts.tf line 25, in resource "helm_release" "cluster_autoscaler":
│ 25: resource "helm_release" "cluster_autoscaler" {
│
╵
╷
│ Error: could not download chart: failed to download "https://github.com/kubernetes-sigs/metrics-server/releases/download/metrics-server-helm-chart-3.9.0/metrics-server-3.9.0.tgz" at version "3.9.0"
│
│ with helm_release.metrics-server[0],
│ on charts.tf line 106, in resource "helm_release" "metrics-server":
│ 106: resource "helm_release" "metrics-server" {
│
╵
╷
│ Error: Kubernetes cluster unreachable: Get "https://51BEE284589EB8F6C7BB833A811D79E4.gr7.us-east-1.eks.amazonaws.com/version": dial tcp: lookup 51BEE284589EB8F6C7BB833A811D79E4.gr7.us-east-1.eks.amazonaws.com on 10.0.0.138:53: no such host
│
│ with helm_release.container-insights[0],
│ on charts.tf line 137, in resource "helm_release" "container-insights":
│ 137: resource "helm_release" "container-insights" {
│
╵
╷
│ Error: Kubernetes cluster unreachable: Get "https://51BEE284589EB8F6C7BB833A811D79E4.gr7.us-east-1.eks.amazonaws.com/version": dial tcp: lookup 51BEE284589EB8F6C7BB833A811D79E4.gr7.us-east-1.eks.amazonaws.com on 10.0.0.138:53: no such host
│
│ with helm_release.fluent_bit_cloudwatch[0],
│ on charts.tf line 172, in resource "helm_release" "fluent_bit_cloudwatch":
│ 172: resource "helm_release" "fluent_bit_cloudwatch" {
│
╵
╷
│ Error: Kubernetes cluster unreachable: Get "https://51BEE284589EB8F6C7BB833A811D79E4.gr7.us-east-1.eks.amazonaws.com/version": dial tcp: lookup 51BEE284589EB8F6C7BB833A811D79E4.gr7.us-east-1.eks.amazonaws.com on 10.0.0.138:53: no such host
│
│ with helm_release.lb,
│ on lb.tf line 33, in resource "helm_release" "lb":
│ 33: resource "helm_release" "lb" {
│
╵
╷
│ Error: local-exec provisioner error
│
│ with null_resource.kube_config_create,
│ on main.tf line 181, in resource "null_resource" "kube_config_create":
│ 181: provisioner "local-exec" {
│
│ Error running command 'aws eks --region us-east-1 update-kubeconfig --name jupyter-open-dev && export KUBE_CONFIG_PATH=~/.kube/config && export KUBERNETES_MASTER=~/.kube/config': exit status 254. Output:
│ An error occurred (ExpiredTokenException) when calling the DescribeCluster operation: The security token included in the request is expired
│
╵
╷
│ Error: waiting for EKS Node Group (jupyter-open-dev:management-pods-dev-20230410145513233300000022) to create: RequestError: send request failed
│ caused by: Get "https://eks.us-east-1.amazonaws.com/clusters/jupyter-open-dev/node-groups/management-pods-dev-20230410145513233300000022": read tcp 10.0.0.51:55375->34.202.103.85:443: read: connection reset by peer
│
│ with module.eks.module.eks_managed_node_group["0"].aws_eks_node_group.this[0],
│ on .terraform/modules/eks/modules/eks-managed-node-group/main.tf line 272, in resource "aws_eks_node_group" "this":
│ 272: resource "aws_eks_node_group" "this" {
│
╵
╷
│ Error: waiting for EKS Node Group (jupyter-open-dev:user-pods-dev-20230410145513210400000020) to create: RequestError: send request failed
│ caused by: Get "https://eks.us-east-1.amazonaws.com/clusters/jupyter-open-dev/node-groups/user-pods-dev-20230410145513210400000020": read tcp 10.0.0.51:55375->34.202.103.85:443: read: connection reset by peer
│
│ with module.eks.module.eks_managed_node_group["1"].aws_eks_node_group.this[0],
│ on .terraform/modules/eks/modules/eks-managed-node-group/main.tf line 272, in resource "aws_eks_node_group" "this":
│ 272: resource "aws_eks_node_group" "this" {
│
╵
Testing add-to-project action
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.