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

Update CSE installation guide to use CSE v4.1 #1063

Merged
merged 88 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from 78 commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
37e9d32
Init
Sep 7, 2023
3cef335
#
Sep 7, 2023
752dfb4
#
Sep 7, 2023
3de8de8
WIP. tests fail
Sep 7, 2023
f8e90c7
WIP
Sep 8, 2023
1155590
Fixe
Sep 8, 2023
4057ff5
Refactor, tests pass
Sep 11, 2023
f49fca1
Refactor, tests pass
Sep 11, 2023
a7dde48
Docs
Sep 11, 2023
582da89
Docs
Sep 11, 2023
5df78ce
Docs
Sep 11, 2023
8ec4b0a
Improvements
Sep 12, 2023
8f059cf
fmt
Sep 12, 2023
19a4e41
#
Sep 12, 2023
89d8219
#
Sep 12, 2023
b4807bf
#
Sep 12, 2023
8ecc295
#
Sep 12, 2023
fcbb663
#
Sep 12, 2023
73ceec8
fmt
Sep 12, 2023
4f589da
switched to experimental
Sep 12, 2023
ec76905
Merge add-rde-behavior-invocation
Sep 12, 2023
40617e0
Upgrade
Sep 12, 2023
c7bdb26
#
Sep 12, 2023
d96a140
#
Sep 12, 2023
653dd2b
#
Sep 12, 2023
a2547ab
Rights
Sep 12, 2023
0a3a511
Rights
Sep 12, 2023
7df1922
Add VCDKEConfig template
Sep 12, 2023
df95a15
Fix typo in docs
Sep 19, 2023
6d6918b
#
Sep 19, 2023
7f60a2c
Fix typo in rde_interface_behavior docs
Sep 19, 2023
44c30c0
Merge
Sep 19, 2023
070bfc8
#
Sep 19, 2023
034f923
#
Sep 19, 2023
cc37629
#
Sep 19, 2023
9c1a8f4
#
Sep 19, 2023
657a4cd
#
Sep 19, 2023
b0f5bfc
#
Sep 19, 2023
45f8572
#
Sep 19, 2023
cf6e15b
#
Sep 19, 2023
cde1ed0
#
Sep 19, 2023
962d4a2
#
Sep 19, 2023
152fd4e
#
Sep 19, 2023
f84dd88
#
Sep 19, 2023
37e0e38
#
Sep 19, 2023
3c160c6
2 step again
Sep 20, 2023
37f464e
Fixes
Sep 20, 2023
cc06c7e
test
Sep 20, 2023
0002aa7
test
Sep 20, 2023
c81bf3f
test
Sep 20, 2023
2adf198
fmt
Sep 20, 2023
5343b72
Fix
Sep 20, 2023
5398ead
Finish guide upgrade
Sep 21, 2023
cddebe8
#
Sep 21, 2023
6a54274
Fixes
Sep 21, 2023
9eae07a
Fix titles
Sep 22, 2023
da2f01c
Rephrasing
Sep 22, 2023
c9a22d2
#
Sep 22, 2023
8b60a44
Merge
Sep 22, 2023
4c1713c
Merge
Sep 22, 2023
d7f0771
Add Known caveats section
Sep 25, 2023
6330852
Fix docs
Sep 26, 2023
44eda37
Fix locking
Sep 26, 2023
79cee32
Merge
Sep 26, 2023
1efae7d
Fix
Sep 26, 2023
8cc5f7a
Merge
Sep 26, 2023
22016ec
Update TKGm OVA
Sep 27, 2023
6be99f8
Deprecate 3.x
Sep 27, 2023
23d2a3c
Improve TKGm OVAs
Oct 10, 2023
85e78aa
Support more than 1 ova
Oct 10, 2023
696fc04
#
Oct 11, 2023
8b42588
fmt
Oct 11, 2023
bd814dd
fmt
Oct 11, 2023
58bafbd
Merge
Oct 17, 2023
688cbf3
Fix guide
Oct 18, 2023
f8111d9
Apply suggestion
Oct 23, 2023
d045f12
Merge
Oct 23, 2023
b8b6c41
Merge
Nov 2, 2023
cb13bd7
Apply suggestions
Nov 3, 2023
d5fe1e5
fmt
Nov 3, 2023
1f27f24
#
Nov 3, 2023
65b1268
Apply suggestion
Nov 3, 2023
14f20b5
Add changelog
Nov 6, 2023
14dcecf
Add changelog
Nov 6, 2023
e8c1d23
Apply suggestions
Nov 7, 2023
6e47985
Apply suggestion
Nov 7, 2023
fdb5c46
Self review
Nov 7, 2023
f090c97
Self review
Nov 7, 2023
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
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ------------------------------------------------------------------------------------------------------------
lvirbalas marked this conversation as resolved.
Show resolved Hide resolved
# WARNING: This CSE installation method is deprecated in favor of CSE v4. Please have a look at
# https://registry.terraform.io/providers/vmware/vcd/latest/docs/guides/container_service_extension_install
# ------------------------------------------------------------------------------------------------------------

