cockroach-operator icon indicating copy to clipboard operation
cockroach-operator copied to clipboard

resource crdbclusters/cockroachdb is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply

Open tbg opened this issue 4 years ago • 1 comments

After changing nodes from 3 to 5 and following the example in the README:

tobias@td:~/go/src/github.com/cockroachdb/cockroach$ minikube kubectl -- apply -f example.yaml 
Warning: resource crdbclusters/cockroachdb is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically.
crdbcluster.crdb.cockroachlabs.com/cockroachdb configured

tbg avatar Feb 02 '21 14:02 tbg

@tbg , it appears this is likely related to minikube. We're not supporting that right now.

johnrk-zz avatar Feb 04 '21 18:02 johnrk-zz