bbrowning commented on a change in pull request #3219: Kubernetes
ContainerFactoryProvider implementation
URL:
https://github.com/apache/incubator-openwhisk/pull/3219#discussion_r163666615
##########
File path: core/invoker/Dockerfile
##########
@@ -11,6 +12,11 @@ rm -f docker-${DOCKER_VERSION}.tgz && \
chmod +x /usr/bin/docker && \
chmod +x /usr/bin/docker-runc
+# Install kubernetes client
+RUN wget --no-verbose
https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl
&& \
+chmod +x kubectl && \
+mv kubectl /usr/bin/kubectl
+
Review comment:
This is just an artifact of copying the original Docker implementation that
shelled out to `docker`. We had to replace usage of `kubectl` with the API for
performance reasons in some places but it looks like we never got around to
replacing it everywhere.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services