Closed itnpeople closed 1 year ago
API 구조 변경 'create a cluster', 'add nodes'
ISSUE #151
create a cluster
{ "config": { "installMonAgent": "no", "kubernetes": { "version": "1.23.13", "networkCni": "canal", "loadbalancer": "haproxy", "podCidr": "10.244.0.0/16", "serviceCidr": "10.96.0.0/12", "serviceDnsDomain": "cluster.local", "storageclass": { "nfs": { "path": "/nfs/data", "server": "163.154.154.89" } }, } }, "controlPlane": [ { "connection": "config-aws-ap-northeast-2", "count": 3, "spec": "t2.medium", "rootDisk": { "type": "default", "size": "default" } } ], "description": "string", "label": "string", "name": "cluster-01", "worker": [ { "connection": "config-aws-ap-northeast-2", "count": 3, "spec": "t2.medium", "rootDisk": { "type": "default", "size": "default" } } ] }
add nodes
{ "worker": [ { "connection": "config-aws-ap-northeast-2", "count": 3, "spec": "t2.medium", "rootDisk": { "type": "default", "size": "default" } } ] }
API 구조 변경 'create a cluster', 'add nodes'
ISSUE #151
create a cluster
add nodes