- First we want to create a namespace for the datadog agent:
oc new-project datadog
- Once you create the namespace, lets create secrets to hold the appkey and apikey:
datadog: | |
clusterName: openshift | |
apiKey: <API_KEY> | |
appKey: <APP_KEY> | |
site: datadoghq.com | |
apm: | |
portEnabled: true | |
logs: | |
enabled: true | |
containerCollectAll: true |
This gist is mostly based on the dnsmasq appendix from the openshift-training repo. However, I updated it and included fixes for the many gotchas I found along the way.
This is useful for folks who want to set up a DNS service as part of the cluster itself, either because they cannot easily change their DNS setup outside of the cluster, or just because they want to keep the cluster setup self-contained.
Clone the openshift-ansible repo, check out the 3.9 branch.
# git clone https://github.com/openshift/openshift-ansible.git
# cd openshift-ansible
# git checkout release-3.9
Create an inventory, I'm calling it 2-node.yml
, with contents like these, substituting your correct master and node hostnames:
"use strict"; | |
var sys = require("system"), | |
page = require("webpage").create(), | |
logResources = false; | |
if (sys.args.length > 1 && sys.args[1] === "-v") { | |
logResources = true; | |
} |
I hereby claim:
To claim this, I am signing this object:
# Create own window instead of using desktop (required in nautilus) | |
# own_window yes | |
# own_window_type override | |
background no | |
own_window yes | |
own_window_type normal | |
own_window_transparent yes | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
# Use double buffering (reduces flicker, may not work for everyone) |
--- | |
# ^^^ YAML documents must begin with the document separator "---" | |
# | |
#### Example docblock, I like to put a descriptive comment at the top of my | |
#### playbooks. | |
# | |
# Overview: Playbook to bootstrap a new host for configuration management. | |
# Applies to: production | |
# Description: | |
# Ensures that a host is configured for management with Ansible. |