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
MESOS: don't attempt to schedule static pods #13943
MESOS: don't attempt to schedule static pods #13943
Conversation
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
staticPodCPUs += float64(cpu) | ||
staticPodMem += float64(mem) | ||
|
||
// TODO(jdef) add binding annotation so that static pods aren't picked up by the scheduler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is where we'd add the missing binding annotation
GCE e2e build/test failed for commit 8d748482417f59c41ec1f20f690c9c1f71674963. |
Labelling this PR as size/L |
GCE e2e build/test passed for commit b24523b0f13f7d77cf17d5fe38c1b3909d4c0f9b. |
@sttts why did you delete this branch? |
Oops. Sorry. I thought that's the old static-pods implementation branch. |
We should think about some branch naming scheme. |
agreed. for example, if it's tied one of our k8sm issues, perhaps something On Thu, Sep 17, 2015 at 11:21 AM, Dr. Stefan Schimanski <
|
[k8sm-{issueid}]-{feature|cleanup|bug}-{shortName} |
"k8s.io/kubernetes/pkg/api/resource" | ||
client "k8s.io/kubernetes/pkg/client/unversioned" | ||
clientauth "k8s.io/kubernetes/pkg/client/unversioned/auth" | ||
"k8s.io/kubernetes/pkg/master/ports" | ||
etcdstorage "k8s.io/kubernetes/pkg/storage/etcd" | ||
"k8s.io/kubernetes/pkg/tools" | ||
|
||
// lock to this API version, compilation will fail when this becomes unsupported | ||
_ "k8s.io/kubernetes/pkg/api/v1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should probably invoke an empty/noop func in v1 to really force the compiler to pick up on this (endpoints controller used to do something similar with the old v1beta1, v1beta2)
GCE e2e build/test passed for commit 22378430a65e627cec496c992fdd30d71174c9ef. |
@sttts @s-urbaniak PTAL (yes, I still need to write unit tests) |
GCE e2e build/test passed for commit b5978f3341dd94e8c21d7d74ae24871d3cadbb8a. |
Labelling this PR as size/XL |
@@ -158,6 +158,7 @@ scheduler: | |||
--mesos-master=mesosmaster1:5050 | |||
--cluster-dns=10.10.10.10 | |||
--cluster-domain=cluster.local | |||
--static-pods-config=/static-pods |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before merging we should remove this commit again.
GCE e2e build/test failed for commit e08e4564df0371bf6c113f2799d1c95f4ce15b80. |
GCE e2e build/test failed for commit 2429fb2da3450d24731bc972deb55fb09332277c. |
CLAs look good, thanks! |
1 similar comment
CLAs look good, thanks! |
- add busybox static pod to mesos-docker cluster - customize static pods with binding annotations - code cleanup - removed hacky podtask.And func; support minimal resources for static pods when resource accounting is disabled - removed zip archive of static pods, changed to gzip of PodList json - pod utilities moved to package podutil - added e2e test - merge watched mirror pods into the mesos pod config stream
CLAs look good, thanks! |
GCE e2e build/test failed for commit f8517c2067632f979296ba106ed13ab8e5c03055. |
GCE e2e build/test failed for commit 3d3577b. |
@k8s-bot please test this |
@k8s-bot test this please |
GCE e2e test build/test passed for commit 3d3577b. |
Op: kubetypes.UPDATE, | ||
Pods: []*api.Pod{oldPod}, | ||
}) | ||
k.sendPodsSnapshot() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment that we send the first birth cry here with an empty pod list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is more like a death-cry. is your comment misplaced?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right. Didn't see the context in the diff.
Small nit. Otherwise, looks good to me. |
@@ -240,10 +251,7 @@ func (k *Executor) Registered(driver bindings.ExecutorDriver, | |||
// emit an empty update to allow the mesos "source" to be marked as seen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here we have the birth cry 👍
Continuous integration appears to have missed, closing and re-opening to trigger it |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit 3d3577b. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
Auto commit by PR queue bot
Auto commit by PR queue bot
Auto commit by PR queue bot
Auto commit by PR queue bot
TODO:
api.PodList
for static podsxref mesosphere/kubernetes-mesos#493
was BLOCKED by: