-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from FlexibleEngineCloud/osa_extendparam
Osa extendparam
- Loading branch information
Showing
9 changed files
with
88 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# CCE Cluster in HA mode with Multi AZs MAsters | ||
|
||
|
||
# Usage | ||
|
||
Fill the parameters in the main.tf and provider.tf files, and run the Terraform commands: | ||
|
||
```bash | ||
$ terraform init | ||
$ terraform plan | ||
$ terraform apply | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
module "cce2_cluster" { | ||
source = "FlexibleEngineCloud/cce/flexibleengine" | ||
version = "2.3.1" | ||
|
||
cluster_name = "cluster-test" | ||
cluster_desc = " Cluster for testing purpose" | ||
|
||
cluster_flavor = "cce.s2.small" | ||
vpc_id = "<VPC_ID>" | ||
network_id = "<NETWORK_ID>" //Caution here, you have to use NETWORK_ID even if argument is "subnet_id". Will be fixed soon | ||
cluster_version = "v1.15.6-r1" | ||
extend_param = { | ||
clusterAZ = "multi_az" | ||
} | ||
|
||
|
||
node_os = "CentOS 7.5" // Can be "EulerOS 2.5" or "CentOS 7.5" | ||
key_pair = "<SSH_KEY_NAME>" | ||
|
||
nodes_list = [ | ||
{ | ||
node_index = "node0" | ||
node_name = "cce-node1" | ||
node_flavor = "s3.large.2" | ||
availability_zone = "eu-west-0a" | ||
root_volume_type = "SATA" | ||
root_volume_size = 40 | ||
data_volume_type = "SATA" | ||
data_volume_size = 100 | ||
node_labels = {} | ||
vm_tags = {} | ||
postinstall_script = null | ||
preinstall_script = null | ||
taints = [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
provider "flexibleengine" { | ||
auth_url = "https://iam.eu-west-0.prod-cloud-ocb.orange-business.com/v3" | ||
region = "eu-west-0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
terraform { | ||
required_providers { | ||
flexibleengine = { | ||
source = "FlexibleEngineCloud/flexibleengine" | ||
} | ||
} | ||
required_version = ">= 0.13" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# CCE Cluster with Post Install Script provide to a Node | ||
|
||
# Usage | ||
|
||
Fill the parameters in the main.tf and provider.tf files, and run the Terraform commands: | ||
|
||
```bash | ||
$ terraform init | ||
$ terraform plan | ||
$ terraform apply | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters