Skip to content

Commit

Permalink
update the default os image
Browse files Browse the repository at this point in the history
  • Loading branch information
balchua committed Mar 27, 2021
1 parent 3ce4dc2 commit baf2aa2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 85 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module "microk8s" {
| ----------------------------- |:-----------------------------------------| -------------- |
| source | The source of the terraform module | none
| node_count | The number of MicroK8s nodes to create | 3
| os_image | DigitalOcean OS images. <br/>To get the list OS images `doctl compute image list-distribution`| ubuntu-18-04-x64
| os_image | DigitalOcean OS images. <br/>To get the list OS images `doctl compute image list-distribution`| ubuntu-20-04-x64
| node_size | DigitalOcean droptlet sizes <br/> To get the list of droplet sizes `doctl compute size list`| s-4vcpu-8gb
| node_disksize | Additional volume to add to the droplet. Size in GB| 100 |
| region | DigitalOcean region <br/> To get the list of regions `doctl compute region list`| sgp1
Expand Down
41 changes: 0 additions & 41 deletions templates/master.yaml.tmpl

This file was deleted.

41 changes: 0 additions & 41 deletions templates/worker.yaml.tmpl

This file was deleted.

4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ variable "dns_zone" {

variable "os_image" {
type = string
default = "ubuntu-18-04-x64"
default = "ubuntu-20-04-x64"
description = "The operating system slug name in Digitalocean."
}

Expand All @@ -44,7 +44,7 @@ variable "region" {
variable "node_disksize" {
type = string
default = "100"
description = "The size of the controller storage."
description = "The size of the node extra disk storage."
}

variable "node_size" {
Expand Down

0 comments on commit baf2aa2

Please sign in to comment.