pixie icon indicating copy to clipboard operation
pixie copied to clipboard

How deploy vizier components with changes in daemonsets (hostPath changes)

Open arnikasky opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. We need a description of how we can deploy vizier with custom changes in components.

Describe the solution you'd like I want have documentation of how we can deploy vizier with custom changes in components.

Describe alternatives you've considered

Additional context My main question is: how can I deploy vizier components with changes in daemonsets (I need change hostPath due to security checks, which are implemented in my cluster).

Sorry, if it's wrong type of issue, please feel free to change it.

arnikasky avatar May 26 '22 21:05 arnikasky

Answer from @aimichelle via Pixie's Community Slack:

If you are deploying Pixie using the CLI, you can use the patches flag which behaves like patching in kubectl:

px deploy --patches='vizier-pem:{"spec":{"template":{"spec":{"volumes":[{"name":"sys","hostPath": {"path":"/var/log/sys","type":"Directory"}}]}}}}'             

htroisi avatar May 27 '22 00:05 htroisi