- protect information, systems, and assets while delivering business value
- utilising risk assessments and mitigation strategies
- ability to recover from infrastructure or service failures
approvers | title | ||||
---|---|---|---|---|---|
|
kubectl Cheat Sheet |
See also: Kubectl Overview and JsonPath Guide.
#TODO: Create exclude args for platforms | |
download-splunk() { | |
# Where to store the platform and forwarder packages | |
local SPLUNK_BIN_DIR=/srv/splunk-platform | |
local SPLUNK_UF_DIR=/srv/splunk-uf | |
[[ -d ${SPLUNK_BIN_DIR} ]] || mkdir -p ${SPLUNK_BIN_DIR} | |
[[ -d ${SPLUNK_UF_DIR} ]] || mkdir -p ${SPLUNK_UF_DIR} |
= Resources = | |
* zsh - http://www.zsh.org/ | |
* ZSH-LOVERS - http://grml.org/zsh/zsh-lovers.html | |
* manual - http://zsh.sourceforge.net/Doc/Release/index.html | |
* oh-my-zsh - https://github.com/robbyrussell/oh-my-zsh | |
* prezo - https://github.com/sorin-ionescu/prezto | |
* zsh-users - https://github.com/zsh-users | |
= Functions = |
# | |
# mpv configuration file | |
# | |
# See the CONFIGURATION FILES section in the man page | |
# for a detailed description of the syntax. | |
# | |
# Profiles should be placed at the bottom of the configuration file to ensure | |
# that settings wanted as defaults are not restricted to specific profiles. | |
# | |
# Note that the commented example options usually do _not_ set the default |
bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9000)" != "200" ]]; do sleep 5; done' | |
# also check https://gist.github.com/rgl/c2ba64b7e2a5a04d1eb65983995dce76 |
Q1. The metric node_cpu_temp_celcius
reports the current temperature of a nodes CPU in celsius. What query will return the average temperature across all CPUs on a per node basis? The query should return {instance=“node1”} 23.5 //average temp across all CPUs on node1 {instance=“node2”} 33.5 //average temp across all CPUs on node2.
node_cpu_temp_celsius{instance="node1", cpu="0"} 28
node_cpu_temp_celsius{instance="node1", cpu="1"} 19
node_cpu_temp_celsius{instance="node2", cpu="0"} 36
node_cpu_temp_celsius{instance="node2", cpu="1"} 31
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
username = pksunkara | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |