This file contains hidden or 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
curl 127.0.0.1:19323/v1/metrics | |
# HELP container_cpu_nr_periods_total Current cpu number of periods (only if controller is enabled) | |
# TYPE container_cpu_nr_periods_total gauge | |
container_cpu_nr_periods_total{container_id="51e3cb139e95dab950e416f13ef2b29908571c46a2cc2efe21fb187d3fb2b233",namespace="moby",runtime="io.containerd.runc.v2"} 66 | |
container_cpu_nr_periods_total{container_id="ad31a5f14f64c7a21484b7226b75b2b32a7c9c338e2815037e960e5392eb05f5",namespace="moby",runtime="io.containerd.runc.v2"} 169 | |
container_cpu_nr_periods_total{container_id="fbc32883407b0f7a849f2fcb1f3e4d0020c5edbafa5e97e8135a173c0858d704",namespace="moby",runtime="io.containerd.runc.v2"} 0 | |
# HELP container_cpu_nr_throttled_total Total number of times tasks have been throttled (only if controller is enabled) | |
# TYPE container_cpu_nr_throttled_total gauge | |
container_cpu_nr_throttled_total{container_id="51e3cb139e95dab950e416f13ef2b29908571c46a2cc2efe21fb187d3fb2b233",namespace="moby",runtime="io.containerd.runc.v2"} 57 | |
container_cpu_nr_throttl |
This file contains hidden or 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
https://github.com/IBM/grafana-mezmo-datasource without MANIFEST.txt |
This file contains hidden or 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: kyverno.io/v1 | |
kind: ClusterPolicy | |
metadata: | |
name: replace-image-registry-docker | |
annotations: | |
pod-policies.kyverno.io/autogen-controllers: none | |
spec: | |
background: false | |
rules: |
This file contains hidden or 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
cat << EOF > config.bu | |
variant: fcos | |
version: 1.4.0 | |
passwd: | |
users: | |
- name: sleeper | |
uid: 1001 | |
storage: | |
links: | |
- path: /home/sleeper/.config/systemd/user/sockets.target.wants/podman.socket |
This file contains hidden or 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
helmDefaults: | |
wait: true | |
repositories: | |
- name: bitnami | |
url: https://charts.bitnami.com/bitnami | |
- name: dex | |
url: https://charts.dexidp.io | |
- name: dysnix | |
url: https://dysnix.github.io/charts |
This file contains hidden or 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
variable "password" { default = "" } | |
resource "random_string" "string" { | |
length = "12" | |
count = "${var.password == "" ? 1 : 0 }" | |
} | |
locals { | |
pwd = "${ element(concat(random_string.string.*.result, list("")), 0) != "" ? element(concat(random_string.string.*.result, list("")), 0) : var.password }" |
This file contains hidden or 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
- name: test | |
hosts: localhost | |
gather_facts: false | |
vars: | |
containers: | |
grafana: | |
variables: | |
docker: | |
foo1: "https://etcd/foo1" |
This file contains hidden or 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
--- | |
- name: test | |
hosts: localhost | |
connection: local | |
gather_facts: no | |
vars: | |
containers: | |
grafana: | |
image: grafana/grafana:6.0.0 |
This file contains hidden or 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
--- | |
- name: test | |
hosts: localhost | |
connection: local | |
vars: | |
containers: | |
grafana: | |
image: grafana/grafana:6.0.0 | |
ports: 3000:3000 |
This file contains hidden or 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
# Create DMC groups | |
# This is basically updating the system/local/distsearch.conf | |
# I got all the IPs used below from /servicesNS/admin/-/search/distributed/peers. I used DNS names for search head (I had only one SH) and cluster master. So it was easy to separate the indexer IPs. | |
# 8089 is my API PORT | |
curl -k -u <user>:<password> <Monitoring Console>/services/search/distributed/groups -d name=dmc_group_search_head -d member=<search_head_member1:8089> -d member=<search_head_member2:8089> -d default=false | |
curl -k -u <user>:<password> <Monitoring Console>/services/search/distributed/groups -d name=dmc_group_cluster_master -d member=<cluster_master:8089> -d default=false | |
curl -k -u <user>:<password> <Monitoring Console>/services/search/distributed/groups -d name=dmc_group_indexer -d member=<indexer1:8089> -d member=<indexer2:8089> -d default=true # not idea why default=true for indexers | |
curl -k -u <user>:<password> <Monitoring Console>/services/search/distributed/groups -d name=dmc_indexerclustergroup_<CLUSTER_L |
NewerOlder