Latest Article

This post will guide you how to install kubernetes dashboard.

What is Kubernetes Dashboard?

Kubernetes Dashboard is a web-based Kubernetes user interface (Web UI) through which you can deploy your containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources like scaling a Deployment, initiating rolling update, restarting pods and many more.

If you are new to kubernetes and want to learn about kubernetes from basics, Refer the below links and also you can checkout all tutorial videos for free on YouTube and do subscribe for more free videos.

What is Kubernetes - Learn Kubernetes from Basics
How to Install Kubernetes on Linux (RedHat / CentOS)
How to Install Kubernetes On Ubuntu 16.04 LTS
How to Create Kubernetes Deployment, Services & Pods Using Kubectl
How to Create Kubernetes YAML for Deployment, Service & Pods
Kubernetes Volumes Explained with Examples
Kubernetes Persistent Volumes and Claims Explained

Also You can Watch this Entire Tutorial video with more examples on our YouTube Channel. Make use of it.
[youtube src="CICS57XbS9A" height="315" width="560" /]

Install Kubernetes Dashboard
Kubernetes stored their recommended yaml files in github repository. Use kubectl command to deploy the kubernetes dashboard as below. 
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
By the time when we install, it has the version v2.0.0. If the version is not working or if you want to install the latest version of dashboard, checkout this repo and just replace the version. Once the above command is executed, it will create the required kubernetes resources for the dashboard as shown in the below image.



[ads-post]

How to Access Kubernetes Dashboard?
Use Kubectl proxy command, when you want to access the kubernetes dashboard only when needed and also dont want to expose the dashboard service outside the cluster. But this Dashboard can be accessed only from the node where the command is executed.
kubectl proxy
But when you want to access your kubernetes dashboard from outside the cluster then we must expose the service using LoadBalancer or NodePort type. Since default service type is Cluster IP.


My kubernetes cluster environment is on AWS EKS, so i have changed my kubernetes dashboard service type to LoadBalancer. so that dashboard can be accessed from outside the cluster.
kubectl -n kubernetes-dashboard edit svc kubernetes-dashboard
Find the service type and change from ClusterIP to LoadBalancer, save and exit from the file.

Make sure the service type changed to LoadBalancer.
kubectl -n kubernetes-dashboard get svc
Get the ELB address from the output.


You can access your dashboard from any browser using the ELB address you have got.

How to get Login Credentials to access Kubernetes Dashboard?
There are two ways you can login into the dashboard. 
1. Kubeconfig
2. Token

let me use token method, that is the recommended login method. For that we need to create cluster admin service account.
kubectl create serviceaccount dashboard -n default
Above command creates a service account in default namespace
kubectl create clusterrolebinding dashboard-admin -n default  --clusterrole=cluster-admin  --serviceaccount=default:dashboard
It Adds the cluster binding rules to your dashboard account that was created in default namespace.
kubectl get secret $(kubectl get serviceaccount dashboard -o jsonpath="{.secrets[0].name}") -o jsonpath="{.data.token}" | base64 --decode
Copy the secret token from the output and enter it in the dashboard. you will be signed into the kubernetes dashboard.


Watch this tutorial demo video on our YouTube Channel. Make use of it.
[youtube src="CICS57XbS9A" height="315" width="560" /]


Incoming searches: kubernetes dashboard,deploy kubernetes dashboard,how to deploy kubernetes dashboard,setup kubernetes dashboard,access kubernetes dashboard,kubernetes dashboard setup,kubernetes dashboard tutorial,kubernetes dashboard in aws,kubernetes dashboard external access,kubernetes dashboard overview,kubernetes dashboard explained,kubernetes dashboard eks,kubernetes dashboard deployment,kubernetes dashboard install,kubernetes,how to install kubernetes dashboard

Create EKS Cluster on AWS using Eksctl

This post will guide you how to create EKS Cluster on AWS using Eksctl Command, so that you can have your kubernetes environment on AWS Cloud. In the previous post, i have shown you the same kubernetes cluster creation on AWS using AWS Management Console.

If you are new to kubernetes and want to learn about kubernetes from basics, Refer the below links and also you can checkout all tutorial videos for free on YouTube and do subscribe for more free videos.

What is Kubernetes - Learn Kubernetes from Basics
How to Install Kubernetes on Linux (RedHat / CentOS)
How to Install Kubernetes On Ubuntu 16.04 LTS
How to Create Kubernetes Deployment, Services & Pods Using Kubectl
How to Create Kubernetes YAML for Deployment, Service & Pods
Kubernetes Volumes Explained with Examples
Kubernetes Persistent Volumes and Claims Explained


