forked from vmware/terraform-provider-vcd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dainius Serplis <[email protected]>
- Loading branch information
Showing
14 changed files
with
213 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* Add support of CSE 4.2.2 and 4.2.3 versions by improving `vcd_cse_kubernetes cluster` and updating | ||
the installation guide and examples [GH-1357] |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v3.14.0 | ||
v3.14.1 |
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
61 changes: 61 additions & 0 deletions
61
examples/container-service-extension/v4.2/install/step1/terraform.tfvars.example.4.2.2
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,61 @@ | ||
# Change configuration to your needs and rename to 'terraform.tfvars' | ||
# For more details about the variables specified here, please read the guide first: | ||
# https://registry.terraform.io/providers/vmware/vcd/latest/docs/guides/container_service_extension_4_x_install | ||
|
||
# ------------------------------------------------ | ||
# VCD Provider config | ||
# ------------------------------------------------ | ||
|
||
vcd_url = "https://vcd.my-awesome-corp.com" | ||
administrator_user = "administrator" | ||
administrator_password = "change-me" | ||
administrator_org = "System" | ||
insecure_login = "false" | ||
|
||
# ------------------------------------------------ | ||
# CSE Server Pre-requisites | ||
# ------------------------------------------------ | ||
|
||
# This user will be created by the Terraform configuration, so you can | ||
# customise what its username and password will be. | ||
# This user will have an API token that must be consumed by the CSE Server. | ||
cse_admin_username = "cse_admin" | ||
cse_admin_password = "change-me" | ||
|
||
# ------------------------------------------------ | ||
# CSE Server Settings | ||
# ------------------------------------------------ | ||
|
||
# These are required to create the Runtime Defined Entity that will contain the CSE Server configuration (vcdKeConfig) | ||
# To know more about the specific versions, please refer to the CSE documentation. | ||
# The values set here correspond to CSE 4.2.2: | ||
vcdkeconfig_template_filepath = "../../entities/vcdkeconfig.json.template" | ||
capvcd_version = "1.3.0" # 4.2.2 | ||
cpi_version = "1.6.0" # 4.2.2 | ||
csi_version = "1.6.0" # 4.2.2 | ||
rde_projector_version = "0.7.1" # 4.2.2 | ||
|
||
# Optional but recommended to avoid rate limiting when configuring the TKGm clusters. | ||
# Create this one in https://github.com/settings/tokens | ||
github_personal_access_token = "" | ||
|
||
# Node will be considered unhealthy and remediated if joining the cluster takes longer than this timeout (seconds) | ||
node_startup_timeout = "900" | ||
# A newly joined node will be considered unhealthy and remediated if it cannot host workloads for longer than this timeout (seconds) | ||
node_not_ready_timeout = "300" | ||
# A healthy node will be considered unhealthy and remediated if it is unreachable for longer than this timeout (seconds) | ||
node_unknown_timeout = "300" | ||
# Remediation will be suspended when the number of unhealthy nodes exceeds this percentage. | ||
# (100% means that unhealthy nodes will always be remediated, while 0% means that unhealthy nodes will never be remediated) | ||
max_unhealthy_node_percentage = 100 | ||
|
||
# URL from where TKG clusters will fetch container images | ||
container_registry_url = "projects.registry.vmware.com" | ||
|
||
# Certificate(s) to allow the ephemeral VM (created during cluster creation) to authenticate with. | ||
# For example, when pulling images from a container registry. (Copy and paste .cert file contents) | ||
k8s_cluster_certificates = [] | ||
|
||
# Certificate(s) to allow clusters to authenticate with. | ||
# For example, when pulling images from a container registry. (Copy and paste .cert file contents) | ||
bootstrap_vm_certificates = [] |
61 changes: 61 additions & 0 deletions
61
examples/container-service-extension/v4.2/install/step1/terraform.tfvars.example.4.2.3
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,61 @@ | ||
# Change configuration to your needs and rename to 'terraform.tfvars' | ||
# For more details about the variables specified here, please read the guide first: | ||
# https://registry.terraform.io/providers/vmware/vcd/latest/docs/guides/container_service_extension_4_x_install | ||
|
||
# ------------------------------------------------ | ||
# VCD Provider config | ||
# ------------------------------------------------ | ||
|
||
vcd_url = "https://vcd.my-awesome-corp.com" | ||
administrator_user = "administrator" | ||
administrator_password = "change-me" | ||
administrator_org = "System" | ||
insecure_login = "false" | ||
|
||
# ------------------------------------------------ | ||
# CSE Server Pre-requisites | ||
# ------------------------------------------------ | ||
|
||
# This user will be created by the Terraform configuration, so you can | ||
# customise what its username and password will be. | ||
# This user will have an API token that must be consumed by the CSE Server. | ||
cse_admin_username = "cse_admin" | ||
cse_admin_password = "change-me" | ||
|
||
# ------------------------------------------------ | ||
# CSE Server Settings | ||
# ------------------------------------------------ | ||
|
||
# These are required to create the Runtime Defined Entity that will contain the CSE Server configuration (vcdKeConfig) | ||
# To know more about the specific versions, please refer to the CSE documentation. | ||
# The values set here correspond to CSE 4.2.3: | ||
vcdkeconfig_template_filepath = "../../entities/vcdkeconfig.json.template" | ||
capvcd_version = "1.3.2" # 4.2.3 | ||
cpi_version = "1.6.1" # 4.2.3 | ||
csi_version = "1.6.0" # 4.2.3 | ||
rde_projector_version = "0.7.1" # 4.2.3 | ||
|
||
# Optional but recommended to avoid rate limiting when configuring the TKGm clusters. | ||
# Create this one in https://github.com/settings/tokens | ||
github_personal_access_token = "" | ||
|
||
# Node will be considered unhealthy and remediated if joining the cluster takes longer than this timeout (seconds) | ||
node_startup_timeout = "900" | ||
# A newly joined node will be considered unhealthy and remediated if it cannot host workloads for longer than this timeout (seconds) | ||
node_not_ready_timeout = "300" | ||
# A healthy node will be considered unhealthy and remediated if it is unreachable for longer than this timeout (seconds) | ||
node_unknown_timeout = "300" | ||
# Remediation will be suspended when the number of unhealthy nodes exceeds this percentage. | ||
# (100% means that unhealthy nodes will always be remediated, while 0% means that unhealthy nodes will never be remediated) | ||
max_unhealthy_node_percentage = 100 | ||
|
||
# URL from where TKG clusters will fetch container images | ||
container_registry_url = "projects.registry.vmware.com" | ||
|
||
# Certificate(s) to allow the ephemeral VM (created during cluster creation) to authenticate with. | ||
# For example, when pulling images from a container registry. (Copy and paste .cert file contents) | ||
k8s_cluster_certificates = [] | ||
|
||
# Certificate(s) to allow clusters to authenticate with. | ||
# For example, when pulling images from a container registry. (Copy and paste .cert file contents) | ||
bootstrap_vm_certificates = [] |
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
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
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
Oops, something went wrong.