For administrators

Basic commands

10min
how to set up kubectl / helm to point to the created eks cluster? aws eks update kubeconfig name=\<clustername> \# for example aws eks update kubeconfig name=unicorn how to list all available projects and their environments? helm ls all namespaces how to delete a project environment? helm n \<projectname> \<environmentgroup> delete \<environmentname> \# for example helm n website development delete website test env how do i get list of all kubernetes namespaces? kubectl get namespaces how do i get all pods from the namespace? kubectl get pods n \<namespace> how do i get logs for all containers in a pod? kubectl logs n \<namespace> \<podname> all containers how do i get logs for a specific container in a pod? kubectl logs n \<namespace> \<podname> c \<containername> how do i get current resource consumption of ec2 instances? kubectl top nodes how do i get current resources consumption of pods in a namespace? kubectl top pods n \<namespace> how do i get current resoruces consumption of containers in a namespace? kubectl top pods n \<namespace> containers