Hi, It seems that you can't find the FlinkDeployment. I saw the api server address is maskedip. Can you confirm whether it is the correct api server address?
Best, Yuan On Thu, 23 Jun 2022 at 11:52 AM, Kishore Pola <kishore.p...@hotmail.com> wrote: > 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. >