microsoft / microsoft/sql-server-samples
Unable to use Kubernetes Operator on k8s 1.16
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 11.2k
- Forks
- 9.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 14
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with samples/features/high availability/Kubernetes/sample-manifest-files/*.yaml and reproduce the operator pod error on Kubernetes 1.16. Trace the StatefulSet creation used by the operator and compare its requested resource with the APIs available in that Kubernetes version. Done means the samples deploy without the "server could not find the requested resource" error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100