-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[k8s plugin] buildah push command doesn't work #15035
Comments
`
The build is finished successfully.
|
Just to clarify my understanding: this building + pushing is happening inside the Kubernetes plugin's sidecar container, correct? |
@ericwill correct |
I can't get the image to even build. When following the steps to reproduce I get this error after running "Kubernetes Run":
If I try to build an image inside the sidecar container (outside of Che, just on my machine), I get the following error:
I was able to workaround the building issue locally by running the sidecar container with some additional options: |
I don't think we can use podman in privileged mode in a sidecar. All I can advise is trying it with the latest buildah. A lot of improvements/fixes were made there recently. Or maybe something is missing in storage.conf. |
@azatsarynnyy could you attach the devfile which you were using when you faced the problem? |
@vitaliy-guliy I had no particular devfile as I remember. Just added a k8s plugin from the Dashboard |
Kubernetes plugin does not work on latest Che-Theia running on local minikube.
|
@vitaliy-guliy I've updated I tried with the following Devfile metadata:
name: wksp-custom-j4xr
projects:
- name: simple-nodejs-weather-app
source:
location: 'https://github.com/azatsarynnyy/simple-nodejs-weather-app'
type: git
branch: master
components:
- id: ms-kubernetes-tools/vscode-kubernetes-tools/latest
type: chePlugin
apiVersion: 1.0.0 and got
|
* Update configuration for the buildah * Remove comments * Update version of Helm and Kubectl * Add XDG_RUNTIME_DIR environment variable * Simplify storage configuration Fixes eclipse-che/che#15035 Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
Describe the bug
Kubernetes Che plugin provides
Kubernetes: Run
command that needs to callbuildah push
command to push the built image to a remote registry. It reports an error in Theia Output panel:Che version
Steps to reproduce
File > Open Workspace...
buildah login docker.io
in the plugin sidecar.Kubernetes: Run
command.Expected behavior
The built image should be pushed to the remote registry.
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
Environment
Additional context
The text was updated successfully, but these errors were encountered: