gcloud config set compute/zone us-central1-a
gcloud projects list
#!/bin/bash | |
echo "listing namespaces" | |
BACKUP_PATH=backup | |
NAMESPACES=$(kubectl get namespace | awk '{print $1}' | tail -n +2) | |
# RESOURCES="$(kubectl api-resources \ | |
# --namespaced \ | |
# --verbs list \ |
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
log "github.com/sirupsen/logrus" | |
"io/ioutil" | |
"net/http" | |
"sync" |
$HOME/Downloads/instantclient_12_1
install.sh
and copy the following code and past it on that file.This bash script offers quick shortcuts to simulate slower network connections. It is useful when you need to simulate a wireless network on a Linux network server, especially when you are using a virtual machine guest on your local machine or in the cloud.
slow 3G # Slow network on default eth0 down to 3G wireless speeds
slow 3G -l 600ms -p 10% # slow network on eth0 and setup latency to 600ms packetloss to 10%
slow reset # Reset connection for default eth0 to normal
slow vsat --latency=500ms # Simulate satellite internet with a high latency
slow dsl -b 1mbps # Simulate DSL with a slower speed than the default