Code Monkey home page Code Monkey logo

Comments (7)

sethvargo avatar sethvargo commented on August 25, 2024

Hi @samuelbaruffi

Can you share more of that screenshot? The logs should be there, including the Vault startup logs. Can you make sure you're looking at the correct container? What does kubectl get logs show for that container?

from vault-on-google-kubernetes-engine.

samuelbaruffi avatar samuelbaruffi commented on August 25, 2024

Thanks for the quick reply @sethvargo .

See the full screenshot below (hiding few fields for security reasons):

screen shot 2018-10-11 at 2 29 24 pm

The logs for the vault-init containers are being saved to Stackdriver, but for the vault container it does not seem they are. See screenshot below fir the vault-init container in the pod that is working on Stackdriver:

screen shot 2018-10-11 at 2 35 16 pm

If I run kubectl logs vault-0 -f vault I'm able to see all the audit logs.

Thanks for the help!

from vault-on-google-kubernetes-engine.

sethvargo avatar sethvargo commented on August 25, 2024

Hmm - that's really weird, since they are deployed the same. Are you able to reproduce it on a new cluster?

from vault-on-google-kubernetes-engine.

samuelbaruffi avatar samuelbaruffi commented on August 25, 2024

I'd have to try creating a new cluster and building Vault again.

I'll post the results once I am able to replicate the environment in a new cluster.

Let me know if you find anything meanwhile.

Thank you.

from vault-on-google-kubernetes-engine.

sethvargo avatar sethvargo commented on August 25, 2024

I'm not able to reproduce it on my end. If you're familiar with Terraform, github.com/sethvargo/vault-on-gke is a one-command version of this same thing.

from vault-on-google-kubernetes-engine.

samuelbaruffi avatar samuelbaruffi commented on August 25, 2024

Thank you @sethvargo,

I'll try to use the Terrraform script for my testing.

For now I'll go ahead and close this ticket.

Sam.

from vault-on-google-kubernetes-engine.

MaxDiOrio avatar MaxDiOrio commented on August 25, 2024

I'm seeing issues with logging with the Terraform script. Absolutely 0 Kubernetes logs in Stackdriver. But viewing kubectl logs for the Vault container shows the audit logs properly.

For a cluster created "manually" through the GCloud UI, you can see the K8S logs:
image

For the Vault cluster created through the Terraform, nothing.
image

from vault-on-google-kubernetes-engine.

Related Issues (15)

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.