kubectl run <name> --image=<docker_image>
- Run new pod from specified docker imagekubectl describe pods
- Get detailed information about podskubectl 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 simplified
Only logged in members are able to comment on post.