GO Operator SDK: Debugging a GO Operator and extend spec section of a custom resource definition |
![]() |
This livestream is about Debugging a GO Operator and extend a custom resource definition.
Related blog posts: - DEBUG A KUBERNETES OPERATOR WRITTEN IN GO https://suedbroecker.net/2022/03/01/debug-a-kubernetes-operator-written-in-go/ - HOW TO EXTEND A CUSTOM RESOURCE DEFINITION FOR A GO OPERATOR? https://suedbroecker.net/2022/03/11/how-to-extend-a-custom-resource-definition-for-a-go-operator/#more-4527 Objective: - Use the debugging when we extend the Custom Resource Definition of an Operator! Overview: 02:00 - Introduction 06:00 - Clone example operator project 06:20 - Select Git branch in Visual Studio Code 07:40 - Initial configuration of the debugging in Visual Studio Code 10:00 - Some information related to the make commands 11:37 - Final configuration for the debugging 15:45 - Run the operator locally for the first time 18:30 - Basics of custom resource definition extensions 22:40 - Debug the go operator in action 30:00 - Extend the specification section of the custom resource 34:50 - Verify code change with Git 38:00 - Update the controller code 41:44 - Use the debugging for the changed code Additional resources: - ADDITIONAL NOTES RELATED TO OPERATOR DEVELOPMENT -https://suedbroecker.net/2022/02/27/additional-notes-related-to-operator-development/ - LET’S GET STARTED WITH THE DEVELOPMENT OF OPERATORS USING THE GO SDK https://suedbroecker.net/2022/02/15/lets-get-started-with-the-development-of-operators-using-the-go-api/ - FATA[0009] FAILED TO CREATE API: UNABLE TO RUN POST-SCAFFOLD TASKS OF “BASE.GO.KUBEBUILDER.IO/V3”: EXIT STATUS 2 https://suedbroecker.net/2022/02/15/fata0009-failed-to-create-api-unable-to-run-post-scaffold-tasks-of-base-go-kubebuilder-io-v3-exit-status-2/ You can find my music on: - TNM - Drummer: https://www.youtube.com/channel/UCB_iNnv8XarWdteKWa3yTjQ #operator, #go, #operatorsdk, #kubernetes |