Skip to content

Instantly share code, notes, and snippets.

View iamabhishek-dubey's full-sized avatar
🎯
Focusing

Abhishek Dubey iamabhishek-dubey

🎯
Focusing
View GitHub Profile
Cortex Thanos
Recent data stored in injestors Recent data stored in Prometheus
Use Prometheus write API to write data at a remote location Use sidecar approach to write data at a remote location
Supports Long Term storage Supports Long term storage
HA is supported HA is not supported
Single setup can be integrated with multiple Prometheus Single setup can be associated with single Prometheus
<h3> I am a Windows IIS dummy APP </h3>
document.title = "tony-stark";
---
apiVersion: redis.opstreelabs.in/v1alpha1
kind: Redis
metadata:
name: redis
spec:
mode: cluster
size: 3
global:
image: opstree/redis:v2.0
# HELP jvm_classes_loaded The number of classes that are currently loaded in the JVM
# TYPE jvm_classes_loaded gauge
jvm_classes_loaded 8543.0
# HELP jvm_classes_loaded_total The total number of classes that have been loaded since the JVM has started execution
# TYPE jvm_classes_loaded_total counter
jvm_classes_loaded_total 8543.0
# HELP jvm_classes_unloaded_total The total number of classes that have been unloaded since the JVM has started execution
# TYPE jvm_classes_unloaded_total counter
jvm_classes_unloaded_total 0.0
# HELP jvm_info JVM version info

OSM Kafka Test Cases

Profile: Test cases for OSM Kafka Cluster (kafka-osm-test-cases)
Version: 0.1.0
Target:  local://

  ✔  zookeeper-01: Zookeeper file permissions
     ✔  File /opt/zookeeper is expected to exist
     ✔  File /opt/zookeeper owner is expected to eq "kafka"
filter {
json {
source => "message"
}
}
IMAGE_TAG=latest
build-image:
docker build -t opstree/terraform:${IMAGE_TAG} -f Dockerfile .
run-container:
docker run -itd --name terraform -v ~/.ssh:/root/.ssh/ -v ~/.aws:/root/.aws -v ${PWD}:/opstree/terraform opstree/terraform:${IMAGE_TAG}
plan-infra:
docker exec -t terraform bash -c "terraform plan"
FROM alpine:3.8
MAINTAINER OpsTree.com
ENV TERRAFORM_VERSION=0.11.10
ARG BASE_URL=https://releases.hashicorp.com/terraform
RUN apk add --no-cache curl unzip bash \
&& curl -fsSL -o /tmp/terraform.zip ${BASE_URL}/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \

Keybase proof

I hereby claim:

  • I am iamabhishek-dubey on github.
  • I am abhishek_dubey (https://keybase.io/abhishek_dubey) on keybase.
  • I have a public key ASBF6hyXlA2c4JviDmkoCYBKVmT9f7bMcmIxTWpdtSRvXwo

To claim this, I am signing this object: