| String | API Object |
|---|---|
| "pods" | Pod |
| "services | Service |
| "replicationcontrollers" | ReplicationController |
| "resourcequotas" | ResourceQuota |
| "secrets" | Secret |
| "configmaps" | ConfigMap |
| "persistentvolumeclaims" | PersistentVolumeClaim |
| "services.nodeports" | Service of type NodePort |
| "services.loadbalancers" | Service of type LoadBalancer |
+ kubectl apply -f frontend-service.yaml
+
+ {% include code.html language="yaml" file="guestbook/frontend-service.yaml" ghlink="/docs/tutorials/stateless-application/guestbook/frontend-service.yaml" %}
-If you are more advanced in the ops arena, you can also manually get the service IP from looking at the output of `kubectl get pods,services`, and modify your firewall using standard tools and services (firewalld, iptables, selinux) which you are already familiar with.
+2. Query the list of Services to verify that the frontend Service is running:
-#### Google Compute Engine External Load Balancer Specifics
+ kubectl get services
-In Google Compute Engine, Kubernetes automatically creates forwarding rules for services with `LoadBalancer`.
+ The response should be similar to this:
-You can list the forwarding rules like this (the forwarding rule also indicates the external IP):
+ NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
+ frontend 10.0.0.112