# ------------------------------------------------------------------------------------------------------------
# CSE 3.1.x installation example HCL:
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ------------------------------------------------------------------------------------------------------------
# WARNING: This CSE installation method is deprecated in favor of CSE v4. Please have a look at
# https://registry.terraform.io/providers/vmware/vcd/latest/docs/guides/container_service_extension_install
# ------------------------------------------------------------------------------------------------------------

# Change configuration to your needs and rename to 'terraform.tfvars'

# ------------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions examples/container-service-extension-3.1.x/variables-cse.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ------------------------------------------------------------------------------------------------------------
# WARNING: This CSE installation method is deprecated in favor of CSE v4. Please have a look at
# https://registry.terraform.io/providers/vmware/vcd/latest/docs/guides/container_service_extension_install
# ------------------------------------------------------------------------------------------------------------

# These variables are for configuring the CSE installation

variable "org-name" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ------------------------------------------------------------------------------------------------------------
# WARNING: This CSE installation method is deprecated in favor of CSE v4. Please have a look at
# https://registry.terraform.io/providers/vmware/vcd/latest/docs/guides/container_service_extension_install
# ------------------------------------------------------------------------------------------------------------

# These variables are for configuring the VCD provider

variable "admin-user" {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

dataclouder marked this conversation as resolved.
Show resolved Hide resolved
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"profiles": [
{
"name": "production",
"active": true,
"serverConfig": {
"rdePollIntervalInMin": 1,
"heartbeatWatcherTimeoutInMin": 10,
"staleHeartbeatIntervalInMin": 30
},
"K8Config": {
"certificateAuthorities": [
${k8s_cluster_certificates}
],
"cni": {
"name": "antrea",
"version": ""
},
"cpi": {
"name": "cpi for cloud director",
"version": "${cpi_version}"
},
"csi": [
{
"name": "csi for cloud director",
"version": "${csi_version}"
}
],
"mhc": {
"maxUnhealthyNodes": ${max_unhealthy_node_percentage},
"nodeStartupTimeout": "${node_startup_timeout}",
"nodeNotReadyTimeout": "${node_not_ready_timeout}",
"nodeUnknownTimeout": "${node_unknown_timeout}"
},
"rdeProjectorVersion": "0.6.0"
},
"vcdConfig": {
"sysLogger": {
"host": "${syslog_host}",
"port": "${syslog_port}"
}
},
"githubConfig": {
"githubPersonalAccessToken": ""
},
"bootstrapClusterConfig": {
"capiEcosystem": {
"infraProvider": {
"name": "capvcd",
"version": "v${capvcd_version}",
"capvcdRde": {
"nss": "capvcdCluster",
"vendor": "vmware",
"version": "1.2.0"
}
},
"coreCapiVersion": "v1.4.0",
"bootstrapProvider": {
"name": "CAPBK",
"version": "v1.4.0"
},
"controlPlaneProvider": {
"name": "KCP",
"version": "v1.4.0"
},
"certManagerVersion": "v1.11.1"
},
"certificateAuthorities": [
${bootstrap_vm_certificates}
],
"clusterctl": {
"version": "v1.4.0",
"clusterctlyaml": ""
},
"dockerVersion": "",
"kindVersion": "v0.19.0",
"kindestNodeVersion": "v1.27.1",
"kubectlVersion": "",
"proxyConfig": {
"noProxy": "${no_proxy}",
"httpProxy": "${http_proxy}",
"httpsProxy": "${https_proxy}"
},
"sizingPolicy": "${bootstrap_vm_sizing_policy}"
},
"containerRegistryUrl": "${container_registry_url}"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# ------------------------------------------------------------------------------------------------------------
# CSE v4.1 installation, step 1:
#
# * Please read the guide present at https://registry.terraform.io/providers/vmware/vcd/latest/docs/guides/container_service_extension_install
# before applying this configuration.
#
# * The installation process is split into two steps as the first one creates a CSE admin user that needs to be
# used in a "provider" block in the second one.
#
# * Rename "terraform.tfvars.example" to "terraform.tfvars" and adapt the values to your needs.
# Other than that, this snippet should be applied as it is.
# ------------------------------------------------------------------------------------------------------------

# VCD Provider configuration. It must be at least v3.11.0 and configured with a System administrator account.
terraform {
required_providers {
vcd = {
source = "vmware/vcd"
version = ">= 3.11"
}
}
}

provider "vcd" {
url = "${var.vcd_url}/api"
user = var.administrator_user
password = var.administrator_password
auth_type = "integrated"
sysorg = var.administrator_org
org = var.administrator_org
allow_unverified_ssl = var.insecure_login
logging = true
logging_file = "cse_install_sysadmin.log"
}
Loading
Loading