Mirantis / kqueen

Kubernetes queen - cluster manager
MIT License
138 stars 33 forks source link

Store kqueen data under /opt directory #343

Closed katyafervent closed 6 years ago

katyafervent commented 6 years ago

It will make files persistent, required for cluster management

naumvd95 commented 6 years ago

good idea and good job! but i think we should change dir-names also and add kqueen-ui-naming to dir-names, coz it really hard to find useful stack-config

root@api-7b6759c9c4-kf7l8:/tmp/kqueen# ls -al
total 28
drwxr-xr-x 5 root root 4096 Jul 13 14:49 .
drwxrwxrwt 4 root root 4096 Jul 13 14:53 ..
drwxr-xr-x 3 root root 4096 Jul 13 11:14 0dafd4c5-42c2-4b6b-ad3a-72e4ccaf1783
drwxr-xr-x 3 root root 4096 Jul 13 13:40 8f16dca1-feea-4f00-b8a4-565a2d4cd13c
drwxr-xr-x 3 root root 4096 Jul 13 14:50 96dc75f6-f8a3-4ad9-aa20-b2d61321778e
-rw------- 1 root root 1675 Jul 12 10:17 ssh_key
-rw-r--r-- 1 root root  407 Jul 12 10:17 ssh_key.pub

3 clusters -> 3 different id's , but on UI side we can get only names image


so IMO we need to: 1) define ids in Cluster info on UI-side or 2) change dir-names and add cluster-name as prefix/postfix/etc @katyafervent what do u think about it?

katyafervent commented 6 years ago

Vlad, cluster name may contain symbols that are forbidden as directory names. regular user doesn't need to go to the kqueen directory. but you can find cluster id at the cluster detail link or send api call to get cluser info by specified id or get it from the etcd directly

naumvd95 commented 6 years ago

but you can find cluster id at the cluster detail link it will be great!)