Skip to content

Instantly share code, notes, and snippets.

View trejo08's full-sized avatar

Juan Trejo trejo08

View GitHub Profile
@trejo08
trejo08 / k8s-autoscaler-commands.txt
Created January 27, 2021 14:17
k8s cluster autoscaler command line options for version v1.18.3
$ docker run k8s.gcr.io/autoscaling/cluster-autoscaler:v1.18.3 /cluster-autoscaler -h
Usage of /cluster-autoscaler:
pflag: help requested
--add-dir-header If true, adds the file directory to the header
--address string The address to expose prometheus metrics. (default ":8085")
--alsologtostderr log to standard error as well as files
--aws-use-static-instance-list Should CA fetch instance types in runtime or use a static list. AWS only
--balance-similar-node-groups Detect similar node groups and balance the number of nodes between them
--cloud-config string The path to the cloud provider configuration file. Empty string for no configuration file.
--cloud-provider string
@trejo08
trejo08 / .screenrc
Created September 29, 2021 02:29 — forked from phawk/.screenrc
Sample screenrc
# Save this in ~/.screenrc
# Use bash
shell /bin/bash
autodetach on
# Big scrollback
defscrollback 5000