Skip to content

Instantly share code, notes, and snippets.

@zubron
zubron / app.yaml
Created October 29, 2020 23:00
Example for velero#3027
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: csi-hostpath-sc
provisioner: hostpath.csi.k8s.io
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
---
@zubron
zubron / json_report.json
Created August 20, 2020 16:13
Sample JSON report from the Cluster Inventory Sonobuoy plugin
{
"ClusterComponents": {
"Nodes": {
"Nodes": [
{
"metadata": {
"name": "kind-control-plane",
"selfLink": "/api/v1/nodes/kind-control-plane",
"uid": "3739d857-e2f5-4e82-888a-7fa388acf028",
"resourceVersion": "791568",
@zubron
zubron / sonobuoy_results.yaml
Last active August 20, 2020 16:13
Sample Sonobuoy Results report from the Cluster Inventory Sonobuoy plugin
name: Cluster Inventory
status: complete
items:
- name: Cluster Components
status: complete
items:
- name: Nodes
status: complete
items:
- name: kind-control-plane
@zubron
zubron / config.json
Created July 7, 2020 14:06
Sonobuoy configuration to run no plugins
{
"Plugins": []
}
@zubron
zubron / sonobuoy-results-intronaut-eks.yaml
Last active July 23, 2020 19:27
Proposed Sonobuoy results format for Intronaut
name: intronaut
status: complete
meta:
type: summary
items:
- name: sonobuoy_results.yaml
status: complete
meta:
file: results/global/sonobuoy_results.yaml
type: file
@zubron
zubron / e2e.yaml
Created May 21, 2020 11:28
Sonobuoy plugins adapted with node selectors
podSpec:
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
containers: []
restartPolicy: Never
serviceAccountName: sonobuoy-serviceaccount
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
@zubron
zubron / intronaut-output.json
Last active May 20, 2020 23:31
Sample report from running Intronaut using Sonobuoy on a kind cluster
{
"ClusterNodes": [
{
"Kernel": "5.4.0-31-generic",
"OSVersion": "Ubuntu 19.10",
"OS": "linux",
"Arch": "amd64",
"K8SVersion": "v1.17.0",
"CRI": "containerd://1.3.2",
"Name": "kind-control-plane",

Keybase proof

I hereby claim:

  • I am zubron on github.
  • I am zubron (https://keybase.io/zubron) on keybase.
  • I have a public key ASC4MtmIFT_tERU2JiNQJbwaCN453VRQHezUgLqheCsqQwo

To claim this, I am signing this object: