The following is an example <TCP stack>.yaml file that is used for TKG deployments.
apiVersion: mw.dell.com/v4
kind: Stackdeployer
metadata:
name: tcp-stack-1
labels:
model: dell
site: gc
spec:
stackType: "VMWare_TCP"
stackVersion: "2.0"
stackInstallerConfig:
- installerIp: "1.2.3.4"
installerUserName: "USERNAME"
installerPassword: "REPLACETHIS"
configFile: "InstallerConfig.json"
stackConfig:
- configFile: "TCPConfig.json"
stackHostAdditionConfig: "AddHosts.json"
VlanId: "20"
Domain: "dellnfv.com"
vmwareRequest:
createTKGTemplateList:
- name: "management-template"
clusterType: "MANAGEMENT"
description: "description of template"
templateJson: "tkg-management-template.json"
- name: "shared-service-template"
clusterType: "SHAREDSERVICE"
description: "description of template"
templateJson: "tkg-sharedservice-template.json"
- name: "workload-template"
clusterType: "WORKLOAD"
description: "description of template"
templateJson: "tkg-workload-template.json"
createTKGClusterList:
- name: "management-cluster"
clusterType: "MANAGEMENT"
templateName: "management-template"
targetDomainName: "DOMAIN-NAME"
clusterPassword: "REPLACE-THIS"
endpointIP: "1.2.3.10"
- name: "shared-service-cluster"
clusterType: "SHAREDSERVICE"
templateName: "shared-service-template"
targetDomainName: "DOMAIN-NAME"
clusterPassword: "REPLACE-THIS"
endpointIP: "1.2.3.11"
managementClusterName: "management-cluster"
- name: "workload-cluster"
clusterType: "WORKLOAD"
templateName: "workload-template"
targetDomainName: "DOMAIN-NAME"
clusterPassword: "REPLACE-THIS"
endpointIP: "1.2.3.12"
managementClusterName: "management-cluster"
deleteTKGClusterList:
- "cluster1"
- "cluster2"
deleteTKGTemplateList:
- "template-1"
- "template-2"
dnsList:
- "1.2.3.0"
serverForDeployment:
- ip: "1.2.3.4"
username: "root"
password: REPLACE_THIS
address: "esxi10"
name: "server1"
- ip: "1.2.3.4"
username: "root"
password: REPLACE_THIS
address: "esxi11"
name: "server2"
- ip: "1.2.3.4"
username: "root"
password: REPLACE_THIS
address: "esxi12"
name: "server3"
- ip: "1.2.3.4"
username: "root"
password: REPLACE_THIS
address: "esxi13"
name: "server4"
- ip: "1.2.3.4"
username: "root"
password: REPLACE_THIS
address: "esxi14"
name: "server5"
- ip: "1.2.3.4"
username: "root"
password: REPLACE_THIS
address: "esxi15"
name: "server6"
- ip: "1.2.3.4"
username: "root"
password: REPLACE_THIS
address: "esxi16"
name: "server7"
- ip: "1.2.3.4"
username: "root"
password: REPLACE_THIS
address: "esxi17"
name: "server8"
reInitialize: false