isabella232 / Kube-cloud-scripts

Bash utility scripts that use kubernetes and cloud platforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kube-cloud-scripts

Bash utility scripts for kubectl and cloud providers.

Script Prefix Description
ic IBM Cloud
kc Kubernetes kubectl

ic_create_cluster.sh

Creates a cluster using IBM Cloud Kubernetes Service. The script will automatically figure out public and private VLANS for the region/zone used.

Required:
	--name <cluster-name>
Optional (defaults):
	--region us-east
	--zone wdc07
	--machine-type u2c.2x4
	--workers 2sh

kc_create_razeedash_config.sh

Creates a kubernetes configmap razeedash-configmap in razee namespace

Example:

./bin/kc_create_razeedash_config.sh

kc_delete_kapitan_delta.sh

Removes Kapitan delta from Kubernetes cluster.

Example:

./bin/kc_delete_kapitan_delta.sh

kc_logs.sh

Fetches logs for all Kubernetes pods under namespace/application name for the last duration in time.

./bin/kc_logs.sh <namespace> <application name> <time duration>

Example:

./bin/kc_logs.sh default myapp 10m

About

Bash utility scripts that use kubernetes and cloud platforms

License:Apache License 2.0


Languages

Language:Shell 100.0%