A proposed four-day workshop on API client behavior
Participants need Kubernetes resource knowledge and programming experience with an API client. We use a small supplied example, beginning with observation before introducing a narrowly scoped change.
Day 1
Resource contracts and expected effects
Explain resource identity, desired and observed state, and the operation's intended effect. Distinguish a request being accepted from the workload result the tool needs.
Hands-on exercises
- Define the resources, permissions, and completion condition of the example operation.
- Inspect the difference between API status and application behavior.
Day 2
Client operations and concurrency
Connect supported SDK or API calls to object versions, repeated requests, and asynchronous controller behavior. Implement one bounded action and make its assumptions visible.
Hands-on exercises
- Modify the example client to perform its selected operation.
- Introduce a competing update and inspect conflict handling.
Day 3
Watches, dependencies, and interrupted communication
Examine observation through polling or watches, request failures, and API connectivity. Distinguish a missing response from a confirmed absence of the intended effect.
Hands-on exercises
- Interrupt a request or observation and determine what the client can safely conclude.
- Recover the client's view before repeating a bounded action.
Day 4
Permissions, diagnostics, and maintenance
Review credentials, resource scope, compatibility, and persistent effects. Record the client contract and the evidence needed to diagnose incorrect behavior.
Hands-on exercises
- Verify the client's required permissions and rejected operations.
- Produce a small failure-check set and operating notes for the example tool.
Your API operations, failure questions, and engineering responsibilities can shape the agenda. Get in touch to tailor the workshop to your team's work.