Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement(helm): Allow deploying as a DaemonSet #1658

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tcolgate
Copy link
Contributor

Description

This adds support to the chart for deploying as a DaemonSet, and adds additional options
that are common in that scenario. The new settings are

  • type: defaults to deployment, but can be set to daemonset
  • priorityClassName: allows setting the pod priorityClassName
  • service.internalTrafficPolicy: allows forcing traffic to this service to the local pod instance.

TODO:

  • Not tested at all
  • should add schema validation of the fields

Fixes #1640

  • The PR title has the correct prefix
  • PR is linked to the corresponding issue
  • All commits are signed-off (git commit -s ...) to provide the DCO

@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Merging #1658 (c3f5b88) into main (37762a8) will decrease coverage by 0.41%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1658      +/-   ##
==========================================
- Coverage   53.59%   53.19%   -0.41%     
==========================================
  Files         130      131       +1     
  Lines       14963    15303     +340     
==========================================
+ Hits         8020     8140     +120     
- Misses       6245     6456     +211     
- Partials      698      707       +9     

see 28 files with indirect coverage changes

@charithe
Copy link
Contributor

charithe commented Jun 22, 2023

Fixes cerbos#1640

Signed-off-by: Tristan Colgate-McFarlane <tristan@cerbos.dev>

image:daemonset_deployment.png[DaemonSet model,role="center-img"]

* Each clusster node gets its own Cerbos instance — ensuring high performance and efficient resource usage.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo s/clusster/cluster/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support DaemonSet deployment from helm
3 participants