• kubectl run <name> --image=<docker_image> - Run new pod from specified docker image
  • kubectl describe pods - Get detailed information about pods
  • kubectl describe services - Get detailed information about services (endpoints, etc.)
  • kubectl get pods - List pods (private)
  • kubectl get services - List services (public)
  • kubectl edit deployment <metadata_name>
  • kubectl logs <pod_name>

service.yaml Service will be accessible to public.

spec:
    type: LoadBalancer

Service will be accessible to other services.

spec:
    type: ClusterIP
Kubernetes commands
Kubernetes commands

Kubernetes simplified


Comments

Only logged in members are able to comment on post.