K8s create volume type for hosts,But no create path #1341
Answered
by
Stitch-XIN-CHEN
Stitch-XIN-CHEN
asked this question in
Q&A
Replies: 2 comments
-
Where are you searching for Also, please use backticks ( ` ) for highlighting code and triple backticks ( ``` ) for code blocks (or use GitHub's text highlighting buttons) |
Beta Was this translation helpful? Give feedback.
0 replies
-
thank sir, this question is my question,
I use "kuebctl describe pod my-pod" observer Volumes path is no "ak",
I use "k3d cluster create mycluster3 --volume /my/host/path:/ak" verify my idea,
Finally successful
……
***@***.***
…------------------ 原始邮件 ------------------
发件人: "k3d-io/k3d" ***@***.***>;
发送时间: 2023年8月22日(星期二) 晚上7:18
***@***.***>;
***@***.******@***.***>;
主题: Re: [k3d-io/k3d] K8s create volume type for hosts,But no create path (Discussion #1341)
Where are you searching for /ak? On your host system? If so, did you mount the path into the cluster nodes when creating the cluster with k3d?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
iwilltry42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question / Where do you need Help?
Question: K8s create volume type for hosts,But no create path
Help: I Wanna know the reason
Scope of your Question
1.this is my yaml
k8s volume create host volume default is DirectoryOrCreate,
but no 'ak',
I try create path name is 'ak', and create 'ok.txt' under the 'ak',
use 'kuebctl exec -it my-pod /bin/bash',
after 'ls /a1',
the path 'a1' is empty,
so I no way resolve this question,
Sir,help me
Beta Was this translation helpful? Give feedback.
All reactions