Code Monkey home page Code Monkey logo

Comments (7)

caleb15 avatar caleb15 commented on August 16, 2024 1

I'm not sure how relevant it is to Tableau on Kubernetes, but there is some documentation on how to upgrade Tableau on linux: https://help.tableau.com/current/server-linux/en-us/sug_plan.htm

from tableau-server-in-kubernetes.

caleb15 avatar caleb15 commented on August 16, 2024 1

Ah, I found some more useful documentation. It's not under a explicit title in the left-hand sidebar so it's hard to find. You have to scroll down a lot in https://help.tableau.com/current/server-linux/en-us/server-in-container_image.htm to find it. Search for "Upgrading Tableau Server Versions" and there is a guide that explains how to upgrade Tableau with docker. Kubernetes would presumably be a similar process.

from tableau-server-in-kubernetes.

caleb15 avatar caleb15 commented on August 16, 2024

upgrades should be handled by creating new images and rolling out new pods

Agreed, would be really nice if we could do it this way.

from tableau-server-in-kubernetes.

caleb15 avatar caleb15 commented on August 16, 2024

I just went through the guide.

  1. Create an upgrade-image using the build-upgrade-image script. The new version's tableau server rpm is needed to build this container.

I saw an error in the building of the upgrade container. I contacted support about it about a month ago, no response, which is typical. I just went ahead and used the upgrade container anyways, seemed to work.

  1. Shutdown the container currently running the Tableau Server.
  2. Start the upgrade-image, mounting the same data directory from the container shutdown in the previous step.
  3. The upgrade process takes a while, but the tableau server will be upgraded, check docker logs for upgrade process update. The container will shut down after the upgrade process.

This part went smoothly. I didn't time the upgrade but it took somewhere between a few minutes and an hour.

Start a new Tableau Server in a Container of newer version. Mount the same directory from the previous steps.

I got a startup failure. I had to run chmod 0600 /var/opt/tableau/tableau_server/data/tabsvc/config/hyper_0.20221.22.0823.1450/hyperSecurity/hyper.root.key. For some reason the file defaults to 0660 permissions, which causes an error. This issue has already been reported to Tableau, I'm waiting for them to fix it. After I fixed the file permissions the new version started up successfully.


In summary, the current process is a somewhat buggy and could be a lot easier, but it does work.

from tableau-server-in-kubernetes.

chaitusolasa avatar chaitusolasa commented on August 16, 2024

Hey @rockpunk Are u able to put tableau on k8s using the templates they have given?

from tableau-server-in-kubernetes.

miguelaferreira avatar miguelaferreira commented on August 16, 2024

Thank you for all the links and tips @caleb15.

I tried the upgrade procedure using an upgrade image, but in my setup that doesn't work. I'm running 3 nodes, 1 primary and 2 workers. When I run the upgrade image I need to stop the primary node, and then mount the disk of that node in the upgrade job pod. However, the worker nodes won't be able to connect to the upgrade image pod because that pod won't be resolvable using the name hostname as the primary node. I can set the same hostname as the primary node has, for the process running in the upgrade job pod, but that doesn't mean the workers can reach the upgrade image pod processes using that name. Since the workers can't reach the upgrade image pod, the cluster isn't fully functional and the upgrade process never actually happens.

I'll try to upgrade using the backup restore method, also mentioned in the docs linked in this thread.

from tableau-server-in-kubernetes.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.