mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 20:05:46 +08:00
add hostPath for netclient log file in k8s client yaml
This commit is contained in:
parent
2bd38def35
commit
7824451de4
1 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,8 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /etc/netclient
|
- mountPath: /etc/netclient
|
||||||
name: etc-netclient
|
name: etc-netclient
|
||||||
|
- mountPath: /var/log/netclient.log
|
||||||
|
name: log-netclient
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -42,3 +44,7 @@ spec:
|
||||||
path: /etc/netclient
|
path: /etc/netclient
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: etc-netclient
|
name: etc-netclient
|
||||||
|
- hostPath:
|
||||||
|
path: /var/log/netclient.log
|
||||||
|
type: FileOrCreate
|
||||||
|
name: log-netclient
|
||||||
|
|
Loading…
Add table
Reference in a new issue