You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by "Corrigan, Charlie" <ch...@nordstrom.com> on 2020/05/27 21:37:09 UTC

Installing Ververica, unable to write to file system

Hello, I’m trying to install Ververica (community edition for a simple poc deploy) via helm using these directions<https://docs.ververica.com/installation/helm/index.html>, but the pod is failing with the following error:

```
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to create tempDir. java.io.tmpdir is set to /tmp
```

By default, our file system is immutable in k8s. Usually for this error, we’d mount an emptyDir volume. I’ve tried to do that in ververica’s values.yaml file, but I might be configuring it incorrectly. Here is the relevant portion of the values.yaml. I can include the entire file if it’s helpful. Any advice on how to alter these values or proceed with the ververica installation with a read only file system?

volumes:
  - name: tmp
    emptyDir: {}
##
## Container configuration for the appmanager component
##
appmanager:
  image:
    repository: registry.ververica.com/v2.1/vvp-appmanager
    tag: 2.1.0
    pullPolicy: Always
    volumeMounts:
      - mountPath: /tmp
        name: tmp
  resources:
    limits:
      cpu: 1000m
      memory: 1Gi
    requests:
      cpu: 250m
      memory: 1Gi

  artifactFetcherTag: 2.1.0


Re: Installing Ververica, unable to write to file system

Posted by Marta Paes Moreira <ma...@ververica.com>.
Hi, Charlie.

This is not the best place for questions about Ververica Platform CE.
Please use community-edition@ververica.com instead — someone will be able
to support you there!

If you have any questions related to Flink itself, feel free to reach out
to this mailing list again in the future.

Thanks,

Marta

On Wed, May 27, 2020 at 11:37 PM Corrigan, Charlie <
charlie.corrigan@nordstrom.com> wrote:

> Hello, I’m trying to install Ververica (community edition for a simple poc
> deploy) via helm using these directions
> <https://docs.ververica.com/installation/helm/index.html>, but the pod is
> failing with the following error:
>
>
>
> ```
>
> org.springframework.context.ApplicationContextException: Unable to start
> web server; nested exception is
> org.springframework.boot.web.server.WebServerException: Unable to create
> tempDir. java.io.tmpdir is set to /tmp
>
> ```
>
>
>
> By default, our file system is immutable in k8s. Usually for this error,
> we’d mount an emptyDir volume. I’ve tried to do that in ververica’s
> values.yaml file, but I might be configuring it incorrectly. Here is the
> relevant portion of the values.yaml. I can include the entire file if it’s
> helpful. Any advice on how to alter these values or proceed with the
> ververica installation with a read only file system?
>
>
>
> volumes:
>   - name: tmp
>     emptyDir: {}
>
>
>
> *## ## Container configuration for the appmanager component ## *appmanager
> :
>   image:
>     repository: registry.ververica.com/v2.1/vvp-appmanager
>     tag: 2.1.0
>     pullPolicy: Always
>     volumeMounts:
>       - mountPath: /tmp
>         name: tmp
>   resources:
>     limits:
>       cpu: 1000m
>       memory: 1Gi
>     requests:
>       cpu: 250m
>       memory: 1Gi
>
>   artifactFetcherTag: 2.1.0
>
>
>