简体   繁体   中英

Deploying Harbor in Kubernetes

I'm getting an error

"error: unable to recognize "harbor.yaml": no matches for kind "Deployment" in version "v1.10."

What should I use in version variable, while writing the YAML, please tell?

I really don't know about Harbor but if it is related to kubernetes deployment definition yaml, in kubernetes's documentation it says deployment version would be like this:

...
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
...

links: this and this

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM