palantir / k8s-spark-scheduler

A Kubernetes Scheduler Extender to provide gang scheduling support for Spark on Kubernetes
Apache License 2.0
175 stars 42 forks source link

Loosen equality on crds. #192

Closed Chrisbattarbee closed 3 years ago

Chrisbattarbee commented 3 years ago

k8s sets additional fields when we submit our CRD to the api server, this causes issues when we come to compare local versions to it later. To get around this, we only compare the values that are necessary for us to determine whether or not to update.

https://github.com/kubernetes-sigs/kubebuilder/issues/592