microsoft / sql-server-samples

Azure Data SQL Samples - Official Microsoft GitHub Repository containing code samples for SQL Server, Azure SQL, Azure Synapse, and Azure SQL Edge
Other
9.99k stars 8.86k forks source link

Unable to use Kubernetes Operator on k8s 1.16 #674

Open Bfoster-melrok opened 4 years ago

Bfoster-melrok commented 4 years ago

after trying to deploy samples/features/high availability/Kubernetes/sample-manifest-files/*.yaml on k8s version 1.16 I get this error from the operator pod:

[sqlservers] 2019/11/04 23:11:41 agLabelsToAdd: [ag-service.mssql.microsoft.com/ag1] [sqlservers] ERROR: 2019/11/04 23:11:41 could not process update request: could not create stateful set: the server could not find the requested resource

I think this is likely due to api deprecations in k8 1.16. StatefulSets moved to app/v1. Is there a repo for this operator container?

ricoisme commented 4 years ago

I got the same issue too.

k8s version 1.16.3

rexhsu0624 commented 4 years ago

Is this issue still not solved yet ? k8s version 1.17.3

ewongy commented 4 years ago

Same issue here. Tried with v1.18.0 and v1.17.0