File tree Expand file tree Collapse file tree 4 files changed +30
-4
lines changed
charts/charts/carina-scheduler/templates Expand file tree Collapse file tree 4 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 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 get po -n carina -o yaml > carina_pods_log 2>&1
84+ ./k3s kubectl logs -n carina --tail=10000 -l app.kubernetes.io/instance=carina-csi-driver --all-containers=true > carina_log 2>&1
8385 #tail -200 k3s_log
8486 }
8587 trap debug EXIT
@@ -108,6 +110,30 @@ jobs:
108110 helm test -n carina carina-csi-driver
109111 ./k3s kubectl wait -n carina --for=jsonpath='{.status.phase}'=Bound pvc/carina-vg-ssd-testpvc --timeout=500s
110112 ./k3s kubectl wait -n carina --for=condition=ready po -l storageclass=carina-vg-ssd --timeout=500s
113+
114+ # Test filter logging
115+ ./k3s kubectl taint nodes -l node-role.kubernetes.io/control-plane=true test=off:NoSchedule
116+ ./k3s kubectl delete po -l storageclass=carina-vg-ssd
117+ sleep 30
118+ # TODO : check log here
119+ - name : ' Upload Artifact'
120+ uses : actions/upload-artifact@v4
121+ with :
122+ name : k3s_log
123+ path : k3s_log
124+ retention-days : 5
125+ - name : ' Upload Artifact'
126+ uses : actions/upload-artifact@v4
127+ with :
128+ name : carina_log
129+ path : carina_log
130+ retention-days : 5
131+ - name : ' Upload Artifact'
132+ uses : actions/upload-artifact@v4
133+ with :
134+ name : carina_pods_log
135+ path : carina_pods_log
136+ retention-days : 5
111137 - name : Push image
112138 if : github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
113139 run : |
Original file line number Diff line number Diff line change 6262 name : carina-scheduler-config
6363 - name : config
6464 configMap :
65- name : {{ .Release.Name }}-csi-config
65+ name : {{ .Release.Name }}-csi-config
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ replace (
143143 k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.25.0
144144 k8s.io/kubectl => k8s.io/kubectl v0.25.0
145145 k8s.io/kubelet => k8s.io/kubelet v0.25.0
146- k8s.io/kubernetes => k8s.io/ kubernetes v1.25.0
146+ k8s.io/kubernetes => github.com/redref/ kubernetes v0.0.0-20250416123447-2a1a3181d477
147147 k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.25.0
148148 k8s.io/metrics => k8s.io/metrics v0.25.0
149149 k8s.io/mount-utils => k8s.io/mount-utils v0.25.0
Original file line number Diff line number Diff line change @@ -478,6 +478,8 @@ github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1
478478github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU =
479479github.com/prometheus/procfs v0.7.3 /go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA =
480480github.com/prometheus/tsdb v0.7.1 /go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU =
481+ github.com/redref/kubernetes v0.0.0-20250416123447-2a1a3181d477 h1:rqvodzvA8S9T3yCYapijlXuoERJGS5/BlFtx1k9KSeA =
482+ github.com/redref/kubernetes v0.0.0-20250416123447-2a1a3181d477 /go.mod h1:UdtILd5Zg1vGZvShiO1EYOqmjzM2kZOG1hzwQnM5JxY =
481483github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af /go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg =
482484github.com/rogpeppe/fastuuid v1.2.0 /go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ =
483485github.com/rogpeppe/go-internal v1.3.0 /go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4 =
@@ -1127,8 +1129,6 @@ k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 h1:MQ8BAZPZlWk3S9K4a9NCkI
11271129k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 /go.mod h1:C/N6wCaBHeBHkHUesQOQy2/MZqGgMAFPqGsGQLdbZBU =
11281130k8s.io/kube-scheduler v0.25.0 h1:Up2rW+1H3JsgcpfdMcj/kVbYtgoxpiwxKLg5L4PaZ98 =
11291131k8s.io/kube-scheduler v0.25.0 /go.mod h1:cwiyJeImgFbhmbnImzvuhbiJayNngRNEe3FJkZDPw9Y =
1130- k8s.io/kubernetes v1.25.0 h1:NwTRyLrdXTORd5V7DLlUltxDbl/KZjYDiRgwI+pBYGE =
1131- k8s.io/kubernetes v1.25.0 /go.mod h1:UdtILd5Zg1vGZvShiO1EYOqmjzM2kZOG1hzwQnM5JxY =
11321132k8s.io/mount-utils v0.25.0 h1:dx+SKXBVjskPgkpv9Mk0mAfbLNOxz8jAqTXGTZJnd8I =
11331133k8s.io/mount-utils v0.25.0 /go.mod h1:WTYq8Ev/JrnkqK2h1jFUnC8qWGuqzMb9XDC+Lu3WNU0 =
11341134k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89 /go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew =
You can’t perform that action at this time.
0 commit comments