Skip to content

Instantly share code, notes, and snippets.

@ralvares
Last active July 3, 2024 08:48
Show Gist options
  • Save ralvares/ab8f7b4665151036d363bcf7b776fef2 to your computer and use it in GitHub Desktop.
Save ralvares/ab8f7b4665151036d363bcf7b776fef2 to your computer and use it in GitHub Desktop.
secure-cluster.yaml
apiVersion: platform.stackrox.io/v1alpha1
kind: Central
metadata:
name: stackrox-central-services
namespace: stackrox
spec:
monitoring:
openshift:
enabled: true
central:
notifierSecretsEncryption:
enabled: false
resources:
limits:
cpu: 2
memory: 6Gi
requests:
cpu: 500m
memory: 100Mi
exposure:
loadBalancer:
enabled: false
port: 443
nodePort:
enabled: false
route:
enabled: true
telemetry:
enabled: false
db:
isEnabled: Default
persistence:
persistentVolumeClaim:
claimName: central-db
resources:
requests:
cpu: 100m
memory: 50Mi
ephemeral-storage: 50Mi
persistence:
persistentVolumeClaim:
claimName: stackrox-db
egress:
connectivityPolicy: Online
scannerV4:
db:
persistence:
persistentVolumeClaim:
claimName: scanner-v4-db
resources:
limits:
cpu: 2
memory: 6Gi
requests:
cpu: 500m
memory: 100Mi
indexer:
scaling:
autoScaling: Disabled
maxReplicas: 5
minReplicas: 2
replicas: 1
resources:
limits:
cpu: 2
memory: 6Gi
requests:
cpu: 500m
memory: 100Mi
matcher:
scaling:
autoScaling: Disabled
maxReplicas: 5
minReplicas: 2
replicas: 1
resources:
limits:
cpu: 2
memory: 6Gi
requests:
cpu: 500m
memory: 100Mi
scannerComponent: Default
scanner:
analyzer:
scaling:
autoScaling: Disabled
maxReplicas: 5
minReplicas: 2
replicas: 1
resources:
limits:
cpu: 2
memory: 6Gi
requests:
cpu: 500m
memory: 100Mi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment