Differences Between ServiceAccount and KubeConfig
Authentication Credential |
Component |
Difference |
|---|---|---|
ServiceAccount |
|
The token file of the ServiceAccount is mounted to the physical machine in plaintext, which may be exposed. |
Imported KubeConfig file |
Resilience Controller |
After being imported using the encryption tool provided by cluster scheduling components, the data is written into disks in ciphertext. The tool does not provide the decryption and export functions, ensuring high security. If the ServiceAccount is configured and the KubeConfig file is imported, the latter has a higher priority. |
Parent topic: Appendixes