Bash utility scripts for kubectl and cloud providers.
Script Prefix | Description |
---|---|
ic | IBM Cloud |
kc | Kubernetes kubectl |
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
Creates a kubernetes configmap razeedash-configmap in razee namespace
Example:
./bin/kc_create_razeedash_config.sh
Removes Kapitan delta from Kubernetes cluster.
Example:
./bin/kc_delete_kapitan_delta.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