Skip to content

Commit

Permalink
Merge pull request #11 from msfidelis/kubernetes1.22
Browse files Browse the repository at this point in the history
Upgrade to Kubernetes 1.22
  • Loading branch information
msfidelis authored Nov 1, 2022
2 parents 608730c + 0431c70 commit 30f970c
Show file tree
Hide file tree
Showing 8 changed files with 119 additions and 48 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
terraform.tf*
.terraform.tf*
.terraform
.terraform*
.terraform.lock*
8 changes: 8 additions & 0 deletions .terraform-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# see: https://terraform-docs.io/user-guide/configuration/formatter
formatter: markdown table

# see: https://terraform-docs.io/user-guide/configuration/header-from
header-from: docs/header.md

# see: https://terraform-docs.io/user-guide/configuration/footer-from
footer-from: docs/footer.md
60 changes: 20 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,75 +1,57 @@
<h1 align="center">Welcome to EKS with Istio Setup with Terraform 👋</h1>
<p>
<img alt="Version" src="https://img.shields.io/badge/version-v0.0.1-blue.svg?cacheSeconds=2592000" />
<a href="/" target="_blank">
<a href="/" target="\_blank">
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
</a>
<a href="/LICENSE " target="_blank">
<a href="/LICENSE " target="\_blank">
<img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
</a>
<a href="https://twitter.com/fidelissauro" target="_blank">
<a href="https://twitter.com/fidelissauro" target="\_blank">
<img alt="Twitter: fidelissauro" src="https://img.shields.io/twitter/follow/fidelissauro.svg?style=social" />
</a>
</p>

## Terraform Versions Compatibility
<p>
<a href="/" target="_blank">
<a href="/" target="\_blank">
<img alt="Terraform 0.13" src="https://github.com/msfidelis/eks-with-istio/workflows/Terraform%200.13.*/badge.svg" />
</a>
<a href="/" target="_blank">
<a href="/" target="\_blank">
<img alt="Terraform 0.14" src="https://github.com/msfidelis/eks-with-istio/workflows/Terraform%200.14.*/badge.svg" />
</a>
<a href="/" target="_blank">
</a>
<a href="/" target="\_blank">
<img alt="Terraform 0.15" src="https://github.com/msfidelis/eks-with-istio/workflows/Terraform%200.15.*/badge.svg" />
</a>
<a href="/" target="_blank">
<a href="/" target="\_blank">
<img alt="Terraform 1.0.0" src="https://github.com/msfidelis/eks-with-istio/workflows/Terraform%201.0.*/badge.svg" />
</a>
<a href="/" target="_blank">
</a>
<a href="/" target="\_blank">
<img alt="Terraform 1.1.0" src="https://github.com/msfidelis/eks-with-istio/workflows/Terraform%201.1.*/badge.svg" />
</a>
</p>


### 🏠 [Architecture / Topology](/)

![topology](/samples/img/Architecture.png)

# Components / Stack

| Provider | Version |
|---------------------|---------|
| Terraform | 0.12+ |
| Istio Base | 1.11.0 |
| Istio Ingress | 1.11.0 |
| Istio Egress | 1.11.0 |
| Istio Discovery | 1.11.0 |
| Cluster Autoscaler | v1.21.0 |
| Chaos Mesh | |
| Descheduler | |
| Kube State Metrics | |
| Metrics Server (HPA)| |
| Prometheus Stack | |

<!-- BEGIN_TF_DOCS -->
## Requirements

| Name | Version |
|------|---------|
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 4.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 3.0 |
| <a name="requirement_helm"></a> [helm](#requirement\_helm) | ~> 2.0 |
| <a name="requirement_kubernetes"></a> [kubernetes](#requirement\_kubernetes) | ~> 2.0 |
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | ~> 2.0 |
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | ~> 3.1.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.10.0 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.5.1 |
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 2.10.0 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | 2.2.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 3.54.0 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.2.0 |
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 2.4.1 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | 3.1.0 |

## Modules

Expand Down Expand Up @@ -181,7 +163,7 @@ No modules.
| <a name="input_default_tags"></a> [default\_tags](#input\_default\_tags) | n/a | `map` | <pre>{<br> "Environment": "prod",<br> "Foo": "Bar",<br> "Ping": "Pong"<br>}</pre> | no |
| <a name="input_enable_cross_zone_load_balancing"></a> [enable\_cross\_zone\_load\_balancing](#input\_enable\_cross\_zone\_load\_balancing) | n/a | `bool` | `true` | no |
| <a name="input_grafana_kiali_virtual_service_host"></a> [grafana\_kiali\_virtual\_service\_host](#input\_grafana\_kiali\_virtual\_service\_host) | n/a | `string` | `"grafana.kiali.k8s.raj.ninja"` | no |
| <a name="input_k8s_version"></a> [k8s\_version](#input\_k8s\_version) | n/a | `string` | `"1.20"` | no |
| <a name="input_k8s_version"></a> [k8s\_version](#input\_k8s\_version) | n/a | `string` | `"1.22"` | no |
| <a name="input_kiali_virtual_service_host"></a> [kiali\_virtual\_service\_host](#input\_kiali\_virtual\_service\_host) | n/a | `string` | `"kiali.k8s.raj.ninja"` | no |
| <a name="input_nlb_ingress_enable_termination_protection"></a> [nlb\_ingress\_enable\_termination\_protection](#input\_nlb\_ingress\_enable\_termination\_protection) | n/a | `bool` | `false` | no |
| <a name="input_nlb_ingress_internal"></a> [nlb\_ingress\_internal](#input\_nlb\_ingress\_internal) | n/a | `bool` | `false` | no |
Expand All @@ -195,8 +177,6 @@ No modules.
|------|-------------|
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | n/a |
| <a name="output_istio_ingress_vpclink"></a> [istio\_ingress\_vpclink](#output\_istio\_ingress\_vpclink) | n/a |
<!-- END_TF_DOCS -->


### [Demo](/)

Expand All @@ -209,7 +189,7 @@ terraform apply
## Usage

```sh
terraform apply
terraform apply
```

## Run tests
Expand All @@ -229,7 +209,7 @@ terraform plan

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](/issues).
Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](/issues).

## Show your support

Expand All @@ -241,4 +221,4 @@ Copyright © 2021 [Matheus Fidelis](https://github.com/msfidelis).<br />
This project is [MIT](/LICENSE ) licensed.

***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
\_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)\_
8 changes: 4 additions & 4 deletions addons.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "aws_eks_addon" "cni" {
cluster_name = aws_eks_cluster.eks_cluster.name
addon_name = "vpc-cni"

addon_version = "v1.9.0-eksbuild.1"
addon_version = "v1.11.4-eksbuild.1"
resolve_conflicts = "OVERWRITE"

depends_on = [
Expand All @@ -15,7 +15,7 @@ resource "aws_eks_addon" "coredns" {
cluster_name = aws_eks_cluster.eks_cluster.name
addon_name = "coredns"

addon_version = "v1.8.3-eksbuild.1"
addon_version = "v1.8.7-eksbuild.1"
resolve_conflicts = "OVERWRITE"

depends_on = [
Expand All @@ -28,7 +28,7 @@ resource "aws_eks_addon" "kubeproxy" {
cluster_name = aws_eks_cluster.eks_cluster.name
addon_name = "kube-proxy"

addon_version = "v1.20.4-eksbuild.2"
addon_version = "v1.22.11-eksbuild.2"
resolve_conflicts = "OVERWRITE"

depends_on = [
Expand All @@ -40,7 +40,7 @@ resource "aws_eks_addon" "csi_driver" {
cluster_name = aws_eks_cluster.eks_cluster.name
addon_name = "aws-ebs-csi-driver"

addon_version = "v1.4.0-eksbuild.preview"
addon_version = "v1.11.4-eksbuild.1"
resolve_conflicts = "OVERWRITE"

depends_on = [
Expand Down
45 changes: 45 additions & 0 deletions docs/footer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@

### [Demo](/)

## Install

```sh
terraform apply
```

## Usage

```sh
terraform apply
```

## Run tests

```sh
terraform plan
```

## Author

👤 **Matheus Fidelis**

* Website: https://raj.ninja
* Twitter: [@fidelissauro](https://twitter.com/fidelissauro)
* Github: [@msfidelis](https://github.com/msfidelis)
* LinkedIn: [@msfidelis](https://linkedin.com/in/msfidelis)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](/issues).

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

Copyright © 2021 [Matheus Fidelis](https://github.com/msfidelis).<br />
This project is [MIT](/LICENSE ) licensed.

***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
37 changes: 37 additions & 0 deletions docs/header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<h1 align="center">Welcome to EKS with Istio Setup with Terraform 👋</h1>
<p>
<img alt="Version" src="https://img.shields.io/badge/version-v0.0.1-blue.svg?cacheSeconds=2592000" />
<a href="/" target="_blank">
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
</a>
<a href="/LICENSE " target="_blank">
<img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
</a>
<a href="https://twitter.com/fidelissauro" target="_blank">
<img alt="Twitter: fidelissauro" src="https://img.shields.io/twitter/follow/fidelissauro.svg?style=social" />
</a>
</p>

## Terraform Versions Compatibility
<p>
<a href="/" target="_blank">
<img alt="Terraform 0.13" src="https://github.com/msfidelis/eks-with-istio/workflows/Terraform%200.13.*/badge.svg" />
</a>
<a href="/" target="_blank">
<img alt="Terraform 0.14" src="https://github.com/msfidelis/eks-with-istio/workflows/Terraform%200.14.*/badge.svg" />
</a>
<a href="/" target="_blank">
<img alt="Terraform 0.15" src="https://github.com/msfidelis/eks-with-istio/workflows/Terraform%200.15.*/badge.svg" />
</a>
<a href="/" target="_blank">
<img alt="Terraform 1.0.0" src="https://github.com/msfidelis/eks-with-istio/workflows/Terraform%201.0.*/badge.svg" />
</a>
<a href="/" target="_blank">
<img alt="Terraform 1.1.0" src="https://github.com/msfidelis/eks-with-istio/workflows/Terraform%201.1.*/badge.svg" />
</a>
</p>


### 🏠 [Architecture / Topology](/)

![topology](/samples/img/Architecture.png)
4 changes: 2 additions & 2 deletions provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "aws"
version = "~> 4.0"
version = "~> 3.0"
}
helm = {
source = "helm"
Expand All @@ -14,7 +14,7 @@ terraform {
}
tls = {
source = "tls"
version = "~> 2.0"
version = "~> 3.1.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ variable "aws_region" {
}

variable "k8s_version" {
default = "1.20"
default = "1.22"
}

variable "nodes_instances_sizes" {
Expand Down

0 comments on commit 30f970c

Please sign in to comment.