Kubernetes Assignment for Administrator

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Top 10 k8 API Resources which is being by Kubernetes Admin

  • Serviceaccount
  • Configmap
  • secret
  • Roles/ Role Bindings
  • Cluster roles / Cluster role bindings
  • storage class
  • networkpolicies
  • ingressclasses/ingress
  • ingress
  • Node
  • PV/PVC

Top 10 kubectl commands to troubleshoot Kubernetes

  • kubectl describe <resource> <resource-name> -n <namespace> / kubectl describe pod pod-name -n namespace
  • kubectl logs <pod-name> -n <namespace> -c <container-name>
  • kubectl exec -ti <pod-name> -n <namcepsace> -c <container-name> — <command>/ kubectl exec -ti pod-name -n namespace — /bin/bash
  • kubectl delete resource <resourcename>
  • kubectl create <resource> resource name
  • kubectl expose
  • kubectl port-forward
  • kubectl debug <pod>
  • kubectl scale <resource>
  • kubectl top

Top 15 commands which is being used by Kubernetes Administrator

  • kubeadm init
  • kubeadm join <node-name> –token <token>
  • kubeadm upgrade
  • kubeadm token
  • kubeadm reset
  • kubeadm token create/genereate/list
  • kubectl create <resourcename> name –options
  • kubectl apply -f <yaml file>
  • install commands
  • route
  • iptables / iptables –flush
  • kubectl logs <pod-name> -n <namespace> -c <container-name>
  • kubectl exec -ti <pod-name> -n <namcepsace> -c <container-name> — <command>/ kubectl exec -ti pod-name -n namespace — /bin/bash
  • kubectl proxy

Top Tools for Monitoring, Logging and Tracing Kubernetes & Apps

  • Elasticsearh (ELK)
  • Kibana
  • Grafana
  • Prometheus
  • jaeger
  • kubewatch
  • Loki
  • Fluent

Top 10 Practices for Securing Kubernetes

  • Securing containerd
  • enable RBAC
  • Keep all the software version(kubernetes/linux) up to date
  • verified base dockers / docker linting/ docker scans
  • Secure Kubelet
  • Network policies
  • enable firewall
  • CNI
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x