Shashikant shah

Saturday, 12 December 2020

What is a secrets in Kubernetes. Part-04

 

1. What is a secrets ?

Kubernetes Secrets let you store and manage sensitive information, such as

i)   Database passwords.
ii)  OAuth tokens.
iii) ssh keys.
iv) API keys.

Image registry keys.
Not more than 1MB key storge.
Stored inside ETCD database on Kubernetes Master.
Used in two ways- Volumes or Env variables.
Sent only to the target nodes.

file.txt  -- sectets  --  pods


 Kubectl syntax :-






Manually Syntax :-


Decoding secrets :-





























No comments:

Post a Comment