Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

srcVolumeMount is Readonly #656

Closed
gimlet2 opened this issue Mar 28, 2018 · 3 comments
Closed

srcVolumeMount is Readonly #656

gimlet2 opened this issue Mar 28, 2018 · 3 comments

Comments

@gimlet2
Copy link
Contributor

gimlet2 commented Mar 28, 2018

Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT

What happened: When I create new function Init container is failed to check checksum and unpack sources. It is done in /src which the place where functions configMap is mapped. And this place is read-only.

What you expected to happen: Init procedures should happen in separate emptyDir volume

How to reproduce it (as minimally and precisely as possible): just create simple function with kubeless or serveless

Anything else we need to know?: kubeless version 0.4.0

Environment:

  • Kubernetes version (use kubectl version): Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.15", GitCommit:"8c7c1c8b0ce0866d5ded2ce4fa402a716ce6bb6c", GitTreeState:"clean", BuildDate:"2018-03-19T14:23:07Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.15", GitCommit:"8c7c1c8b0ce0866d5ded2ce4fa402a716ce6bb6c", GitTreeState:"clean", BuildDate:"2018-03-19T14:15:39Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
  • Kubeless version (use kubeless version): Kubeless version: dev-2018-01-25T15:03:08+0100 (1ae85a4)
  • Cloud provider or physical cluster: physical cluster
@andresmgot
Copy link
Contributor

Hi @gimlet2,

we are aware of the issue: see #634

We fixed that in #636 and the fix is now available in Kubeless 0.5.0

@gimlet2
Copy link
Contributor Author

gimlet2 commented Mar 28, 2018

@andresmgot thank you! Will upgrade tomorrow. But 0.5.0 partially brakes compatibility with kubernetes 1.7, right?

@gimlet2 gimlet2 closed this as completed Mar 28, 2018
@andresmgot
Copy link
Contributor

yes, it is not possible to support Cronjob and Horizontal Pod Autoscalers for 1.7, 1.8 and 1.9 so right now it is only supported for 1.8 and 1.9. The rest of features should continue working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants