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

Add ceph-common to hyperkube image #45040

Merged
merged 1 commit into from
Jul 25, 2017

Conversation

aaronlevy
Copy link
Contributor

What this PR does / why we need it:

Adds the ceph-common package to the hyperkube image

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 27, 2017
@k8s-reviewable
Copy link

This change is Reviewable

@k8s-github-robot k8s-github-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. release-note-label-needed labels Apr 27, 2017
@zmerlynn
Copy link
Member

zmerlynn commented May 1, 2017

Is there no better way to do this? This image is going to get huge if it just accretes all FS types.

@aaronlevy
Copy link
Contributor Author

Unfortunately not that I know of if you're running kubelet in a container. You likely could separately distribute the binary / libs and mount into container from host, but that is particularly fragile.

There's been talk about supporting shipping kubelet dependencies separately (network/mount tools/etc) -- but nothing available currently as far as I'm aware.

@krmayankk
Copy link

@aaronlevy my thinking is that ceph-common doesnt belong inside hyperkube. Anyone who wants to use rbd volumes must ensure its installed using their puppet or other mechanisms

@aaronlevy
Copy link
Contributor Author

aaronlevy commented May 3, 2017

@krmayankk this would be for when the kubelet is run inside of a container - so that these mount tools are available within the container filesystem (like nfs, cifs, and glusterfs already are). To do this at runtime within the container (e.g. puppet or other mechanisms) would require something like:

docker run hyperkube /bin/bash apt-get update && apt-get install ceph-common && /hyperkube kubelet [...]

I agree that it's unfortunate that it expands the image size, but I don't believe there are good alternatives.

@v1k0d3n
Copy link

v1k0d3n commented Jun 9, 2017

@zmerlynn so if we're going to close #46873 in favor of this older one, can we get this added? i'm with @aaronlevy (obviously solving the same issue, and also using with bootkube + ceph backend).

@v1k0d3n
Copy link

v1k0d3n commented Jun 28, 2017

it's unfortunate this hasn't been looked at in a while. i know that things change with CSI, but would it still be ok to get this in as an interim solution? i can continue building my own custom image, but it would be a lot nicer to have one provided upstream.

@zmerlynn
Copy link
Member

Sorry for going quiet. I'm okay with this if we also file a bug to get rid of it. :)

@aaronlevy
Copy link
Contributor Author

@zmerlynn I can open an issue re removing this specifically, but there's more general discussion about removing mount tools (if that covers your desired outcome): kubernetes/community#589

Also, cc @ixdy - as I'm not sure if this is problematic for #48365

@zmerlynn
Copy link
Member

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 24, 2017
@k8s-github-robot k8s-github-robot added the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Jul 24, 2017
@zmerlynn zmerlynn added release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. release-note-label-needed labels Jul 24, 2017
@zmerlynn
Copy link
Member

/approve no-issue

@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aaronlevy, zmerlynn

Associated issue requirement bypassed by: zmerlynn

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 24, 2017
@ixdy
Copy link
Member

ixdy commented Jul 24, 2017

@aaronlevy I'll update #48365, thanks for the heads up!

@ixdy
Copy link
Member

ixdy commented Jul 25, 2017

/test pull-kubernetes-federation-e2e-gce

@ixdy
Copy link
Member

ixdy commented Jul 25, 2017

/test all

@ixdy
Copy link
Member

ixdy commented Jul 25, 2017

/retest

@aaronlevy
Copy link
Contributor Author

/retest

@k8s-github-robot
Copy link

Automatic merge from submit-queue (batch tested with PRs 45040, 48960)

@k8s-github-robot k8s-github-robot merged commit 0d6d025 into kubernetes:master Jul 25, 2017
@aaronlevy aaronlevy deleted the cephcommon branch July 25, 2017 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants