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
![mehdif38_1-1710237114221.png mehdif38_1-1710237114221.png](https://wbsdv95928.lithium.com/t5/image/serverpage/image-id/106339i24D7CD7B1FA64930/image-dimensions/919x178/is-moderation-mode/true?v=v2)
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 🙂