Hi - following the ECK on k8s guide for 8.5 on Azure, I performed the following steps:
- Created AKS via Azr portal
- Using the azure command interface, ran the kubectl command to apply the crds.yaml
- Downloaded the operator.yaml file and changed the namespace name to my namespace (per the instructions to not use "elastic-search" or "default"); ran kubectl command to apply the operator.yaml; verified logs worked.
- created a "deploy-elastic.yaml" file with the contents shown on this page Deploy an Elasticsearch cluster | Elastic Cloud on Kubernetes [2.5] | Elastic; applied that file
then got this error:
error: error validating "elastic_depoly.yaml": error validating data: [ValidationError(Elasticsearch): unknown field "allowVolumeExpansion" in co.elastic.k8s.elasticsearch.v1.Elasticsearch, ValidationError(Elasticsearch): unknown field "mountOptions" in co.elastic.k8s.elasticsearch.v1.Elasticsearch, ValidationError(Elasticsearch): unknown field "parameters" in co.elastic.k8s.elasticsearch.v1.Elasticsearch, ValidationError(Elasticsearch): unknown field "reclaimPolicy" in co.elastic.k8s.elasticsearch.v1.Elasticsearch]; if you choose to ignore these errors, turn validation off with --validate=false
I've sorted out that it does have something to do with the webhooks config. Any ideas on what I need to do to resolve this?