-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.txt
More file actions
13 lines (13 loc) · 884 Bytes
/
notes.txt
File metadata and controls
13 lines (13 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
cat /etc os dash release to get the version of the os of the python language
cool linux commands;
1. cat /etc/os-release - os details
2. ps aux - processes running in the container
3. df -h - disk allocation details
4. du -h - Summarize device usage of the set of FILEs, recursively for directories.
5. free -m
6. cat /proc/cpuinfo
docker run --rm -it --entrypoint /bin/bash ubuntu:24.04
note: --rm auto cleans the container and deletes it when we exit from the terminal and this is helpful if testing containers, making it ephermeral
k8s is helpful after the container is built because it can orchestrate the pods and the pods consist of one or more containers
k8s uses docker to create pods (one or more containers)
k8s cluster has control plane (the brain that accepts the manifest yaml) and data plane (the nodes of where the pods)