Cookie Consent by Free Privacy Policy Generator ๐Ÿ“Œ Learn How to Deploy NGINX on Kubernetes Using Helm Chart

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š Learn How to Deploy NGINX on Kubernetes Using Helm Chart


๐Ÿ’ก Newskategorie: Programmierung
๐Ÿ”— Quelle: dev.to

Deploying NGINX on Kubernetes using the Bitnami Helm Chart simplifies the deployment of the popular web server on a Kubernetes cluster. The Bitnami NGINX Helm Chart includes a single replica deployment of NGINX and a service to expose it to other Kubernetes resources. By using the Bitnami Helm Chart, you don't need to worry about configuring NGINX from scratch, and you can take advantage of the additional features and security patches provided by Bitnami. After installing the Helm chart, you can create Kubernetes ingress resources to route traffic to your services and take advantage of NGINX's capabilities as a reverse proxy and load balancer. Overall, using the Bitnami Helm Chart can help you deploy NGINX on Kubernetes more quickly and with less configuration.

In this tutorial, I'll show you how to deploy the NGINX helm chart on Kubernetes using a CD tool.

Prerequisites

Tutorial

To deploy the Bitnami NGINX Helm chart, you need a continuous delivery platform, and we are making use of a best-in-class tool, Harness.

Signup to Harness and login to your account.
Signup to Harness CD

Next, create a project
project creation

Add details for the project, name it as per your wish.
name project

Invite collaborators if you want to your CD project.
Invite collaborators

Select the Continuous Delivery module for the project.
cd module

Start your CD journey from here
CD journey

Select your deployment type and click on other deployment types. [We are focused on Helm deployment]
deployment type

Start creating a pipeline for your project.
pipeline

Add details of the pipeline
pipeline details

Select 'Deploy' as stage
deploy

Select the deployment type as Native Helm
native helm

Create a service for the project
service details

adding service

Add manifest details, select Helm Chart
manifest details

Select HTTP Helm
Helm chart store

Specify the Helm chart store
Helm store details update

Create a new HTTP Helm Repo Connector
HTTP Helm Repo Connector

Add the Helm repo connector details
repo connector details

Connect the Helm repo with the Harness Delegate.
connect with Harness delegate

So, what is Harness Delegate?
A Delegate is a service that runs on your infrastructure to execute tasks on behalf of the Harness platform.

Now, you need to install this Harness Delegate on your Kubernetes cluster.

Make sure you have a cluster access from any cloud provider.
Nothing to worry about if you don't have access to any cluster access. We will make use of Minikube.

Install Minikube on your local machine by following this link.

Once the installation is complete, start the Minikube cluster with the following command.

minikube start

You should see a successful output as shown below,
minikube started

It is time to install our Harness Delegate
Delegate setup

Run the commands as shown in the installation process
delegate installation process

Once done, verify if the Delegate has been installed successfully.
delegate successful

Let's go back to the steps where we stopped previously (before installing the Harness Delegate).
Now you should see the Delegate we just installed. Select the same and continue.
see delegate

You should see a successful connection between the helm repo and our Delegate.
delegate connection successful

Next, add the manifest details as shown
add manifest details

You should see the manifest details we added
manifest details added

You should see the service added; click continue.
service added

Add new environment as pre-prod
add environment

preprod environment

Similarly, add a new infrastructure
add a new infrastructure

Select 'Kubernetes' here.
adding infra

Under cluster details, select the connector and add the cluster details.
infra details for kube

Let's connect our infrastructure with our Delegate.
infrastructure with our Delegate

connection of infra

Make sure the connection is successful
success with connection

You should see the cluster details and connector in the infrastructure
cluster details

You should see the infrastructure we just added.
Kube infra added now

Click continue and you will go to the execution step where we should select the deployment type. We will select 'Rolling'.
select the deployment type

Finally, this is how our Helm chart deployment looks like.
Helm chart deployment

Save the pipeline and run it.
Save the pipeline

You should see a successful execution of all the steps.
successful execution

Let's get to the console view for more clarity.
Harness console view

Let's verify if the NGINX deployment is done properly using the command

kubectl get deployment

You should see the following output
nginx deployment status

Let's expose the deployed NGINX to the outside world and see if we can access it.
nginx local

As you can see, the external IP is pending.

We can expose the external IP using the below minikube command

minikube tunnel

You should see the following output
minikube tunnel

Now, open a new terminal window and run the following command

kubectl get service

You should see the external IP now.
service exposure

We can access the NGINX using the externalip:port

nginx service on local

Congratulations! We successfully deployed an NGINX helm chart on Kubernetes using Harness CD module.

This way, you can easily deploy any of the Helm charts listed here on Kubernetes using the Harness Continuous Delivery module.

...



๐Ÿ“Œ Learn How to Deploy NGINX on Kubernetes Using Helm Chart


๐Ÿ“ˆ 78.71 Punkte

๐Ÿ“Œ Master Helm, Chart the Kubernetes Seas ๐ŸŒŠ๐Ÿงญ๐Ÿดโ€โ˜ ๏ธ


๐Ÿ“ˆ 41.29 Punkte

