GithubHelp home page GithubHelp logo

Comments (3)

billimek avatar billimek commented on July 3, 2024

@botzill I wrote some instructions for my own gitops repo about doing just this (using an 'external' vault server as only an transit unsealer). It may be helpful for your use-case: https://github.com/billimek/k8s-gitops/tree/master/kube-system#vault-transit-unseal-server

from vault-helm.

botzill avatar botzill commented on July 3, 2024

thx @billimek

But in your case this transit unseal is a separate server and you are connecting to it from your k8s pod, right?

Is there anyway to make this automatically in the same k8s cluster?

I'm new to vault and still trying to understand and learn the basics.

Thx.

from vault-helm.

billimek avatar billimek commented on July 3, 2024

I think it could be done such that a second vault server is deployed to the k8s cluster to act as a transit unseal vault server, however:

The second transit vault server will itself become sealed whenever the pod is restarted via the k8s scheduler or some other reason. This will result in the primary vault server not being able to auto-unseal itself while the transit vault server is sealed.

I experimented with this a bit by having two different vault servers act as transit servers for each-other and was dismayed to find that if they both restarted, everything became sealed. Therefore running the vault unseal server externally made more sense (to me at least).

I do wonder if running vault or the vault unseal server in an HA mode would help mitigate the the issues I describe above.

from vault-helm.

Related Issues (20)

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.