Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster Federation: task list #23653

Closed
13 of 20 tasks
nikhiljindal opened this issue Mar 30, 2016 · 23 comments
Closed
13 of 20 tasks

Cluster Federation: task list #23653

nikhiljindal opened this issue Mar 30, 2016 · 23 comments
Labels
priority/backlog Higher priority than priority/awaiting-more-evidence.
Milestone

Comments

@nikhiljindal
Copy link
Contributor

nikhiljindal commented Mar 30, 2016

Documenting the list of tasks for ubernetes for 1.3 based on various discussions:

APIServer:

Client:

  • Generate auto generated clients (to be used by controllers) (Federation client for cluster #24117)
  • kubectl: Add support for cluster objects (kubectl get clusters) (Federation kubectl for clusters #24016)
  • kubectl: Add federated-apiserver auth details to kubeconfig so that kubectl can talk to federated-apiserver.
  • kubectl: Verify if any change is required for kubectl describe service (not required)
  • hack/test-cmd.sh tests

Controller:

Tying together:

  • Add a script to bring up the control plane (brings up federation-apiserver, controller managers and atleast one underlying kubernetes cluster) (e2e tests for federated-apiserver #25125)
  • Docs and example showing how it works

Future tasks (post 1.3):

@kubernetes/sig-cluster-federation

@ghost
Copy link

ghost commented Mar 30, 2016

LGTM @nikhiljindal
Some minor comments:

  1. Service controller comprises two major parts (see docs/design/federated-service.md for details):
    1. Delegating service creation to underlying Kubernetes clusters.
    2. Creating load balancing apparatus across the top of the resulting Kubernetes services.
  2. I think that we can leave the HA items until all the other stuff is working.

@ghost ghost added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Mar 31, 2016
@ghost ghost self-assigned this Mar 31, 2016
@huangyuqi
Copy link
Contributor

It is a great list @nikhiljindal .
Excepting HA items,

  1. Bring up an ubernetes api server with its own etcd
  2. Add ubernetes API objects to it (cluster)

In PR #21190, pushed by @jianhuiz

1.Bring up ubernetes controller manager
1.Write RS and subRS controllers (#23269)
1.Write Service controller

WIP PR is #23430 pushed by me.

At present, I am working on the controller manager, cluster controller, subrs controller , rs controller.
But, I have a doubt that shall we need to split cluster, subrs, rs into different controllers or not. Now, i have put these into a single controller called cluster controller.

BTW, we have missed a federation scheduler task implemented by @mfanjie . #23269 . Please add in the task list.

@ghost
Copy link

ghost commented Apr 5, 2016

@huangyuqi FYI I have started working on the Service Controller in parallel in #23848

@huangyuqi
Copy link
Contributor

@alfred-huangjian is also working on service controller, would you like to exchange with @quinton-hoole ?

@madhusudancs
Copy link
Contributor

@huangyuqi @mfanjie @alfred-huangjian @jianhuiz It looks like you are all doing a lot of work and I am not entirely sure if that is getting enough code-review attention. Also, given that Ubernetes is a high priority for 1.3 and 1.3's aggressive timeline, I think we will have to collaborate and better distribute the work among all of us to get this over the finish line.

So I have a request for all of you. Could you all please make a list of things you are working on, sort of sub-tasks, along with PRs attached to it in the order they should be reviewed? Even WIP PRs are fine and we can do that here in this issue or in a Google Doc and attach that doc here. Correct me if I am wrong, but IMHO it is better to claim smaller tasks and have that finished (reviewed and merged) before moving on to other things so that people can claim pending tasks as they finish their tasks.

@huangyuqi you did some of what I am proposing in #23653 (comment), but it is still not clear to me in what order they should be reviewed.

cc @nikhiljindal @quinton-hoole

@huangyuqi
Copy link
Contributor

huangyuqi commented Apr 6, 2016

@madhusudancs
About cluster controller what i am dealing with, I have split it into some sub-task:

  • duplicate kube-controller-manager to uber-controller-manager
  • Add rs-controller
  • Add subrs-controller
  • Add cluster-controller
  • Reuse codes of kubectl to create sub-resource in kubernetes cluster

I will create a issue to track.

@madhusudancs
Copy link
Contributor

@huangyuqi Thanks! Also, is there a way to split your current PR into these tasks so that the completed PRs can be independently reviewed and merged as you work in parallel on WIP PRs?

@huangyuqi
Copy link
Contributor

Thanks for your suggestion @madhusudancs
For the first sub-task duplicate kube-controller-manager to uber-controller-manager , i will take a independent PR today.
And other sub-tasks will be put in one PR with different commits.

@mfanjie
Copy link

mfanjie commented Apr 6, 2016

#23269 was discussing federation scheduling and then there are some discussions on replicaset and sub replicaset. I am taking scheduling part and rs/subrs are covered by @jianhuiz. It's better if the task can be split to two.
and the wip of federation scheduler is #24038 (edited)

@ghost
Copy link

ghost commented Apr 8, 2016

@alfred-huangjian Have you started any work on the service controller design or implementation yet? If so, please submit work in progress PR's so that we don't duplicate work. See comment from @huangyuqi above. I'm working on it too, in (#23848, #24009)

@mfanjie
Copy link

mfanjie commented Apr 22, 2016

when testing federation scheduler, I got a problem of listing and watching clusters and replicasets, I opened a issue #24656, and so far I suppose there is defect on decoder.
Please kindly advise.

@mfanjie
Copy link

mfanjie commented Apr 25, 2016

A quick update, #24656 is closed as after I merge the latest codec PR from master, it works properly. No blocker anymore at this moment.

k8s-github-robot pushed a commit that referenced this issue Apr 27, 2016
Automatic merge from submit-queue

Federation apiobject cluster

add federation api group
add cluster api object and registry
~~generate cluster client~~ moved to #24117
update scripts to generate files for /federation

#19313 #23653 #23554
@nikhiljindal  @quinton-hoole, @deepak-vij, @XiaoningDing, @alfred-huangjian @mfanjie @huangyuqi @colhom
k8s-github-robot pushed a commit that referenced this issue Apr 27, 2016
Automatic merge from submit-queue

Move install of version handler to genericapiserver

This is to satisfy kbuectl verification

Please review only the last commit.

#19313 #23653
@nikhiljindal @quinton-hoole, @deepak-vij, @XiaoningDing, @alfred-huangjian @mfanjie @huangyuqi @colhom
@nikhiljindal
Copy link
Contributor Author

Updated the task list based on recent discussions:

APIServer:

  • Add code for federated-apiserver
  • Add federation/v1alpha1 group version and cluster resource
  • Add replicaset resource to federated-apiserver
  • Add an e2e test for federation apiserver

Client:

  • Generate auto generated clients (to be used by controllers)
  • kubectl: Add support for cluster objects
  • kubectl: Add federated-apiserver auth details to kubeconfig so that kubectl can talk to federated-apiserver.
  • hack/test-cmd.sh tests

Controller:

Tying together:

  • Add a script to bring up the control plane (brings up federation-apiserver, controller managers and atleast one underlying kubernetes cluster)
  • Docs and example showing how it works

Future tasks (post 1.3):

  • HA: Etcd quorum
  • HA: Multiple ubernetes api servers and controller managers (one in each cluster)

k8s-github-robot pushed a commit that referenced this issue May 2, 2016
Automatic merge from submit-queue

Federation client for cluster

generate v1alpha1 and unversioned client for federation/clusters

#23653, requires #23847, #23998

@nikhiljindal @quinton-hoole @caesarxuchao
k8s-github-robot pushed a commit that referenced this issue May 18, 2016
Automatic merge from submit-queue

Federation kubectl for clusters

add federation/clusters resource to kubectl
#23653, requires #23847

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24016)
<!-- Reviewable:end -->
k8s-github-robot pushed a commit that referenced this issue May 18, 2016
Automatic merge from submit-queue

add service object without proxy

add service object without proxy

#23653

@nikhiljindal please review it, thanks.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
@nikhiljindal
Copy link
Contributor Author

nikhiljindal commented Jun 7, 2016

Remaining 1.3 tasks:

Everyone please feel free to add anything that I missed and also feel free to pick up tasks from here.
@kubernetes/sig-cluster-federation @colhom @mfanjie @huangyuqi @jianhuiz

@davidopp
Copy link
Member

cc/ @mml (see #23653 (comment) )

@colhom
Copy link

colhom commented Jun 14, 2016

As per offline discussion w/ @nikhiljindal I will be taking care of the following items:

* Verify e2e tests on GKE
* Verify e2e tests on AWS

@matchstick matchstick modified the milestones: next-candidate, v1.3 Jun 22, 2016
@nikhiljindal
Copy link
Contributor Author

nikhiljindal commented Jun 27, 2016

Remaining 1.3 tasks (things we couldnt get to in time for 1.3 cut, but should fix now):

k8s-github-robot pushed a commit that referenced this issue Jul 19, 2016
…nsions-replicaset

Automatic merge from submit-queue

Add extensions/replicaset to federation-apiserver

Add extensions/replicaset for federated scheduler (#24038) as all k8s api objects were removed in #23959

Please review only the very last one commit.

#19313 #23653 
@nikhiljindal @quinton-hoole, @deepak-vij, @XiaoningDing, @alfred-huangjian @mfanjie @huangyuqi @colhom
@nikhiljindal nikhiljindal modified the milestones: v1.4, next-candidate Aug 4, 2016
@nikhiljindal
Copy link
Contributor Author

@colhom Were you able to make any progress on running federation e2es on GKE and AWS?

@colhom
Copy link

colhom commented Aug 9, 2016

@nikhiljindal last I checked, AWS was functional. GKE should work, though when I tested there were some what I believe to be unrelated issues with the gcloud account I was using.

@ghost ghost changed the title Ubernetes: task list Cluster Federation: task list Aug 18, 2016
@ghost
Copy link

ghost commented Aug 18, 2016

@colhom To be clear, as discussed, you're going to send in some PR's to configure our standard Jenkins to run federation e2es on GKE and AWS, right?

@ghost ghost added priority/backlog Higher priority than priority/awaiting-more-evidence. and removed priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Aug 18, 2016
@colhom
Copy link

colhom commented Aug 29, 2016

@quinton-hoole I'm now officially back from vacation- and yes and yes!

@goltermann
Copy link
Contributor

@quinton-hoole @colhom what remains to finish this issue off?

@nikhiljindal
Copy link
Contributor Author

There are 2 remaining tasks, both of which have individual issues filed.
Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

9 participants