You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pod should be created,a the git repository should be clone Actual behavior
Pod is never created Additional context / logs
Events:
Type Reason Age From Message
Normal Scheduled default-scheduler Successfully assigned default/gitrepo-volume-pod to k3s
Warning FailedMount 10s kubelet, k3s Unable to attach or mount volumes: unmounted volumes=[htmls], unattached volumes=[default-token-spbmg htmls]: failed to get Plugin from volumeSpec for volume "htmls" err=no volume plugin matched
The text was updated successfully, but these errors were encountered:
k3s is intended to be a fully compliant Kubernetes distribution with the following changes:
* Removed most in-tree plugins (cloud providers and storage plugins) which can be replaced with out of tree addons.
The gitRepo volume type has been deprecated for several years, so I'm not surprised it's not included: kubernetes/kubernetes#63445
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 180 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions.
Version:
K3s arguments:
Describe the bug
Pod is never created when, i use gitRepo for volume
To Reproduce
Create a pod with this yaml :
apiVersion: v1
kind: Pod
metadata:
name: gitrepo-volume-pod
spec:
containers:
name: web-server
volumeMounts:
mountPath: /usr/share/nginx/html
readOnly: true
ports:
protocol: TCP
volumes:
gitRepo:
repository: https://github.com/andresetevejob/smsmonitoringweb.
revision: master
directory: .
Expected behavior
Pod should be created,a the git repository should be clone
Actual behavior
Pod is never created
Additional context / logs
Events:
Type Reason Age From Message
Normal Scheduled default-scheduler Successfully assigned default/gitrepo-volume-pod to k3s
Warning FailedMount 10s kubelet, k3s Unable to attach or mount volumes: unmounted volumes=[htmls], unattached volumes=[default-token-spbmg htmls]: failed to get Plugin from volumeSpec for volume "htmls" err=no volume plugin matched
The text was updated successfully, but these errors were encountered: