Open alancivita opened 7 years ago
The new installer does not create any default flavors. You can use the flavor create commands and then add whatever flavors you want to your create cluster command. The command tags are: --vm_flavor small-vm --disk_flavor kube-disk
Sample commands To create these flavors:
photon flavor create --name "kube-disk" --kind "ephemeral-disk" --cost "ephemeral-disk 1 COUNT" photon flavor create --name "small-vm" --kind "vm" --cost "vm.cpu 2 COUNT, vm.memory 2GB, vm.cost 2 COUNT"
My apologies that the default flavors were not created. This is a regression, and something we've already fixed in the 1.2 release.
I have those cluster flavors from a 1.1.0 release, so you know what they looked like there:
1dccbb0154709e75f8948 cluster-master-vm vm vm 1 COUNT
vm.flavor.cluster-master-vm 1 COUNT
vm.cpu 4 COUNT
vm.memory 8 GB
vm.cost 1 COUNT
1dccbb0154709e7649e10 cluster-other-vm vm vm 1 COUNT
vm.flavor.cluster-other-vm 1 COUNT
vm.cpu 1 COUNT
vm.memory 4 GB
vm.cost 1 COUNT
1dccbb0154709e766e801 cluster-vm-disk ephemeral-disk ephemeral-disk 1 COUNT
ephemeral-disk.flavor.cluster-vm-disk 1 COUNT
ephemeral-disk.cost 1 COUNT```
Hello as per documentation (https://github.com/vmware/photon-controller/wiki/Creating-a-Kubernetes-Cluster), Photon Controller should include the following default flavors for clusters: cluster-master-vm cluster-other-vm cluster-vm-disk useful when deploying Kubernetes clusters. but in my new deployment they are missing (they were present in PC 1.1.0 as far as i can remember) ../photon flavor list shows only the flavors i've just created. is this expected? can you check please thank you Alan