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 existing pods Get detailed information on the pods Start a proxy to access the containers within the pod Get the […]

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 Server it encounters. To enable the Portainer Agent to connect to multiple Portainer Servers, add the […]

x509: certificate signed by unknown authority

I have built a Docker container with a Go application that used the Go AWS SDK. When my program tried to access an S3 bucket I got the error message RequestError: send request failedcaused by: Get https://MY_BUCKET_NAME.s3.amazonaws.com: x509: certificate signed by unknown authority To solve the problem I had to add the following line to […]