Learn Kubernetes part 2 – NGINX Ingress Controller
Large organizations need to control the incoming traffic to the Kubernetes cluster. The most secure way is to use an ingress controller and create an ingress to channel all incoming traffic to the cluster. In Learn Kubernetes part 1 – Web…
Resources to learn Docker
Get Started with Docker (great tutorial on the Docker website)
Docker Swarm volumes
Containers are ephemeral. Containers live entirely in memory, so even if the container is set up with automatic restart, the new container will not have access to the data created inside of the old container. To save persistent data of Docker containers…
Kubernetes volumes
To understand the types of available volumes read the official Kubernetes documentation on Volumes The official documentation on Kubernetes Persistent Volume and Persistent Volume Claim is at Persistent Volumes Migrating to CSI drivers from in-tree…
Resources to learn Kubernetes
This is a great five part blog series on Kubernetes and a post on volumes by Sebastian Caceres. I recommend reading it even before the official Kubernetes tutorial to get a great overview of how Kubernetes really works. How does it work? Kubernetes:…
Resources to learn Docker Swarm
This is five part blog series, and the post on volumes is great explanation of how Docker Swarm really works by Sebastian Caceres. I recommend it even before doing the official Docker Swarm tutorial, to get a peek under the hood. How does it work?…
Kubernetes commands
kubectl get – list resources kubectl describe – show detailed information about a resource kubectl logs – print the logs from a container in a pod kubectl exec – execute a command on a container in a pod List…
Docker Compose commands
To view the final configuration values of the docker-config.yml file after reading the environment variables from .env file, and all variable substitutions are done Make sure the config file in the current directory is named docker-compose.yml Execute
Connect the Portainer Server to an existing Portainer Agent
With Portainer we can monitor multiple Docker Swarms from one Portainer Server. To connect an existing Portainer server to an agent Configure the Agent For security reasons, by default, the Portainer Agent only accepts connection from the first Portainer…
Portainer troubleshooting
The Portainer server restarts every 5 minutes before the admin account is created When the Portainer server starts, waits 5 minutes for a user to create the admin account. If no account created in the first 5 minutes, the server stops with error code 1,…