Kubernetes

  • |

    Kubernetes WebUI

    Overview Steps to enable Web UI for Kubernetes Apply Yaml File Url kubectl apply {dashboard_yaml_url} Go to the site https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/ and get the URL to apply : Get token to Login locally kubectl describe secret -n kube-system Above command will return a whole lot of tokens. Get the service-account-token from it. Create Proxy Now enter…

  • Kubernetes Commands

    Overview To understand basic Kubernetes commands Commands Version kubectl version Cluster Info kubectl cluster –info Get All info about Pods, Deployments Services etc kubectl get all kubectl get services kubectl get pods $ kubectl get deployments –show-labels Create a deployment kubectl run {pod-name} –image={image-name} Port Forward kubectl port-forward {pod-name} {external-port:internal-port} Port Expose kubectl expose Create…