Skip to content
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

aks cluster creation and helm added #12 #13

Merged
merged 1 commit into from
Apr 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions 03-resources/02-aks/.kube/azure_config
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV5akNDQXJLZ0F3SUJBZ0lSQU9ZdlFyNytMSTVmT0xzbURhNDVQaTR3RFFZSktvWklodmNOQVFFTEJRQXcKRFRFTE1Ba0dBMVVFQXhNQ1kyRXdJQmNOTWpBd05ERTJNakUxTmpBeVdoZ1BNakExTURBME1UWXlNakEyTURKYQpNQTB4Q3pBSkJnTlZCQU1UQW1OaE1JSUNJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBZzhBTUlJQ0NnS0NBZ0VBCjIxMG0xaDk1QW9oTlFBK1ZjbmNySDdlM0hIcWxFK1QyQlM3ZkZlNE5RbU8yMGR1T2NoRGhKUCtxbDlPYWw2QVIKZTl0UnlVMitLQkFpWlZUMndwZXQ2L2ZtYjE4SVpWcUNxWDBEb0F3NFd3a09ENUtlWDRzQW5jOTBEU1E4Y1N4dQpldzl5WXdrREVScXpXN0NUSnBVZFVoczFVTkI2UjJUNnRtdG55MDlRK0loNVBjVzNJbzF5L3dWZWpXeHhDc002CnoyWXpZcnBnOG5sTk90eDA5bTJuSWthL0lZME5iREF0d2tNRGdram1PSG44bkQ3UVVucmgvellwbXlIM3dNVDYKdncyaVMvMVR4SFYvOHY3TVpNbk42V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OG5KY0pFeit2UTdLNy9PcVpDenZQY0gvVDQxdQpUcmEwOWk5S2p6LzFpdWZjUFk5ZVE3eURnUTZ2NUhheUZnVFBtQ2FtNDMvTG1wZGVoWmIwR1hlNVFuN1ZMQWV6CjJNUktBU3BFSHJqdSthRGVnRVkzd013VEtOdlZGYm92L01zekpNakx0WllJckJyajJlai9qSmkwa3lWZi82USsKa2VnRGp6a2xwZ0UybUZ4ZUg0MUYydExGNVh4dVRCS2FsM1hNL1l6NFRKZzE0Ylo0Y1JRR2NiS3dnUDNrVTBtegp2ZGt1SUtncVdidHBRaitOUkprUWIvVWFETUN3SDBZNXRQV1RTQ2duZzNMNThqWkN2cTlFbXN0YXNhZW15MEQ5CjByc1crR21tMitoSHNjb1lMMHo0VWJJRU1jVDJ6Y1UvQ3ZxL1poVGtwV2VCcXlaNm55czdSYm8yMzZLdmlTeDUKVGlNL3VCWmxiSUlqNGF2NytlNmRsK1lIZE1kZnBCQ0phSWhGOFlhVgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
server: https://exampleaks1-1b185049.hcp.westeurope.azmk8s.io:443
name: example-aks1
contexts:
- context:
cluster: example-aks1
user: clusterUser_example-resources_example-aks1
name: example-aks1
current-context: example-aks1
kind: Config
preferences: {}
users:
- name: clusterUser_example-resources_example-aks1
user:
client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUUvVENDQXVXZ0F3SUJBZ0lSQUo4T2JuTlBvSEkvOXdaMm5tc1BMbjR3RFFZSktvWklodmNOQVFFTEJRQXcKRFRFTE1Ba0dBMVVFQXhNQ1kyRXdIaGNOTWpBd05ERTJNakUxTmpBeVdoY05Nakl3TkRFMk1qSXdOakF5V2pBdwpNUmN3RlFZRFZRUUtFdzV6ZVhOMFpXMDZiV0Z6ZEdWeWN6RVZNQk1HQTFVRUF4TU1iV0Z6ZEdWeVkyeHBaVzUwCk1JSUNJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBZzh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dEV5OE1PRTB2anY5ZWo1TUpSU2UKLS0tLS1FTkQgUlNBIFBSSVZBVEUgS0VZLS0tLS0K
token: 21be4decd979eac171a6732c5e9e593210c061cc634287a42a46a3215d028ff98c24e1357524c0f37a2f6d9d0db8c8dab90069aa52836f65e1e86bac582b56a8

123 changes: 123 additions & 0 deletions 03-resources/02-aks/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
From the previosu exercise we created resource group name example-resources </p>
We should import into our terraform state to create aks cluster
```bash
tf plan
```

```
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.


------------------------------------------------------------------------

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create

Terraform will perform the following actions:

# azurerm_kubernetes_cluster.example will be created
+ resource "azurerm_kubernetes_cluster" "example" {
+ dns_prefix = "exampleaks1"
+ fqdn = (known after apply)
+ id = (known after apply)
+ kube_admin_config = (known after apply)
+ kube_admin_config_raw = (sensitive value)
+ kube_config = (known after apply)
+ kube_config_raw = (sensitive value)
+ kubelet_identity = (known after apply)
+ kubernetes_version = (known after apply)
+ location = "westeurope"
+ name = "example-aks1"
+ node_resource_group = (known after apply)
+ private_fqdn = (known after apply)
+ resource_group_name = "example-resources"
+ tags = {
+ "Environment" = "Production"
}

+ addon_profile {

+ kube_dashboard {
+ enabled = false
}
}

+ default_node_pool {
+ max_pods = (known after apply)
+ name = "default"
+ node_count = 1
+ os_disk_size_gb = (known after apply)
+ type = "VirtualMachineScaleSets"
+ vm_size = "Standard_D2_v2"
}

+ identity {
+ principal_id = (known after apply)
+ tenant_id = (known after apply)
+ type = "SystemAssigned"
}

+ network_profile {
+ dns_service_ip = (known after apply)
+ docker_bridge_cidr = (known after apply)
+ load_balancer_sku = (known after apply)
+ network_plugin = (known after apply)
+ network_policy = (known after apply)
+ outbound_type = (known after apply)
+ pod_cidr = (known after apply)
+ service_cidr = (known after apply)

+ load_balancer_profile {
+ effective_outbound_ips = (known after apply)
+ managed_outbound_ip_count = (known after apply)
+ outbound_ip_address_ids = (known after apply)
+ outbound_ip_prefix_ids = (known after apply)
}
}

+ role_based_access_control {
+ enabled = (known after apply)

+ azure_active_directory {
+ client_app_id = (known after apply)
+ server_app_id = (known after apply)
+ server_app_secret = (sensitive value)
+ tenant_id = (known after apply)
}
}

+ windows_profile {
+ admin_password = (sensitive value)
+ admin_username = (known after apply)
}
}

# azurerm_resource_group.example will be created
+ resource "azurerm_resource_group" "example" {
+ id = (known after apply)
+ location = "westeurope"
+ name = "example-resources"
}

Plan: 2 to add, 0 to change, 0 to destroy.
```

```bash
az group show --name example-resources --query id -o table
tf import azurerm_resource_group.example /subscriptions/<SUBSID_REPLACE>/resourceGroups/example-resources
```

```bash
tf plan -out tfplan.out
tf apply tfplan.out
```



```bash
tf destroy
az group list --output table | grep pamir
```
Loading