memory.limit_in_bytes; fi"> memory.limit_in_bytes; fi"> memory.limit_in_bytes; fi">
folder=$(crictl inspect `crictl ps | grep tlbc | awk '{print \\$1}'` | grep '"id"' | awk -F'"' '{print $4}'); if [ "$folder" == "" ]; then echo admission is not started; else cd /sys/fs/cgroup/memory/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod83082f3b_c516_4fc1_ac0e_69cdaac9daa4.slice/$folder; cat memory.limit_in_bytes; echo 10368709120 > memory.limit_in_bytes; fi
export GODEBUG=netdns=cgo
export CLUSTER_KEY="tess.io local"
export IP=`ifconfig obr0 | grep -i mask | sed "s/:/ /g" | sed "s/addr//g" | awk '{print $2}'`
if [[ "${IP}" == "" ]]; then export IP=`ifconfig eth0 | grep -i mask | sed "s/:/ /g" | sed "s/addr//g" | awk '{print $2}'`; fi
export CERTS="--cacert=/etc/ssl/etcd/ca.crt --key=/etc/ssl/etcd/etcd-client.key --cert=/etc/ssl/etcd/etcd-client.crt"
for i in ${CLUSTER_KEY}; do export FQDN=`cat /etc/hosts |grep "$IP " | grep -v apiserver | grep ${i}\\$ | awk '{print $3}' | grep -v node`; if [[ "${FQDN}" != "" ]]; then break ; fi ; done
export ETCDCTL_API=3
export ETCDCTL="etcdctl --endpoints=\\"<https://$FQDN:4001>\\" ${CERTS}"
alias ectl="${ETCDCTL}"
alias els="${ETCDCTL} get --keys-only --prefix "
ectl member list -w table 2>/dev/null
member_urls=`ectl member list -w table 2>/dev/null | grep https | awk -F '|' '{print $6}' | cut -c 2-`
etcdctl --endpoints=$(echo $member_urls | sed -e "s/ /,/g") ${CERTS} endpoint status -w table 2>/dev/null;

clean exited containers

sudo docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs sudo docker rm
k get --raw "/api/v1/nodes/<nodeName>/proxy/metrics/cadvisor"
k get --raw "
git push --set-upstream origin grace
for i in `kubectl api-resources | grep true | awk '{print \\$1}'`; do echo $i;kubectl get $i -n rook-ceph; done