PPPRIYANSHU PRASAD GUPTAinpriyanshu2k3.hashnode.dev路May 26, 2024 路 4 min readImportant Command in kubectlThe create command in Kubernetes is used to create a resource from a file or stdin. For example, kubectl create -f pod.yaml will create a pod using the configuration specified in pod.yaml. The expose command takes a replication controller, service, d...00
PPPRIYANSHU PRASAD GUPTAinpriyanshu2k3.hashnode.dev路May 25, 2024 路 2 min readWhy persistent volumes are necessary?The key points on why persistent volumes are necessary in containerized environments, presented as bullet points: Data Persistence: Containers are temporary by nature, meaning data is lost when containers stop or are deleted. Persistent volumes en...00
PPPRIYANSHU PRASAD GUPTAinpriyanshu2k3.hashnode.dev路Aug 29, 2023 路 1 min readHow to attach 馃敆docker volume馃悑馃悑馃悑Attaching a volume to docker. how you can attach a volume to a Docker container: Create a Volume: Before attaching a volume, you need to create the volume. You can create a volume using the following command docker volume create name //name can be ...00