Skip to content

Commit

Permalink
Debug kubelet
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Panattoni <[email protected]>
  • Loading branch information
zeeke committed Aug 22, 2024
1 parent c617113 commit 1d778b9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions hack/deploy-sriov-in-telco-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,31 @@ do
ATTEMPTS=$((ATTEMPTS+1))
done

# Debug Kubelet
cat <<EOF | oc apply -f -
---
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: master
name: 99-master-kubelet-loglevel
spec:
config:
ignition:
version: 3.2.0
systemd:
units:
- name: kubelet.service
enabled: true
dropins:
- name: 30-logging.conf
contents: |
[Service]
Environment="KUBELET_LOG_LEVEL=4"
---
EOF

# create sriov namespace
cat <<EOF | oc apply -f -
---
Expand Down

0 comments on commit 1d778b9

Please sign in to comment.