Hello flink user group, When I am trying to create a flink deployment with the operator programmatically, kubernetes cluster is returning HTTP 404 message. Any pointers/help? I am constructing the context using fabric8 client like this
Config config = new ConfigBuilder() .withMasterUrl(masterUrl) .withTrustCerts(true) .withDisableHostnameVerification(true) .build(); this.client = new DefaultKubernetesClient(config); this.flinkCrdContext = new ResourceDefinitionContext .Builder() .withGroup("flink.apache.org") .withVersion(OPERATOR_API_VERSION) .withPlural("flinkdeployments") .withNamespaced(true) .withKind("FlinkDeployment") .build(); io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://maskedip/apis/flink.apache.org/v1beta1/namespaces/default/flinkdeployments. Message: Not Found.