FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    how to get fresh installation?

    Scheduled Pinned Locked Moved
    General Discussion
    kubernetes database
    0
    4
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      shaunladd
      last edited by dan

      How do you completely delete fusionAuth in order to get a fresh installation? I have deleted the helm charts but when I redeploy all my previous history is still intact. So far the only way I have found to get a clean slate is to delete my kubernetes cluster and reinstall, which is time consuming.

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        Hiya @shaunladd.

        When I need a fresh install locally, I stop FusionAuth and delete the database and the database user. Then I restart FusionAuth and visit the FusionAuth app. This starts up maintenance mode which reinstalls everything. I'm not super familiar with running FusionAuth in k8s, but I think you could do the same thing there.

        If you want to maintain some configuration between the installations, you may want to write a base configuration Kickstart file. More details here: https://fusionauth.io/docs/v1/tech/installation-guide/kickstart/

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        S 1 Reply Last reply Reply Quote 0
        • S
          shaunladd @dan
          last edited by

          Thanks @dan. We actually do have a kickstart file in place in our Helm chart but in the case that we want to start fresh, I assumed that deleting our Helm chart which includes our Postgresql DB would do just that, but that assumption is incorrect. So far the only way I have found to start fresh is to delete the EKS cluster and rebuild from the ground up.

          1 Reply Last reply Reply Quote 0
          • danD
            dan
            last edited by

            Sorry, no kub expert here. I'm not sure how to teardown just the database, but I assume you could write a script to connect to the backing database and drop the tables/schema, etc. That might be quicker than dropping the entire cluster.

            If you figure out a better way, please share!

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            1 Reply Last reply Reply Quote 0
            • First post
              Last post