Part 2.1 What Happens when you type kubectl command?- create namespace
Nidhin BM
Posted on November 19, 2023
-
Complete
completes all the required options -
Validate
validates required fields are set to support structured generation -
Run
calls the CreateSubcommandOptions.Run in NamespaceOpts instance -
createNamespace
outputs a namespace object using the configured fields - Then
o.Client.Namespaces().Create(context.TODO(), namespace, createOptions)
creates namespace
Next part staging/src/k8s.io/client-go/kubernetes/typed/core/v1/namespace.go
💖 💪 🙅 🚩
Nidhin BM
Posted on November 19, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024