Skip to content
  • Emily Chui's avatar
    Gitaly: Add support for cgroups · 56a72a87
    Emily Chui authored and Jason Plum's avatar Jason Plum committed
    Add support for cgroups to Gitaly chart.
    
    This implementation includes temporary patterns 
    due to https://github.com/kubernetes/kubernetes/issues/121190
    as found in gitlab-org/gitaly#5833
    
    The use of `gitaly-init-cgroups`, pending upstream support, requires
    use of `root` user, and passes a mount point to the `gitaly`
    container via Volume definition. This is not ideal, and will not
    work for all users.
    
    Related to this, is the use of defining the
    mountpoint for the cgroup, passed as gomplate through Helm property.
    
    - When k8s natively supports this, this pattern will be removed.
    - We will remove this with priority, to prevent maintenance issues.
    
    This temporary pattern will not be supported for customer use.
    
    See also gitlab-org/gitaly#6006
    56a72a87