Skip to content

Commit

Permalink
add hostPath for netclient log file in k8s client yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yabinma committed May 20, 2024
1 parent 2bd38de commit 7824451
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions k8s/client/netclient.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,16 @@ spec:
volumeMounts:
- mountPath: /etc/netclient
name: etc-netclient
- mountPath: /var/log/netclient.log
name: log-netclient
securityContext:
privileged: true
volumes:
- hostPath:
path: /etc/netclient
type: DirectoryOrCreate
name: etc-netclient
- hostPath:
path: /var/log/netclient.log
type: FileOrCreate
name: log-netclient

0 comments on commit 7824451

Please sign in to comment.