You are on page 1of 2

(Amit Kumar Das, Raghunath Sahay, Tanvi P, Pallavi G, Rohit R, Abhishek Tiwari, Sameer Mulay, Anoop

Gadewar, Nishant Palia) d19469

How to Login into cluster?

- trainee1-m1.soltstgroupsgs.sashq-d.openstack.sas.com

- export KUBECONFIG=/files/set1/admin.conf

- kubectl get nodes

How to check the name space?

- kubectl get namespaces --show-labels

How to get the all service details?

- kubectl -n <namespace> get services

How to Get all pod details?

- kubectl -n <namespace> get pods

How to get specific pod details?

- kubectl -n <namespace> describe pod <pod name>

How to get Logs?

- kubectl -n <namespace> logs <pod name>

How to login into UI?

- http://<namespace>.ingress-nginx.<cluster_master_servername>/SASStudio

How to Scale

- kubectl -n <namespace> get deployment

- kubectl -n <namespace> scale --replicas=2 deployment/<deployment Name>

- kubestl -n <namespace> get pod | grep <deployment

You might also like