GKE uses Kubernetes objects to create and manage your cluster's resources. Kubernetes provides the Deployment object for deploying stateless applications like web servers. Service objects define rules and load balancing for accessing your application from the internet. I have attached one hello-app example below.
$ kubectl create deployment hello-server --image=gcr.io/google-samples/hello-app:1.0