DEV Community

Rahul Wagh
Rahul Wagh

Posted on • Originally published at jhooq.com

Kubernetes Secrets | How to use kubernetes Secrets

Kubernetes secrets are used for storing sensitive information such as username, password, Database credentials, and any kind the sensitive information which should not be seen in plain text format.

In this lab session, we will take a look on -

  1. What are secrets in Kubernetes?
  2. How to create Kubernetes Secrets using kubectl command?
  3. How to Base64 encode Kubernetes secrets?
  4. How to create Kubernetes secret from file?
  5. Deploy busy box container image inside Kubernetes cluster using Kubernetes secrets?
  6. Store MySql Username, Password in Kubernetes Secrets?

Along with that, we will also see what are the recommended practices for using Kubernetes secrets.

Top comments (0)