Welcome to the Linux Foundation Forum!

V2025-10-02 Lab 5.7. Encrypting Secrets - issue with encryptionconfig.yaml

Hi,
I noticed there is issue with encryptionconfig.yaml in Lab 5.7. Encrypting Secrets (V2025-10-02). The "name" attribute on the 3rd line "name: newsetup" is not supported by the EncryptionConfiguration kind and apiserver will not start with provided yaml.

Comments

  • Hello @vbalas,

    Thank you for pointing that out. The extra field "name" was intentionally left in the file to demonstrate how to troubleshoot and resolve issues in configuration files.
    A common reason for the API server failing to start is due to typos, incorrect indentation, or misconfigurations in the YAML file. I’m glad you were able to identify the issue, correct it, and continue successfully. Step 9 covers how to identify and fix such issues when they occur.

    Step 9 says - "When an edit to files in the manifests directory takes place the inotify event will cause kubelet to update the API server pod. Should there be a typo or other issue there will not be a server to reply to any APIs. If kubectl commands fail, find and view the log file. Typically errors near the bottom of the file indicated the issue. Use for the long filename. "

Categories

Upcoming Training