Closed sawansharma005 closed 1 year ago
We are also seeing this error.... Is there a workaround or a solution?
@albrookesplowman your Velero version is v1.9.5
which is not supported by Velero chart 3.0.0
.
If you want your helm chart installation still work, you have two options:
I did try v1.10 with the v3.x.x helm chart but I got the same error. I have solved the problem by going back to v1.9.x with the last v2.x.x helm chart. At some point in the future I will give the v3.x.x & v1.10.x combination another try
@albrookesplowman @sawansharma005 could you show me the output of command kubectl get deploy -n velero -oyaml
replying on behalf of sawan @qiuming-best @albrookesplowman @sawansharma005
apiVersion: v1 items:
apiVersion: apps/v1 kind: Deployment metadata: annotations: creationTimestamp: "2023-02-08T07:43:59Z" generation: 2 labels:
name: velero namespace: velero resourceVersion: "3938555" uid: 4250503e-4b5e-444d-8280-7b6f62d173b3 spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: app.kubernetes.io/instance: velero app.kubernetes.io/name: velero strategy: type: Recreate template: metadata: annotations: prometheus.io/path: /metrics prometheus.io/port: "8085" prometheus.io/scrape: "true" creationTimestamp: null labels: spec: containers:
kind: List metadata:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing the stale issue.
@albrookesplowman @sawansharma005 could you show me the output of command
kubectl get deploy -n velero -oyaml
@qiuming-best 我遇到了同样的问题,我的k8s版本是v1.22.12,velero版本是v1.5.4,velero-plugin-for-aws版本是v1.1.0;运行命令:kubectl edit deployment velero -n velero,结果如下: [root@localhost velero-v1.5.4-linux-amd64]# kubectl edit deployment velero -n velero
serviceAccountName: velero
terminationGracePeriodSeconds: 30
volumes:
- emptyDir: {}
name: plugins
- emptyDir: {}
name: scratch
- name: cloud-credentials
secret:
defaultMode: 420
secretName: cloud-credentials
status: conditions:
@qiuming-best ,我在k8s中安装velero的命令如下:velero install \ --provider aws \ --image velero/velero:v1.5.4 \ --plugins velero/velero-plugin-for-aws:v1.1.0 \ --bucket velero \ --secret-file ./credentials-velero \ --use-volume-snapshots=false \ --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=http://minio.velero.svc:9000
Any resolution on this ? I am using latest chart 4.0.2 with v1.11.0 sitting on EKS 1.24 facing he same issue Error: unknown flag: --uploader-type
My bad looking at the deployment yaml, the chart version still says v1.9.2 changed the same to 1.11.0 and gone past that error...
Init Containers:
velero-plugin-for-csi:
Image: velero/velero-plugin-for-csi:v0.5.0
Port: <none>
Host Port: <none>
Environment: <none>
Mounts:
/target from plugins (rw)
velero-plugin-for-aws:
Image: velero/velero-plugin-for-aws:v1.7.0
Port: <none>
Host Port: <none>
Environment: <none>
Mounts:
/target from plugins (rw)
Containers:
velero:
Image: velero/velero:v1.9.2
Port: 8085/TCP
Host Port: 0/TCP
What steps did you take and what happened: [A clear and concise description of what the bug is, and what commands you ran.) While trying to deploy velero chart 3.0.0 on aks 1.25 cluster we are getting Error: unknown flag: --uploader-type.
What did you expect to happen:
Pod should come up in running state.
The following information will help us better understand what's going on:
If you are using velero v1.7.0+:
Please use
velero debug --backup <backupname> --restore <restorename>
to generate the support bundle, and attach to this issue, more options please refer tovelero debug --help
If you are using earlier versions:
Please provide the output of the following commands (Pasting long output into a GitHub gist or other pastebin is fine.)
Flags:`
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.] Velero manifest `apiVersion: apps/v1 kind: Deployment metadata: labels: app.kubernetes.io/instance: velero app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: velero component: velero helm.sh/chart: velero-3.1.0 name: velero namespace: velero spec: replicas: 1 selector: matchLabels: app.kubernetes.io/instance: velero app.kubernetes.io/name: velero strategy: type: Recreate template: metadata: annotations: prometheus.io/path: /metrics prometheus.io/port: "8085" prometheus.io/scrape: "true" labels: aadpodidbinding: kaas-identity app.kubernetes.io/instance: velero app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: velero helm.sh/chart: velero-3.1.0 name: velero spec: containers:
Environment:
velero version
): v1.9.5velero client config get features
):kubectl version
): 1.25.2/etc/os-release
): LinuxVote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.