When running Spotfire Server on Kubernetes, importing a Library export ZIP file requires a different approach compared to a traditional VM-based deployment. You cannot directly access the server filesystem, so the ZIP file must be copied into the appropriate pod using kubectl.
Prerequisites
- Access to the Kubernetes cluster (via
kubectl) - The Library export ZIP file (e.g.,
library.part0.zip) available on a Kubernetes node - Spotfire Analyst client installed and connected to the server
- Sufficient Library Administration permissions in Spotfire
Method
1. Transfer your Library export ZIP file to the Kubernetes node using your preferred method (e.g., scp, shared file mount, or object storage).
Note: The ZIP file must be accessible on the Kubernetes node before it can be copied into the pod.
2. Copy the ZIP File into the Spotfire Server Pod
Use kubectl cp to copy the ZIP file into the correct directory inside the Spotfire Server pod.
kubectl cp /tmp/library.part0.zip \ spotfire-server-59d4fbfcf-zfc4d:/opt/spotfire/spotfireserver/tomcat/application-data/library
3. Start the Analyst client and use the Library Administration menu option to import the zip file in the usual way
Comments
0 comments
Article is closed for comments.