Skip to content

Instantly share code, notes, and snippets.

@zubron
zubron / app.yaml
Created Oct 29, 2020
Example for velero#3027
View app.yaml
---
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 Aug 20, 2020
Sample JSON report from the Cluster Inventory Sonobuoy plugin
View json_report.json
{
"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 Aug 20, 2020
Sample Sonobuoy Results report from the Cluster Inventory Sonobuoy plugin
View sonobuoy_results.yaml
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 Jul 7, 2020
Sonobuoy configuration to run no plugins
View config.json
{
"Plugins": []
}
@zubron
zubron / sonobuoy-results-intronaut-eks.yaml
Last active Jul 23, 2020
Proposed Sonobuoy results format for Intronaut
View sonobuoy-results-intronaut-eks.yaml
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
Sonobuoy plugins adapted with node selectors
View e2e.yaml
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
Sample report from running Intronaut using Sonobuoy on a kind cluster
View intronaut-output.json
{
"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",
View keybase.md

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: