generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Monitoring and Alerting service with Sysdig Monitor
Maria Martinez edited this page Aug 31, 2022
·
2 revisions
Please use the following steps to setup the Sysdig monitoring and alerting service:
-
Compose a sysdig-team object manifest (YAML file). Here is a sample:
apiVersion: ops.gov.bc.ca/v1alpha1 kind: SysdigTeam metadata: name: d736c3-sysdigteam namespace: d736c3-tools spec: team: description: The Sysdig Team for the FSA Namespaces users: - name: [email protected] role: ROLE_TEAM_EDIT - name: [email protected] role: ROLE_TEAM_MANAGER
-
Apply the sysdig-team manifiest to create the on Sysdig
2.1. Use the tools project
oc project <LICENSE_PLATE>-tools
Example:
oc project d736c3-tools
2.2. Apply the manifest
oc apply -f sysdig-team-file.yaml
Example:
oc apply -f C:\repo\nr-old-growth\appmonitorig\sysdig.yaml
- Verify that the sysdig team was applied and it is running successfully
oc describe sysdig-team <LICENSE_PLATE>-sysdigteam
Example:
oc describe sysdig-team d736c3-sysdigteam
-
Log in into Sysdig Cloud using the OpenID option and in the Company Name field use bcdevops.
-
Finally, make sure your team has been created by checking the namespace on the Sysdig Cloud:
In case you don't see your sysdig team on the Sysdig Cloud, please follow the following steps:
-
Check if there are any existing sysdig team
oc -n <LICENSE_PLATE>-<ENVIRONMENT> get sysdig-teams
-
If there is any, please delete it as follows
oc delete sysdig-team d736c3-sysdigteam
https://developer.gov.bc.ca/Developer-Tools/Set-up-a-team-in-Sysdig-Monitor#troubleshooting