Check out Secret - Docker container technology in 5 minutes a day (156)

You can  check the existing secret .kubectl get secret 

There are two data entries displayed, kubectl describe secret check the Key of the entry:

If you also want to view the Value, you can use  kubectl edit secret mysecret:

Then unencode the Value via base64:

Learn how to use Secrets in Pods in the next section.

books:

1. "Play Kubernetes for 5 minutes a day"
https://item.jd.com/26225745440.html

2. "Fun with Docker container technology for 5 minutes a day"
https://item.jd.com/16936307278.html

3. "Fun with OpenStack for 5 minutes a day"
https://item.jd.com/12086376.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324510090&siteId=291194637