c-fs / nameserver

nameserver for cfs
2 stars 2 forks source link

run nameserver for cfs in k8s #1

Open yichengq opened 8 years ago

yichengq commented 8 years ago

I would like to run a nameserver in k8s to manage disk names of cfs.

I have two thoughts about how to make it:

  1. highly integrate with k8s, providing flags --kubernetes-api and --kubernetes-label to continuously update disk names
  2. expose port to receives cfs endpoints, and update names using these endpoints in runtime. This method is more general, but it needs additional shell script to make it work in k8s.

Any preferences?

yichengq commented 8 years ago

/cc @yunxing @yutongp

yunxing commented 8 years ago

I think for now 1 is fine and requires minimal work.