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
commit 23771872a3ce515e80749c6dfc29da2043b60a78 | |
Author: Simon Murray <[email protected]> | |
Date: Wed Oct 30 13:12:23 2024 +0000 | |
Make This Usable | |
diff --git a/Makefile b/Makefile | |
index e518fdf..5b98ade 100644 | |
--- a/Makefile | |
+++ b/Makefile |
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
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
nodes: | |
- role: control-plane | |
- role: worker | |
- role: worker |
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
#!/bin/bash | |
kind create cluster --config ~/kind/3-node.yaml | |
kubectl label node kind-control-plane failure-domain.beta.kubernetes.io/zone=twilight | |
kubectl label node kind-worker failure-domain.beta.kubernetes.io/zone=end | |
kubectl label node kind-worker2 failure-domain.beta.kubernetes.io/zone=danger |
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
package main | |
import ( | |
"crypto/dsa" | |
"crypto/rand" | |
"crypto/sha256" | |
"fmt" | |
"math/big" | |
"strings" | |
) |
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
#!/usr/bin/python | |
import random | |
import sys | |
# Given an XxY array... | |
X = 24 | |
Y = 16 | |
# ... This is modelled as nested lists for O(1) element access times |
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
{ | |
"annotations": { | |
"list": [] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 1, | |
"hideControls": false, | |
"id": 10, | |
"links": [], |
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
#!/usr/bin/python | |
""" | |
Demo to showdown an instance | |
""" | |
import time | |
from keystoneauth1 import session | |
from keystoneauth1.identity import v3 | |
from novaclient import client as compute_client |
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_INFLUXDB", | |
"label": "influxDB", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "influxdb", | |
"pluginName": "InfluxDB" | |
} |
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
#!/usr/bin/env ruby | |
require 'base64' | |
require 'deep_merge' | |
require 'json' | |
require 'net/http' | |
require 'pp' | |
uri = URI("http://localhost:8500/v1/kv/#{ARGV[0]}?recurse") | |
raw = JSON.parse(Net::HTTP.get(uri)) |
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
diff --git a/doc/6-object-types.md b/doc/6-object-types.md | |
index b0779e8..822270d 100644 | |
--- a/doc/6-object-types.md | |
+++ b/doc/6-object-types.md | |
@@ -908,6 +908,45 @@ Configuration Attributes: | |
flush_interval | **Optional.** How long to buffer data points before transfering to InfluxDB. Defaults to `10s` | |
flush_threshold | **Optional.** How many data points to buffer before forcing a transfer to InfluxDB. Defaults | |
+### <a id="objecttype-influxdbwriter-instance-tags"></a> Instance Tagging | |
+ |
NewerOlder