user11425404
user11425404

Reputation: 1

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?

Upvotes: 0

Views: 116

Answers (1)

kadir
kadir

Reputation: 599

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

Upvotes: 2

Related Questions