-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Cherrypick GCI mounter related PR to release 1.4 #37336
Cherrypick GCI mounter related PR to release 1.4 #37336
Conversation
95587fa
to
9aa5d91
Compare
Jenkins Bazel Build failed for commit 9aa5d911937bb1ea8f78d6b2594934d0102f1627. Full PR test history. The magic incantation to run this job again is |
Jenkins GCE Node e2e failed for commit 9aa5d911937bb1ea8f78d6b2594934d0102f1627. Full PR test history. The magic incantation to run this job again is |
Jenkins GCE etcd3 e2e failed for commit 9aa5d911937bb1ea8f78d6b2594934d0102f1627. Full PR test history. The magic incantation to run this job again is |
Jenkins GCE e2e failed for commit 9aa5d911937bb1ea8f78d6b2594934d0102f1627. Full PR test history. The magic incantation to run this job again is |
Jenkins GCI GKE smoke e2e failed for commit 9aa5d911937bb1ea8f78d6b2594934d0102f1627. Full PR test history. The magic incantation to run this job again is |
Jenkins Kubemark GCE e2e failed for commit 9aa5d911937bb1ea8f78d6b2594934d0102f1627. Full PR test history. The magic incantation to run this job again is |
Jenkins GKE smoke e2e failed for commit 9aa5d911937bb1ea8f78d6b2594934d0102f1627. Full PR test history. The magic incantation to run this job again is |
Jenkins GCI GCE e2e failed for commit 9aa5d911937bb1ea8f78d6b2594934d0102f1627. Full PR test history. The magic incantation to run this job again is |
CC @rkouj |
9aa5d91
to
c89de67
Compare
Jenkins CRI GCE Node e2e failed for commit c89de6785c717e46817a7ca6b2d6f3e2cace1e73. Full PR test history. The magic incantation to run this job again is |
can you write a release note that sums all this up |
@k8s-bot kops aws e2e test this |
@k8s-bot kops aws e2e test this |
@k8s-bot verify test this |
@k8s-bot cri node e2e test this |
This PR combines all changes for GCI mounter into one PR against release 1.4 Background: GCI image does not contain necessary nfs or gluster binaries. In order to handle nfs and gluster mount in GCI cluster, we design a mounter system to enable mount via a pre-imaged container. This mounter docker image has all the necessary binaries pre-installed. When needed, mounter script will run rkt fly to start the container and run mount command with mount propation set to shared. So the mount added within the container will automatically be prpagated to the host. This PR includes the following major commits: 1. Add mounterPath flag to kubelet which can be passed to mount interface. When the flag is set, mount command will use the mounterPath passed in, otherwise, the defualt mount path specified in $PATH will be used. 2. Add the code to setup the mounter script directory and enable the mounter on GCI node. 3. Add the docker image and mounter script and set up the cluster configuration to install and use local file for rkt and mounter docker image. 4. Update kubelet mount code to only invoke mounter script when mounting nfs or gluster type. 5. Add node plubing and bhunding for GCI mounter in GCI e2e tests
c89de67
to
14928d1
Compare
@k8s-bot test this issue: #IGNORE |
Jenkins kops AWS e2e failed for commit 14928d1. Full PR test history. The magic incantation to run this job again is |
c.f. kubernetes/kubernetes#37336 The deflaking and most of the e2e works weren't done until release-1.5, and I'm not going to backport everything at this point.
@k8s-bot kops aws e2e test this |
it might worth fixing that golint error in 1.4 to knock off the verification test failure... |
im going to fix the lint failure today then all these will be merged after, tracking is here: #37254 |
@k8s-bot verify test this |
Jenkins verification failed for commit 14928d1. Full PR test history. The magic incantation to run this job again is |
@k8s-bot verify test this |
manually merging since the queue is blocked and all is green |
Commit found in the "release-1.4" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
Background: GCI image does not contain necessary nfs or gluster
binaries. In order to handle nfs and gluster mount in GCI cluster, we
design a mounter system to enable mount via a pre-imaged container. This
mounter docker image has all the necessary binaries pre-installed. When
needed, mounter script will run rkt fly to start the container and run
mount command with mount propation set to shared. So the mount added
within the container will automatically be prpagated to the host.
This PR includes the following major commits:
interface. When the flag is set, mount command will use the mounterPath
passed in, otherwise, the defualt mount path specified in $PATH will be used.
mounter on GCI node.
configuration to install and use local file for rkt and mounter docker
image.
nfs or gluster type.
This change is