kubectl -n <namespace> apply -f <file>
kubectl -n <namespace> get <resource>
kubectl -n <namespace> delete <resource>
kubectl -n gofrendiasgard apply -f mypod.yaml
kubectl -n gofrendiasgard get pods
Accessing pod without using service
kubectl port-forward pod/nginx 3000:80
kubectl -n gofrendiasgard apply -f myreplicaset.yaml
kubectl -n gofrendiasgard get replicasets
kubectl -n gofrendiasgard get pods
kubectl -n gofrendiasgard apply -f mydeployment.yaml
kubectl -n gofrendiasgard get deployments
kubectl -n gofrendiasgard get replicasets
kubectl -n gofrendiasgard get pods
kubectl -n gofrendiasgard apply -f myservice.yaml
kubectl port-forward service/my-service 3000:80