|
| 1 | +# Episode 183 : Testing Clusters via Sonobuoy: E2E tests and Your Own Plugins |
| 2 | + |
| 3 | +- Hosted by [@johnschnake](github.com/johnschnake) and [@eleanor-millman](github.com/eleanor-millman) |
| 4 | +- 28/01/2022 |
| 5 | + |
| 6 | +<!--- Thumbnailed embed of the video, n8Xo_ghCIOSY is the video id from the youtube url ---> |
| 7 | + |
| 8 | +<a href="https://www.youtube.com/watch?v=XreTcvKLxKI" target="_blank"><img src="http://img.youtube.com/vi/XreTcvKLxKI/hqdefault.jpg" width="480" height="360" border="10" /></a> |
| 9 | + |
| 10 | +Photo by <a href="https://unsplash.com/@iamkaiea?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Dan Akuna</a> on <a href="https://unsplash.com/s/photos/buoy?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a> |
| 11 | + |
| 12 | +## Table of Contents |
| 13 | + |
| 14 | +- 00:00:00 - Welcome to TGIK! |
| 15 | +- 00:02:48 - Week in Review |
| 16 | +- 00:07:16 - Introduction to Sonobuoy |
| 17 | +- 00:14:35 - Running the e2e tests |
| 18 | +- 00:37:54 - Making our own plugin |
| 19 | +- 00:47:17 - Running our plugin |
| 20 | +- 00:57:28 - Future plugin ideas |
| 21 | + |
| 22 | +## Week in Review |
| 23 | + |
| 24 | +### Core K8s |
| 25 | + |
| 26 | + - [Deprecation policy](https://github.com/kubernetes/website/pull/31389) change. Clarification that GA API endpoints can't be removed within a major release. This isn't a practical change, but more of a clarification of expectations. |
| 27 | + |
| 28 | + |
| 29 | +### K8s and Cloud Native Ecosystem |
| 30 | + |
| 31 | + - [Policy management paper](https://www.cncf.io/blog/2022/01/28/announcing-the-kubernetes-policy-management-paper/) from CNCF Kubernetes Security Special Interest Group (SIG) and Policy Working group (WG) |
| 32 | + |
| 33 | +## Show Notes |
| 34 | + |
| 35 | +- Introduction to Sonobuoy |
| 36 | +- Running the e2e tests |
| 37 | + - Using focus/skip |
| 38 | + - sonobuoy e2e |
| 39 | + - Using mode |
| 40 | + - quick |
| 41 | + - certified-conformance |
| 42 | + - non-destructive-conformance (default) |
| 43 | + - conformance-lite |
| 44 | +- While its running |
| 45 | + - Progress/Status |
| 46 | + - Logs |
| 47 | +- After completion |
| 48 | + - Status |
| 49 | + - Retrieve and untar |
| 50 | + - Retrieve then `results` command |
| 51 | +- Making our own plugin |
| 52 | + - Requirements |
| 53 | + - Image to run |
| 54 | + - Plugin definition |
| 55 | + - Report results to Sonobuoy |
| 56 | + - Optional: Progress to Sonobuoy while running |
| 57 | +- Plugin skeleton & plugin-helper |
| 58 | + - Basic boilerplate files (Docker, run script, plugin definition) |
| 59 | + - [Demo note: Use kind load for the image] |
| 60 | + - Reports results |
| 61 | + - Reports progress |
| 62 | +- k8s-sigs/e2e-framework library |
| 63 | + - Kubernetes client |
| 64 | + - Hooks for before/after tests |
| 65 | +- Running our plugin |
| 66 | +- Future plugin ideas... |
| 67 | + - sonobuoy [strategy doc](https://sonobuoy.io/docs/v0.56.0/strategy/) |
0 commit comments