Support bundle
For the Alpha.1 release, MKE 4 deploys k0s v1.29.3, which does not inherently support the Replicated support bundle tool.
Manually collect a support bundle
SSH into the manager node.
Download and install the
support-bundle
tool:curl -L https://github.com/replicatedhq/troubleshoot/releases/latest/download/support-bundle_linux_amd64.tar.gz | tar xzvf -
Create a YAML file that details the support bundle configuration.
Example
support-bundle-worker.yaml
file:apiVersion: troubleshoot.sh/v1beta2 kind: SupportBundle metadata: name: sample spec: collectors: - logs: selector: - app.kubernetes.io/name=blueprint-webhook namespace: blueprint-system name: logs/blueprint-system - logs: selector: - control-plane=controller-manager namespace: blueprint-system name: logs/blueprint-system
This configuration accomplishes the following:
- Captures of cluster information
- Sets of cluster resources
- Collects logs from the
blueprint-controller-manager
andblueprint-operator-webhook
pods, in thelogs/
directory of the output.
Collect host information using the k0s-provided YAML file
Obtain the k0s-provided YAML file.
Run the
support-bundle
tool:./support-bundle --kubeconfig /var/lib/k0s/pki/admin.conf <support-bundle-worker.yaml>
ℹ️Thesupport-bundle
tool requires that thekubeconfig
file be passed as an argument. Thekubeconfig
file is located at/var/lib/k0s/pki/admin.conf
.
Now, you can find the support bundle with the collected host information at support-bundle-<timestamp>.tar.gz
.