<p>I am doing deployment and I have drafted a YAML manifest file from a reference docker-compose file. After it has been extracted on VScode, I have to upload it to the cluster on Google Cloud Platform, please how do I do that? What is the process of moving those files to google cloud k8s using pulumi.</p>
<p>Many thanks.</p>

Sam Bayo
<p>If I'm understanding your question correctly, you have some Kubernetes resources that you want to deploy into your Google Kubernetes Engine Cluster?</p>
<p>If so, you can use Pulumi's Kubernetes provider to deploy Kubernetes YAML files to your cluster.</p>
<p>Here's an example in Python:</p>
<pre><code>import pulumi
import pulumi_kubernetes as k8s

# Create resources from standard Kubernetes guestbook YAML example.
guestbook = k8s.yaml.ConfigFile('guestbook', 'guestbook-all-in-one.yaml')

# Export the private cluster IP address of the frontend.
frontend = guestbook.get_resource('v1/Service', 'frontend')
pulumi.export('private_ip', frontend.spec['cluster_ip'])
</code></pre>
<p>The example above assumes you have a <code>KUBECONFIG</code> environment variable set in your terminal with appropriate credentials and access to your GKE cluster.</p>
<p>You can see more details and examples (in other languages too) at <a href="https://www.pulumi.com/docs/guides/adopting/from_kubernetes/" rel="nofollow noreferrer">https://www.pulumi.com/docs/guides/adopting/from_kubernetes/</a>.</p>
