Skip to content

Instantly share code, notes, and snippets.

Brian Kopp BrianKopp

Block or report user

Report or block BrianKopp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View An Example Prometheus Operator

Example Prometheus Operator Values.yaml

BrianKopp / A k8s custom external metrics
Last active Aug 5, 2019
Explains how to scale k8s deployment based on custom external metric
View A k8s custom external metrics

Kubernetes External Metric

This gist contains files used to scale a kubernetes deployment based on some other arbitrary/external metric.

BrianKopp / A k8s custom metrics
Last active Aug 4, 2019
Kubernetes Connection Count Custom Metrics
View A k8s custom metrics

K8s Custom Metrics

These files accompany a set of blog posts describing kubernetes custom metrics.

BrianKopp /
Last active Jun 16, 2019
Rust CLI to read file and print word count
use std::env;
use std::fs;
use std::process;
use std::io;
fn main() {
let args: Vec<String> = env::args().collect();
let file_name = &args[1];
let file_content_result = fs::read_to_string(file_name);
BrianKopp / nginx-config.yaml
Created Jun 13, 2019
Kubernetes nginx DaemonSet basic config
View nginx-config.yaml
apiVersion: apps/v1
kind: DaemonSet
name: nginx
app: nginx
app: nginx
BrianKopp / first-deploy.yaml
Created Jun 13, 2019
Basic Kubernetes hello world deployment and service
View first-deploy.yaml
apiVersion: apps/v1
kind: Deployment
name: hello-world
app: hello-world-app
replicas: 1
You can’t perform that action at this time.