<p>I wanted to give a try to GCP's Anthos On-Premise GKE offering. </p>

<p>For sake of my demo I setup a Kubernetes cluster in GCP itself using Google Compute Engine following instructions from (<a href="https://kubernetes.io/docs/setup/production-environment/turnkey/gce/" rel="nofollow noreferrer">https://kubernetes.io/docs/setup/production-environment/turnkey/gce/</a>)</p>

<p><a href="https://i.stack.imgur.com/9LHg5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9LHg5.png" alt="enter image description here"></a></p>

<p>After this I followed Anthos documentation to register my cluster to Anthos. I was able to register the cluster and Login into it using both Token based and Basic authentication based mechanisms.</p>

<p><a href="https://i.stack.imgur.com/jLARI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jLARI.png" alt="enter image description here"></a></p>

<p>Now when I try to deploy anything from GCP console, I get following error</p>

<p><a href="https://i.stack.imgur.com/pRMA7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pRMA7.png" alt="enter image description here"></a></p>

<p>But the deployment succeeds, I can see deployment and associated pods in Running state on my cluster.</p>

<p><a href="https://i.stack.imgur.com/mIjZW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mIjZW.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/3Y38L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Y38L.png" alt="enter image description here"></a></p>

<p>Also when I try to deploy using Marketplace I get following error.</p>

<p><a href="https://i.stack.imgur.com/NIkdW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NIkdW.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/d3Dt6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d3Dt6.png" alt="enter image description here"></a></p>

<p>I wish to know if it is a bug in Anthos or my cluster has some missing configurations ? </p>

kaysush
<p>You're not running Anthos GKE On-Prem, you're running open-source Kubernetes on Google Cloud. Things designed for Anthos - the marketplace and connecting clusters to Cloud Console - are <strong>not supposed to work</strong> in your setup. The fact that they mostly work despite that is an accident (and a testament to the portability and compatibility of Kubernetes).</p>

<p>To get Cloud Console integration and use the marketplace, you need to use either <a href="https://cloud.google.com/anthos/gke/" rel="nofollow noreferrer">Anthos GKE On-Prem</a> that runs on VMWare or regular <a href="https://cloud.google.com/kubernetes-engine/" rel="nofollow noreferrer">GKE</a>.</p>
