Hello @Corey Dinkens,
Sorry for the late reply, I hadn't seen your message.
Yes i resolved my issue :
fullName:
managementClusterName: tanzu-lab
name: testtmccli02
provisionerName: service
meta:
description: I am a cluster
labels:
env: lab
spec:
clusterGroupName: lab-tanzu
proxyName: proxy
tmcManaged: true
topology:
clusterClass: tanzukubernetescluster
controlPlane:
metadata: {}
osImage:
arch: amd64
name: photon
version: "3"
replicas: 1
network:
pods:
cidrBlocks:
- 192.20.0.0/16
services:
cidrBlocks:
- 10.96.0.0/16
nodePools:
- info:
description: I am a nodepool
name: np-0
spec:
class: node-pool
metadata: {}
osImage:
arch: amd64
name: photon
version: "3"
overrides:
- name: vmClass
value: best-effort-small
- name: storageClass
value: tanzu
- name: nodePoolVolumes
value:
- capacity:
storage: 20G
mountPath: /var/lib/containerd
name: containerd
storageClass: tanzu
replicas: 1
variables:
- name: controlPlaneVolumes
value:
- capacity:
storage: 20G
mountPath: /var/lib/tap
name: tap
storageClass: tanzu
- name: nodePoolVolumes
value:
- capacity:
storage: "20"
mountPath: /var/lib/containerd
name: containerd
- name: ntp
value: ntp
- name: proxy
value:
httpProxy: ""
httpsProxy: ""
- name: storageClass
value: tanzu
- name: vmClass
value: best-effort-small
version: v1.26.5+vmware.2-fips.1-tkg.1
Original Message:
Sent: May 23, 2024 06:06 PM
From: Corey Dinkens
Subject: Tanzu with vSphere 8 : deploy cluster from tmc with yaml
Hello @mehdif38, were you able to resolve your issue?
Regards,
------------------------------
Corey Dinkens
Product Marketing Engineer | VMware Tanzu Marketing
corey.dinkens@broadcom.com
Original Message:
Sent: Mar 12, 2024 09:54 AM
From: mehdif38
Subject: Tanzu with vSphere 8 : deploy cluster from tmc with yaml
Hello,
I try to deploy a cluster from tmc with yaml in adding a volume on control plan but there is error when i apply script :
tanzu mission-control cluster create -f test.yaml
Below, i added red text to add volume on control plan.
if i delete this, the script is success
fullName:
managementClusterName: tanzu-lab
name: testtmccli02
provisionerName: service
meta:
description: I am a cluster
labels:
env: lab
spec:
clusterGroupName: lab-tanzu
proxyName: proxy
tmcManaged: true
topology:
clusterClass: tanzukubernetescluster
controlPlane:
metadata: {}
osImage:
arch: amd64
name: photon
version: "3"
replicas: 1
network:
pods:
cidrBlocks:
- 192.20.0.0/16
services:
cidrBlocks:
- 10.96.0.0/16
spec:
overrides:
- name: vmclass
value: best-effort-medium
- name: storageClass
value: tanzu
- name: controlPlaneVolumes
value:
- capacity:
storage: 120G
mountPath: /var/lib/tap
name: tap
storageClass: tanzu
nodePools:
- info:
description: I am a nodepool
name: np-0
spec:
class: node-pool
metadata: {}
osImage:
arch: amd64
name: photon
version: "3"
overrides:
- name: vmClass
value: best-effort-small
- name: storageClass
value: tanzu
- name: nodePoolVolumes
value:
- capacity:
storage: 20G
mountPath: /var/lib/containerd
name: containerd
storageClass: tanzu
replicas: 1
variables:
- name: nodePoolVolumes
value:
- capacity:
storage: "20"
mountPath: /var/lib/containerd
name: containerd
- name: ntp
value: ntp
- name: proxy
value:
httpProxy: ""
httpsProxy: ""
- name: storageClass
value: tanzu
- name: vmClass
value: best-effort-small
version: v1.26.5+vmware.2-fips.1-tkg.1
someone can help me to resolve this issue ?
i can give more information if needed
Thank you