๐Ÿ“Œ Sumo Logic launches HELM Chart V4 to unify data collection on Kubernetes clusters


๐Ÿ“ˆ 41.29 Punkte

๐Ÿ“Œ Use Helm Charts from Windows Client Machine to Deploy SQL Server 2019 Containers on Kubernetes | Data Exposed


๐Ÿ“ˆ 37.03 Punkte

๐Ÿ“Œ Use Helm Charts from Windows Client Machine to Deploy SQL Server 2019 Containers on Kubernetes | DE


๐Ÿ“ˆ 37.03 Punkte

๐Ÿ“Œ Deploy MongoDB on Kubernetes with ArgoCD and Helm charts


๐Ÿ“ˆ 37.03 Punkte

๐Ÿ“Œ Automating EKS Deployment and NGINX Setup Using Helm with AWS CDK in Python


๐Ÿ“ˆ 34.65 Punkte

๐Ÿ“Œ Learn Live - Deploy applications consistently at scale on AKS or Arc-enabled Kubernetes using GitOps


๐Ÿ“ˆ 33.75 Punkte

๐Ÿ“Œ Deploy Rancher on AWS EKS using Terraform & Helm Charts


๐Ÿ“ˆ 33.21 Punkte

๐Ÿ“Œ Deploy Rancher on Azure AKS using Azure Cli & Helm Charts


๐Ÿ“ˆ 33.21 Punkte

๐Ÿ“Œ How to Deploy Wordpress to Amazon EKS using Helm


๐Ÿ“ˆ 33.21 Punkte

๐Ÿ“Œ CyberArk Conjur OSS Helm Chart up to 1.x Role-Based Access Control access control


๐Ÿ“ˆ 32.4 Punkte

๐Ÿ“Œ Create Your First Helm Chart (Part 03)


๐Ÿ“ˆ 32.4 Punkte

๐Ÿ“Œ CVE-2023-0518 | GitLab Community Edition/Enterprise Edition Helm Chart unrestricted upload (ID 383082)


๐Ÿ“ˆ 32.4 Punkte

๐Ÿ“Œ CVE-2019-18658 | Helm up to 2.15.1 Chart link following


๐Ÿ“ˆ 32.4 Punkte

๐Ÿ“Œ High CVE-2020-4062: Cyberark Conjur oss helm chart


๐Ÿ“ˆ 32.4 Punkte

๐Ÿ“Œ GitLab as Helm Chart Registry With GitLab CI


๐Ÿ“ˆ 32.4 Punkte

๐Ÿ“Œ PMM V2.35: Label-based Access Control, General Availability of Helm Chart, and More!


๐Ÿ“ˆ 32.4 Punkte

๐Ÿ“Œ Streamlining Microservices Management: A Unified Helm Chart Approach


๐Ÿ“ˆ 32.4 Punkte

๐Ÿ“Œ Level up your secrets management in Kubernetes using AWS Secret Manager and Helm


๐Ÿ“ˆ 30.98 Punkte

๐Ÿ“Œ Low CVE-2020-15944: Gantt-chart project Gantt-chart


๐Ÿ“ˆ 30.77 Punkte

๐Ÿ“Œ Medium CVE-2020-15943: Gantt-chart project Gantt-chart


๐Ÿ“ˆ 30.77 Punkte

๐Ÿ“Œ How to use Chart.js to create a Chart for Your Project


๐Ÿ“ˆ 30.77 Punkte

๐Ÿ“Œ NGINX Usage Reporting using NGINX Agent


๐Ÿ“ˆ 30.19 Punkte

๐Ÿ“Œ How to Deploy a Next.js Application to a VPS Using NGINX and PM2


๐Ÿ“ˆ 28.76 Punkte

๐Ÿ“Œ Deploy your React App using Docker and Nginx


๐Ÿ“ˆ 28.76 Punkte

๐Ÿ“Œ Deploy Django Web App with SSL on VPS using Nginx & Gunicorn


๐Ÿ“ˆ 28.76 Punkte

๐Ÿ“Œ How to Deploy Helm Charts with Argo CD


๐Ÿ“ˆ 28.13 Punkte

๐Ÿ“Œ Deploy Percona Monitoring and Management on Amazon EKS With eksctl and Helm


๐Ÿ“ˆ 28.13 Punkte

๐Ÿ“Œ Die Werkzeugkiste #1: Helm โ€“ Kubernetes-Deployments richtig gemacht


๐Ÿ“ˆ 25.91 Punkte

๐Ÿ“Œ Azure Friday Live - Helm 3: Distributed app package management for Kubernetes | Azure Friday


๐Ÿ“ˆ 25.91 Punkte

๐Ÿ“Œ Azure Friday Live - Helm 3: Distributed app package management for Kubernetes | Azure Friday


๐Ÿ“ˆ 25.91 Punkte

๐Ÿ“Œ Kubernetes-Paketmanager: Helm 3 verzichtet auf Tiller


๐Ÿ“ˆ 25.91 Punkte

๐Ÿ“Œ Container-Orchestrierung: Kubernetes-Packagemanager Helm im CNCF-Graduiertenstatus


๐Ÿ“ˆ 25.91 Punkte











matomo