Latest Article

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)

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

This post will show you how to create and use our own SSL / TLS Certificate for our applications on kubernetes ingress controller. So that our users will be able to access our application over https.

You must have running applications on kubernetes cluster with ingress controller.

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="ITuAnm3d-UI" height="315" width="560" /]

Lets get started.

Create a Self Signed Certificate:
lets say i want to create a certificate for the domain knote.learnitguide.com.
Use openssl command to create a Self Signed SSL / TLS Certificate.
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -out knote-ingress-tls.crt -keyout knote-ingress-tls.key -subj "/CN=knote.learnitguide.com/O=knote-ingress-tls"
Our self signed certificate is created under the local directory.

Create a Secret:
Use kubectl create secret command to create the secret.
kubectl create secret tls knote-ingress-tls --namespace default --key knote-ingress-tls.key --cert knote-ingress-tls.crt
You can use kubectl get secret command to list out the existing secrets.
kubectl get secret
Make sure the secret we have created is available.
[ads-post]
Edit your ingress rule to specify the certificate:
Add a section for tls under spec. Define the list of host which al are going to use this particular certificate. Finally the specify the secretname with secretName option.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: example-ingress
  annotations:
    ingress.kubernetes.io/rewrite-target: /
spec:
 tls:  - hosts:     - knote.learnitguide.com    secretName: knote-ingress-tls rules:
- host: knote.learnitguide.com
    http:
      paths:
      - backend:
          serviceName: knote
          servicePort: 80
This is how we have to use the certificate for our applications.

Save and exit the ingress file. Apply the changes
kubectl apply -f ingressfile.yaml

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

Hope you have got an idea how to create and use our own SSL / TLS Certificate for our ingress controller.

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: kubernetes ingress, kubernetes, kubernetes tutorial, kubernetes ingress controller, kubernetes ingress tls, kubectl create secret tls, setup ssl tls certificate on ingress, ingress with tls, setup ingress with tls, ssl certificate kubernetes, ssl cert kubernetes, nginx ssl certificate kubernetes, add ssl certificate to kubernetes, create self signed certificate kubernetes, kubernetes create ssl certificate, use tls certificate for ingress, https with self signed certificate, k8s


Contact Form

Name

Email *

Message *

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