Also You can Watch this Entire Tutorial video with more examples on our YouTube Channel. Make use of it.
[youtube src="QXzYIKZxxHc" height="315" width="560" /]


Lets get started.

Prerequisites:
  • AWS CLI Access with Admin Privileges.
  • One Instance (AWS Cli must have installed)
  • SSH Key (Optional)
Steps Involved:
Step 1: Install Eksctl and Kubectl utility
curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin
eksctl version

 

curl -o kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.17.7/2020-07-08/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin
kubectl version --short --client

Step 2: Create EKS Cluster using Eksctl utility
eksctl create cluster \
--name eks-cluster-demo \
--version 1.15 \
--region us-west-1 \
--nodegroup-name eks-worker-nodes \
--node-type t3.medium \
--nodes 2 \
--nodes-min 2 \
--nodes-max 4 \
--ssh-access \
--ssh-public-key selvakey.pub \
--managed
Step 3: Deploying Demo Application.
Get our Demo Application from GitHub repository
git clone https://github.com/learnitguide/kubernetes-knote.git


Also You can Watch this Entire Tutorial video with more examples on our YouTube Channel. Make use of it.
[youtube src="QXzYIKZxxHc" height="315" width="560" /]


Incoming searches: aws eks cluster, create eks cluster on aws, install kubernetes on aws, aws eks cluster setup, aws eks cluster setup using eksctl, create kubernetes cluster on aws, kubernetes tutorial, kubernetes tutorial for beginners, aws eks tutorial, aws tutorial, aws kubernetes tutorial

Create EKS Cluster on AWS using Console

This post will guide you how to create EKS Cluster on AWS using AWS Management Console, so that you can have your kubernetes environment on AWS Cloud.

If you are new to kubernetes and want to learn about kubernetes from basics, Refer the below links and also you can checkout all tutorial videos for free on YouTube and do subscribe for more free videos.

What is Kubernetes - Learn Kubernetes from Basics
How to Install Kubernetes on Linux (RedHat / CentOS)
How to Install Kubernetes On Ubuntu 16.04 LTS
How to Create Kubernetes Deployment, Services & Pods Using Kubectl
How to Create Kubernetes YAML for Deployment, Service & Pods
Kubernetes Volumes Explained with Examples
Kubernetes Persistent Volumes and Claims Explained

Also You can Watch this Entire Tutorial video with more examples on our YouTube Channel. Make use of it.
[youtube src="aZd0UolVwD4" height="315" width="560" /]


Lets get started.

Prerequisites:
  • AWS Account with Admin Privileges
  • AWS Cli Access to use Kubectl utility
  • Instance (To manage cluster by using Kubectl)


[ads-post]
Steps Involved:
Step 1: Create IAM role for EKS Cluster
Step 2: Create Dedicated VPC for the EKS Cluster
Step 3: Create EKS Cluster
Step 4: Install & Setup IAM Authenticator and Kubectl Utility
Step 5: Create IAM Role for EKS Worker Nodes
Step 6: Create Worker nodes
Step 7: Deploying Demo Application


Also You can Watch this Entire Tutorial video with more examples on our YouTube Channel. Make use of it.
[youtube src="aZd0UolVwD4" height="315" width="560" /]


Also refer below related articles and checkout all tutorial videos for free on youtube.

What is Kubernetes - Learn Kubernetes from Basics
How to Install Kubernetes on Linux (RedHat / CentOS)
How to Install Kubernetes On Ubuntu 16.04 LTS
How to Create Kubernetes Deployment, Services & Pods Using Kubectl
How to Create Kubernetes YAML for Deployment, Service & Pods
Kubernetes Volumes Explained with Examples
Kubernetes Persistent Volumes and Claims Explained

Keep practicing and have fun. Leave your comments if any.
Support Us: Share with your friends and groups.

Stay connected with us on social networking sites, Thank you.
YouTube | Facebook | Twitter | Pinterest | Rss
Incoming searches: aws eks cluster, create eks cluster on aws, install kubernetes on aws, aws eks cluster setup, aws eks cluster setup using console, create kubernetes cluster on aws, kubernetes tutorial, kubernetes tutorial for beginners, aws eks tutorial, aws tutorial, aws kubernetes tutorial

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget