Created
October 17, 2019 04:33
-
-
Save SilvM/cd34258a902ec20a849faecae5e0382e to your computer and use it in GitHub Desktop.
Docker and Kubernetes useful commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add self-signed certs on mac | |
mkdir -p /etc/docker/certs.d/c-cc40f9415b962ddb.elb.cn-northwest-1.amazonaws.com.cn\:8500 | |
cp ca.crt /etc/docker/certs.d/c-cc40f9415b962ddb.elb.cn-northwest-1.amazonaws.com.cn\:8500/ | |
security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ca.crt | |
# Kube get image versions currently running | |
kubectl get deployments -o wide |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment