tableau-server-in-kubernetes
tableau-server-in-kubernetes copied to clipboard
getting an error when attempting to build the kubernetes container, might you know the reason? or be able to assist?
attempt:
[~/kube/apps/tableau/tableau-server-container-setup-tool-2021.4.0]
$ ./build-image --accepteula -i ../tableau-server-2021-4-2.x86_64.rpm -f
Copying installer to docker context directory: /home/lknite/kube/apps/tableau/tableau-server-container-setup-tool-2021.4.0/image/tableau-server-2021-4-2.x86_64.rpm
ERROR: Installer file corrupt: ../tableau-server-2021-4-2.x86_64.rpm. Correct the file and re-run command with -f flag.
I've re-downloaded the file a few times using wget.
rpm checksig thinks everything is ok:
$ rpm --checksig ../tableau-server-2021-4-2.x86_64.rpm
../tableau-server-2021-4-2.x86_64.rpm: digests OK
running the latest centos-8-stream w/ docker 20.20.11
I was able to fix it by modifying line 87 in the build-utils file to be this:
if ! ( rpm -K --verbose --nosignature "${installer_destination}" | grep 'MD5 digest: OK' ); then
When I run that command with --verbose I get the following output (which is different from what the script is expecting):
$ rpm -K --verbose --nosignature ../tableau-server-2021-4-2.x86_64.rpm
../tableau-server-2021-4-2.x86_64.rpm:
Header SHA1 digest: OK
MD5 digest: OK
Shall I leave this ticket open as a bug report?
@lknite
I have tried to build docker image using 2021.2.7 version without any issue
@lknite and @kavyatappa - Were you able to successfully deploy the tableau server in the Kubernetes cluster? If so, could you share your yaml file ? I'm running into insufficient memory and CPU issue
Events: Type Reason Age From Message
Warning FailedScheduling 24s (x66 over 65m) default-scheduler 0/1 nodes are available: 1 Insufficient cpu, 1 Insufficient memory.
@srikarganti make sure your node has enough CPU and memory to match the resource requirements.