Skip to content

Commit 0072ec6

Browse files
committed
feat(carina): log test
1 parent af309fa commit 0072ec6

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
./k3s kubectl get pvc -A
8181
./k3s kubectl get nodestorageresource -A -o yaml
8282
./k3s kubectl logs -n carina --tail=200 -l app.kubernetes.io/instance=carina-csi-driver --all-containers=true
83+
./k3s kubectl logs -n carina -l app.kubernetes.io/instance=carina-csi-driver --all-containers=true > carina_log
8384
#tail -200 k3s_log
8485
}
8586
trap debug EXIT
@@ -108,6 +109,18 @@ jobs:
108109
helm test -n carina carina-csi-driver
109110
./k3s kubectl wait -n carina --for=jsonpath='{.status.phase}'=Bound pvc/carina-vg-ssd-testpvc --timeout=500s
110111
./k3s kubectl wait -n carina --for=condition=ready po -l storageclass=carina-vg-ssd --timeout=500s
112+
- name: 'Upload Artifact'
113+
uses: actions/upload-artifact@v4
114+
with:
115+
name: k3s_log
116+
path: k3s_log
117+
retention-days: 5
118+
- name: 'Upload Artifact'
119+
uses: actions/upload-artifact@v4
120+
with:
121+
name: carina_log
122+
path: carina_log
123+
retention-days: 5
111124
- name: Push image
112125
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
113126
run: |

charts/charts/carina-scheduler/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
command: ["carina-scheduler"]
3737
args:
3838
- --config=/etc/kube/scheduler-config.yaml
39-
- --v=3
39+
- --v=5
4040
volumeMounts:
4141
- name: scheduler-config
4242
mountPath: /etc/kube/
@@ -62,4 +62,4 @@ spec:
6262
name: carina-scheduler-config
6363
- name: config
6464
configMap:
65-
name: {{ .Release.Name }}-csi-config
65+
name: {{ .Release.Name }}-csi-config

scheduler/cmd/scheduler

67.6 MB
Binary file not shown.

0 commit comments

Comments
 (0)