---
# System prepended metadata

title: 'K8S Links ![](https://i.imgur.com/h2IeiJe.png =30x30)'
tags: [kubernetes, GKE]

---

# K8S Links ![](https://i.imgur.com/h2IeiJe.png =30x30)

###### tags: `kubernetes`  `GKE`
### :wrench: kube tools

* [ktail](https://github.com/johanhaleby/kubetail)
A bash script that enables you to aggregate (tail/follow) logs from multiple pods into one stream. This is the same as running "kubectl logs -f " but for multiple pods.

* [kubectx & kubens](https://github.com/ahmetb/kubectx)

**kubectx** : manage and switch between kubectl(1) contexts.
**kubens** : switch between Kubernetes namespaces

### :moneybag: Save Cost

* [kube-downscaler](https://github.com/hjacobs/kube-downscaler)

Scale down Kubernetes deployments and/or statefulsets during non-work hours.

### :floppy_disk: Backup

* [Heptio Ark](https://github.com/heptio/ark)

Ark gives you tools to back up and restore your Kubernetes cluster resources and persistent volumes. Ark lets you:

-- Take backups of your cluster and restore in case of loss.
-- Copy cluster resources to other clusters.
-- Replicate your production environment for development and testing environments.

### :closed_lock_with_key: Rbac

* [How to Rbac](http://www.adaltas.com/fr/2019/08/07/utilisateurs-rbac-kubernetes/)

### TIPS

Make yourself cluster-admin on Google Cloud Kubernetes Engine

```
kubectl create clusterrolebinding cluster-admin-binding \
  --clusterrole cluster-admin \
  --user $(gcloud config get-value account)
```
