Comments (7)
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.
But, after re-reading, I am not sure of what you are trying to do exactly. Can you clarify?
from hetzner-k3s.
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.
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.
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.
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.
thanks Vito!
from hetzner-k3s.
Related Issues (20)
- Can't create cluster from management server HOT 14
- Downtime when change number of nodes. HOT 5
- System Upgrade Controller does not target tainted nodes HOT 4
- Disabling kube-proxy configuration HOT 4
- Disabling Flannel results in connectivity problems (pods, nodes, deployments) HOT 2
- Cannot fetch server types with Hetzner API, please try again later HOT 2
- Can't execute "hetzner-k3s create --config cluster_config.yaml" - error Unhandled exception: SSL_CTX_new: error: [...] (OpenSSL::Error) HOT 6
- Deleting master1 destroys cluster HOT 5
- If node as IP ending with 1, lo is selected as flannel interface HOT 3
- Node pool with `instance_size: 0` and `autoscaling.min_instances: 0` still gets one node right away HOT 3
- Support taints/labels on autoscaled node pools HOT 3
- Question : How to add a new worker node pool HOT 4
- removing first master kills the cluster on re-running the script HOT 1
- Hangs on Validating Configuration HOT 13
- hetzner-k3s delete does not remove worker pool placement groups HOT 4
- Add volume to new server + mount HOT 1
- Rename cluster HOT 1
- Rescale Master Nodes from CPX11 to CPX21 HOT 1
- Cannot Upgrade k3s version HOT 5
- add flag to not disable metrics-server HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hetzner-k3s.