Giter Club home page Giter Club logo

Comments (7)

vitobotta avatar vitobotta commented on May 29, 2024

Hi, when you create a cluster you specify your public SSH key in the config file for the cluster. You can use the corresponding private key with the root user to SSH into the instances. The installer doesn't create a new SSH key, it just uses what you specify. You shouldn't need the password. Try with

ssh -i <path of private key> root@<ip address>

from hetzner-k3s.

vitobotta avatar vitobotta commented on May 29, 2024

But, after re-reading, I am not sure of what you are trying to do exactly. Can you clarify?

from hetzner-k3s.

1mfaasj avatar 1mfaasj commented on May 29, 2024

Ive applied a nextcloud deployment and it is using the hetzner storage class to put application files on a hetzner volume for persistent storage.
I need to edit a file on the volume
But i dont know how to do that the quickest way

from hetzner-k3s.

vitobotta avatar vitobotta commented on May 29, 2024

Is the volume attached and mounted to a pod? If yes you can just exec into the pod to access the volume. If it's not attached to a pod you could run a temporary pod with Ubuntu image or something and mount the volume there.

from hetzner-k3s.

1mfaasj avatar 1mfaasj commented on May 29, 2024

Hi. Yes the volume is in use by the pod.
I can use the exec command to put files on the volume but not view the file right? On my notepad for instance
So i need to view a file put a some lines in it and save it agian
Thats not possible with exec i thought

from hetzner-k3s.

vitobotta avatar vitobotta commented on May 29, 2024

It depends on the image used for the container in the pod. If it's running as root you may be able to install and run vim or something and edit the file that way.

from hetzner-k3s.

1mfaasj avatar 1mfaasj commented on May 29, 2024

thanks Vito!

from hetzner-k3s.

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.