Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. Docker
  2. Usage of Docker, focusing on pure usage of containers and images without any orchestration system
  3.  
  4. Fundamentals
  5. What is the difference between an image and a container at a high level?
  6. What makes up a docker image?
  7. How does a user login to a docker registry and pull an image from that registry?
  8. How does docker image tagging work?
  9. What is a cgroup and a namespace?
  10. Why do processes in a container show as starting from PID 0/1 even if the processes are actually a different PID on the host?
  11. What is the difference between a host volume and a normal docker volume?
  12. What is the difference between Docker and Containerd?
  13. Build
  14. How is a docker image built from a Dockerfile?
  15. Why can an ADD or COPY statement not access files in the parent directory to the Dockerfile?
  16. When should an ENV vs an ARG statement be used in a Dockerfile?
  17. Why should applications in containers be configured to log to STDOUT?
  18. What is layer caching and how does it affect the building of an image?
  19. What is an intermediate container?
  20. Why does creating and removing a file in separate RUN statement in a Dockerfile result in an image which is the same size as if the file existed?
  21. What is a multi step build and why is it beneficial?
  22. When is .dockerignore useful?
  23. Why are images based on Scratch or Alpine preferable to Centos or Ubuntu?
  24. Run
  25. How does a user run a container interactively?
  26. What is the difference between running a container with the flag --publish 80 vs --publish 80:80?
  27. What happens to a container when it stops and what can be done with it?
  28. How can a docker container run docker commands against the host its on?
  29. How can a container run as a non root user and why is that preferable?
  30. How can a container be started with a host volume attached
  31. Manage
  32. How does a user view running and stopped containers on a machine?
  33. How does a user view labels and other metadata for an image or container?
  34. How does a user view STDOUT for a running container?
  35. How can a user run commands in an already running container?
  36. How does a user view and clean up dangling containers and images?
  37. What is the problem that dumb-init solves?
  38. Kubernetes
  39. Usage of Kubernetes, focussing on inside the kubernetes ecosystem, not cluster management
  40.  
  41. Fundamentals
  42. How does a user set up a local k8s environment?
  43. How does a user log into a k8s cluster with kubectl and how does a user switch between clusters once logged in?
  44. What is a namespace?
  45. What is a label and a selector in kubernetes?
  46. Resources
  47. What are the 3 fields that every k8s resource definition file (yml/json) needs?
  48. Why do different resources have a different api field value?
  49. What is the difference between a label and an annotation in a resource?
  50. Pods
  51. What is the difference between a pod and a container?
  52. How does a user view logs for a running pod?
  53. How do the containers in a pod communicate to each other?
  54. How can environment variables be directly set against a Pod?
  55. How can environment variables be set against a pod using a ConfigMap?
  56. What is a PersistentVolume and how can it be used with a pod?
  57. What is the difference between a Readiness Probe and a Liveness Probe?
  58. What is an init container and when should it be used?
  59. Sets
  60. What is a ReplicaSet and when is it used?
  61. What is the difference between a Deployment and a ReplicaSet?
  62. How does a user scale up pods in a ReplicaSet (hint: there are more than one, and some are automatic)?
  63. What is a DaemonSet and when is it used?
  64. What is a StatefulSet and when is it used?
  65. Load Balancing
  66. If a service with a name of 'mysql' is deployed, why can pods in that namespace access that service using only the hostname 'mysql'?
  67. What is the difference between a ClusterIP, NodePort and LoadBalancer service type?
  68. What is an ingress controller?
  69. What is the difference between an Ingress resource and a Service resource?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement