This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groups: | |
- name: bosh-system | |
rules: | |
- alert: BOSHVMLowFreeRAM | |
expr: avg(system_mem_percent{exported_job!~"^compilation.*",deployment!="bosh-health"}) by(system_domain, deployment, exported_job, index) > 90 | |
for: 10m | |
labels: | |
service: bosh-system | |
severity: warning | |
annotations: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: monitoring.coreos.com/v1 | |
kind: PrometheusRule | |
metadata: | |
name: ingress-certificate-expiry | |
namespace: monitoring | |
labels: | |
prometheus: k8s | |
role: alert-rules | |
spec: | |
groups: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources: | |
- name: test-file | |
type: s3 | |
source: | |
endpoint: http://MY_MINIO_ENDPOINT:9000 | |
access_key_id: MY_ACCESS_KEY | |
bucket: concourse-resources | |
secret_access_key: MY_SECRET | |
regexp: test-(.*).txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
az-configuration: | |
- name: ((availability_zones.0)) | |
- name: ((availability_zones.1)) | |
- name: ((availability_zones.2)) | |
network-assignment: | |
network: | |
name: management | |
singleton_availability_zone: | |
name: ((availability_zones.0)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
opsman-configuration: | |
vsphere: | |
vcenter: | |
url: ((vcenter_host)) | |
username: ((vcenter_username)) | |
password: ((vcenter_password)) | |
datastore: ((vcenter_datastore)) | |
# ca_cert: TODO: add to terraform if necessary | |
host: example-host # vCenter host to deploy Ops Manager in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dependencies | |
# cli: kubectl, pks, om, yq | |
alias k=kubectl | |
alias kube=kubectl | |
alias kube-use-ns="kubectl config set-context $(kubectl config current-context) --namespace" | |
pks-get-admin-pw() { | |
om curl --path "https://example.com/api/v0/deployed/products/$pks_product_id/credentials/.properties.uaa_admin_password" | jq -r ".credential.value.secret" 2> /dev/null | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# depends on: | |
# CLIs: bosh, fly, credhub, om | |
# aliases: bosh_env_aliases (another of my gists) | |
alias fly='fly -t concourse' | |
alias whichom="env | grep -i om_" | |
alias ch=credhub | |
fly-cp-login() { | |
# arg[1] - control plane external url (no port) |
NewerOlder