Skip to content

Instantly share code, notes, and snippets.

@ArnabRaxit
Last active September 30, 2019 04:13
Show Gist options
  • Save ArnabRaxit/acd15fc1f324c37e7639fd4fbc9117df to your computer and use it in GitHub Desktop.
Save ArnabRaxit/acd15fc1f324c37e7639fd4fbc9117df to your computer and use it in GitHub Desktop.
CKA

##https://medium.com/platformer-blog/how-i-passed-the-cka-certified-kubernetes-administrator-exam-8943aa24d71d

systemd

  1. systemctl list-units | grep .service
  2. systemctl status ssh.service
  3. systemctl disable ssh.service
  4. systemctl enable ssh
  5. systemctl --failed
  6. systemctl restart ssh
  7. systemctl is-enabled ssh
  8. systemctl reboot
  9. systemctl suspend
  10. systemctl power off
  11. journalctl
  12. journalctl -b
  13. journactl -u ssh

DNS

  • /etc/resolv has 3 fields: nameserver 10.96.0.10 search default.svc.cluster.local svc.cluster.local cluster.local ap-southeast-2.compute.internal options ndots:5

How is a pod implemented: by the almighty pause container

https://www.ianlewis.org/en/almighty-pause-container

end to end testing k8s cluster

use kubetest

Tools:

Interesting reads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment