Skip to content

Instantly share code, notes, and snippets.

@rjhowe
rjhowe / gist:414883db726f1396bf54d1c858f846f8
Created February 7, 2023 21:44
kubectl-dev_tool example
# kubectl-dev_tool audit --subresource="*" --verb=list -o top --by=user -f audit-2023-02-07T15-02-18.917.log
count: 9201, first: 2023-02-07T09:46:41-05:00, last: 2023-02-07T10:02:18-05:00, duration: 15m37.691882s
4071x system:serviceaccount:sysdig-agent:sysdig-agent
574x system:serviceaccount:openshift-machine-config-operator:machine-config-daemon
543x system:serviceaccount:openshift-dns:dns
456x system:apiserver
360x system:serviceaccount:openshift-cluster-node-tuning-operator:tuned
286x system:serviceaccount:openshift-monitoring:prometheus-k8s
275x system:serviceaccount:openshift-operator-lifecycle-manager:olm-operator-serviceaccount
177x system:serviceaccount:openshift-operators:jaeger-operator

This the procedure for generating ignition configs for govcloud using th 4.3 installer (which actively thwarts attempts to do this)

Create install-config.yaml

apiVersion: v1
baseDomain: sjennings.me
# disconnected install requires local mirror
# oc adm release mirror
imageContentSources:
- mirrors: