Deploy a Custom Build for Apache Spark OLAC¶
-
Replace the plugin package in the install folder, keeping the file name the
Dockerfileexpects: -
Rebuild the image:
Bash -
Push the image to the internal registry.
-
Restart the Spark pods so they pull the new image.
-
In the portal, open the connector and add the custom property, with the tarball URL Privacera supplied:
Key Value plugin.package.url<custom-tarball-url> -
Save the connector and download the bundle again.
-
Re-run the bundle script, so
spark/is staged from the custom package. -
Build the image:
-
Push the image to the internal registry, then restart the Spark pods so they pull it.
Note
Remove the property and download the bundle again to go back to the released build.
Validation¶
The whole package is replaced, so the version the installer staged is the custom build's. Check it in the built image:
| Bash | |
|---|---|
The installer also logs the package it unpacked when the bundle script runs.
- Prev topic: Troubleshooting