apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: kube-system

resources:
  - https://github.com/kubernetes/kube-state-metrics/examples/autosharding
  - ./base
replicas:
  - name: kube-state-metrics
    count: 2
    
patches:
- path: extra/elastic-agent-standalone-statefulset.yaml
  target:
    kind: StatefulSet

