-
Notifications
You must be signed in to change notification settings - Fork 0
ROX-35145: Use roxie in long-running release cluster setup
#98
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
base: main
Are you sure you want to change the base?
Changes from all commits
732fff1
03a3607
1ba316d
406da5e
23e5bdf
cd90b1f
616261e
b9787b6
c0a7274
5becf58
52a3ffa
465185b
d5b4f6d
3dfcf7d
eb10e35
7c8ad6a
463af65
f080ee0
8f769d0
d86a4e4
4cb3535
c2cbe4a
8bbcc3d
3d3837e
ae91988
d525279
8fe110e
d9f5c08
80cd4f9
d8bfcf2
94da706
f4d4355
9155138
edf348b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ inputs: | |
| required: true | ||
| default: "" | ||
| stackrox-dir: | ||
| description: Where the stackrox directory is located | ||
| description: Where the stackrox directory is located (needed for monitoring chart) | ||
| required: true | ||
| default: "" | ||
| name: | ||
|
|
@@ -42,24 +42,15 @@ runs: | |
|
|
||
| - id: launch-central | ||
| env: | ||
| ROX_PRODUCT_BRANDING: RHACS_BRANDING | ||
| MAIN_IMAGE_TAG: ${{ inputs.main-image-tag }} | ||
| API_ENDPOINT: localhost:8000 | ||
| STORAGE: pvc # Backing storage | ||
| STORAGE_CLASS: faster # Runs on an SSD type | ||
| STORAGE_SIZE: "100" # 100G | ||
| MONITORING_SUPPORT: "true" # Runs monitoring | ||
| LOAD_BALANCER: lb | ||
| SECURED_CLUSTER_AUTO_LOCK_PROCESS_BASELINES: "true" | ||
| ROX_ADMIN_USERNAME: admin | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you comment in the PR why these environment variables are being removed and what impact removing them will have? Some of them may be in the roxie config. Others are being removed entirely. Also there are comments for some of these in
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added a table to the PR description, and updated the comments. |
||
| MONITORING_SUPPORT: "true" | ||
| PAGERDUTY_INTEGRATION_KEY: ${{ inputs.pagerduty-integration-key }} | ||
| ROX_ADMIN_USERNAME: admin | ||
| REGISTRY_USERNAME: ${{ inputs.registry-username }} | ||
| REGISTRY_PASSWORD: ${{ inputs.registry-password }} | ||
| KUBECONFIG: ${{ inputs.kubeconfig }} | ||
| STACKROX_DIR: ${{ inputs.stackrox-dir }} | ||
| NAME: ${{ inputs.name }} | ||
| ROX_TELEMETRY_STORAGE_KEY_V1: R5fMyO9n0gibSGzOXtlP2qCFWCGb8uoW | ||
| ROX_SCANNER_V4: "true" | ||
| run: | | ||
| set -uo pipefail | ||
| "${GITHUB_ACTION_PATH}/../../common/common.sh" \ | ||
|
|
@@ -73,3 +64,6 @@ outputs: | |
| central-ip: | ||
| description: The ip address of central | ||
| value: ${{steps.launch-central.outputs.central-ip}} | ||
| ca-cert: | ||
| description: Base64-encoded Central CA certificate | ||
| value: ${{steps.launch-central.outputs.ca-cert}} | ||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,127 @@ | ||
| # Resource requests, limits, and scaling settings below are tuned to match | ||
| # the previous deploy-scripts-based flow. They may be adjusted in the future | ||
| # to better resemble a typical customer deployment. | ||
| central: | ||
| namespace: stackrox | ||
| pauseReconciliation: true | ||
| spec: | ||
| central: | ||
| exposure: | ||
| loadBalancer: | ||
| enabled: true | ||
| monitoring: | ||
| exposeEndpoint: Enabled | ||
| resources: | ||
| requests: | ||
| memory: "3Gi" | ||
| cpu: "2" | ||
| limits: | ||
| memory: "12Gi" | ||
| cpu: "4" | ||
| db: | ||
| resources: | ||
| requests: | ||
| cpu: "1" | ||
| memory: "1Gi" | ||
| limits: | ||
| cpu: "8" | ||
| memory: "16Gi" | ||
| persistence: | ||
| persistentVolumeClaim: | ||
| storageClassName: premium-rwo | ||
| size: "100Gi" | ||
| scanner: | ||
| scannerComponent: Enabled | ||
| analyzer: | ||
| scaling: | ||
| autoScaling: Enabled | ||
| minReplicas: 1 | ||
| maxReplicas: 5 | ||
| replicas: 1 | ||
| monitoring: | ||
| exposeEndpoint: Enabled | ||
| customize: | ||
| envVars: | ||
| - name: MUTEX_WATCHDOG_TIMEOUT_SECS | ||
| value: "0" | ||
| - name: ROX_EXTERNAL_IPS | ||
| value: "true" | ||
| - name: ROX_NETWORK_GRAPH_EXTERNAL_IPS | ||
| value: "true" | ||
| - name: ROX_AUTO_LOCK_PROCESS_BASELINES | ||
| value: "true" | ||
| - name: ROX_BASELINE_GENERATION_DURATION | ||
| value: "3m" | ||
| - name: ROX_TELEMETRY_STORAGE_KEY_V1 | ||
| value: "R5fMyO9n0gibSGzOXtlP2qCFWCGb8uoW" | ||
|
porridge marked this conversation as resolved.
|
||
| scannerV4: | ||
| scannerComponent: Enabled | ||
| monitoring: | ||
| exposeEndpoint: Enabled | ||
| db: | ||
| resources: | ||
| requests: | ||
| cpu: "500m" | ||
| indexer: | ||
| resources: | ||
| requests: | ||
| cpu: "400m" | ||
| scaling: | ||
| autoScaling: Disabled | ||
| replicas: 1 | ||
| matcher: | ||
| resources: | ||
| requests: | ||
| cpu: "400m" | ||
| scaling: | ||
| autoScaling: Disabled | ||
| replicas: 1 | ||
| securedCluster: | ||
| namespace: stackrox | ||
| pauseReconciliation: true | ||
| spec: | ||
| sensor: | ||
| resources: | ||
| requests: | ||
| memory: "3Gi" | ||
| cpu: "2" | ||
| limits: | ||
| memory: "12Gi" | ||
| cpu: "4" | ||
| scannerV4: | ||
| monitoring: | ||
| exposeEndpoint: Enabled | ||
| overlays: | ||
| - apiVersion: v1 | ||
| kind: Service | ||
| name: sensor | ||
| patches: | ||
| - path: spec.ports[-1] | ||
| value: | | ||
| name: monitoring | ||
| port: 9090 | ||
| protocol: TCP | ||
| targetPort: 9090 | ||
| - apiVersion: networking.k8s.io/v1 | ||
| kind: NetworkPolicy | ||
| name: sensor | ||
| patches: | ||
| - path: spec.ingress[-1] | ||
| value: | | ||
| ports: | ||
| - port: 9090 | ||
| protocol: TCP | ||
| processBaselines: | ||
| autoLock: Enabled | ||
| customize: | ||
| envVars: | ||
| - name: MUTEX_WATCHDOG_TIMEOUT_SECS | ||
| value: "0" | ||
| - name: ROX_FAKE_KUBERNETES_WORKLOAD | ||
| value: "long-running" | ||
| - name: ROX_NETFLOW_BATCHING | ||
| value: "true" | ||
| - name: ROX_NETFLOW_CACHE_LIMITING | ||
| value: "true" | ||
| - name: ROX_FAKE_WORKLOAD_STORAGE | ||
| value: "/var/cache/stackrox/pebble.db" | ||
Uh oh!
There was an error while loading. Please reload this page.