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 bc5c905 commit a1f5fc7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 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,33 @@ 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

sleep 600

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

0 comments on commit a1f5fc7

Please sign in to comment.