Installing Ververica, unable to write to file system

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing Ververica, unable to write to file system

Corrigan, Charlie

Hello, I’m trying to install Ververica (community edition for a simple poc deploy) via helm using these directions, 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

 

Reply | Threaded
Open this post in threaded view
|

Re: Installing Ververica, unable to write to file system

Marta Paes Moreira
Hi, Charlie.

This is not the best place for questions about Ververica Platform CE. Please use [hidden email] 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 <[hidden email]> wrote:

Hello, I’m trying to install Ververica (community edition for a simple poc deploy) via helm using these directions, 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